RPGLE Questions and Answers

Recent IT Questions

41 - 60 of 402

LIKE function in RPGLE

can i use like function instead of using subst.in rpgle Software/Hardware used: rgple

View Answer   |  Sep 5 2009  2:32 AM GMT
LIKE statement, RPGLE
asked by 204034

  5 pts.

Problem with & in RPGLE

I'm using XML-SAX in a RPGLE-program to read an XML-file which works pretty fine. Though, when I come to an entity with "Boys "&" Girls" (I added extra " in this example between the "&" just to make it visual)  i run into trouble. The handler does not seem to recognise anything after...

View Answer   |  Sep 4 2009  9:10 AM GMT
RPGLE, XML, XML-SAX
asked by RobeWist

  5 pts.

Stored Procedure

I've to use stored procedure in RPGLE program. my code is CallP     OESP_PORD_001(IPAT#:OPNXT#:PRJUK) I get error name or indicator not defined...i checked the library, parameters and everything are in place....Am I calling the SP with the right syntax? i tried to then change this whole using...

View Answer   |  Sep 3 2009  3:08 PM GMT
AS/400, RPGLE, AS/400 Library
asked by Nutangujar

  750 pts.

email from RPGLE with hyperlink

I need to imbed a hyperlink into the body of an email so the recipient merely clicks on the link to be routed to a report in Business Objects. Software/Hardware used: iseries rpgle

View Answer   |  Aug 26 2009  2:14 PM GMT
iSeries email, RPGLE
asked by Bill1720

  5 pts.

How can we know from which program my RPGLE program is called from.

Hi All, I have one RPGLE program (PROG1)is calling from 10 programs, I got one requirement i.e if my program PROG1 called from 10 different programs my program PROG1 should perform 10 different functionality in my PROG1. So if i want to write code for 10 different functionalities in PROG1, first...

View Answer   |  Aug 26 2009  9:41 AM GMT
AS/400, RPG ILE, RPGLE
asked by Mohan K

  470 pts.

Trigger program written in RPGLE

I have a trigger program that have 3 files declared in F-Specs (no UsrOpn keyword).  Everytime it ends, it sets the LR indicator on.  Does the trigger program slow down processing when the trigger file is updated in a batch program?  Should I remove the code that turns on the LR indicator? ...

View Answer   |  Aug 25 2009  4:20 PM GMT
RPGLE, AS/400 administration, AS/400 error messages
asked by Bogeybetsy

  325 pts.

SQL cursor question

hi, i've SQLRPGLe program in which i'm writing a cursor to select all records, order them by a field A (suppose employee number). And once all the rows fetched for an employee and printed, print the count at the bottom. Repeat this for all the subsequent employees.... i'm not sure how to...

View Answer   |  Aug 20 2009  2:24 PM GMT
SQL Cursors, SQL, RPGLE
asked by Nutangujar

  750 pts.

Scrolling Message in RPGLE

Does anyone know how to create a scolling message on the bottom of a display screen? I am programming on the AS400 in RPGLE

View Answer   |  Aug 18 2009  9:22 PM GMT
RPG, RPG ILE, RPG/400
asked by GHENDER

  50 pts.

Using SRCDBG with an SQLRPGLE module

I'm trying to debug a RPGLE module created with CRTSQLRPGI. The STRDBG program returns an error message stating the program "cannot be accessed". There is no DBGVIEW option on the CRTSQLRPGI command, so even if I get the debug to work. will I see any source data? Thanks. Software/Hardware used:...

View Answer   |  Aug 13 2009  6:32 PM GMT
SQLRPGLE, RPGLE, SQL
asked by Grp

  5 pts.

Constant day field in a date

How do we set the Day of a Date to '01' through out an RPGLE program?

View Answer   |  Aug 13 2009  8:55 AM GMT
RPGLE
asked by Susweta

  40 pts.

Get user id in CGI RPG program

Please, kindly advise on this issue I am having. Program is coded in RPG and is a CGI module. I tried to get user-id from program data structure, but this "UserID 254 263", but it shows QTMHHTTP, because this pgr runs on HTTP server. How else can I obtain real user-id of the user who is envoking...

View Answer   |  Aug 12 2009  6:31 PM GMT
RPGLE, Java, CGI
asked by Lenny2113

  115 pts.

To Check the junk Values in RPGLE character field

How to check the junk values in character filed except the If loop? All values that can be entered from keybord are accepetable in this field. Need to check any other characters (jucnk values) stored in this field.   Software/Hardware used: AS400

View Answer   |  Aug 12 2009  12:51 AM GMT
RPGLE Program, RPGLE
asked by Vipin2m

  45 pts.

Access to 'object in use' attribute of IFS object from QSYS RPGLE

If you open a document which is stored in the IFS with OpenOffice, examining the object with Navigator allows you to see the 'in Use' property - it says that there is 1 Netserver reference. Examining DSPLNK for the same object shows no such 'in use' attribute. How do I get to that attribute in...

View Answer   |  Aug 12 2009  12:46 AM GMT
IFS objects, IFS, QSYS
asked by Yorkshireman

  3200 pts.

USROPN file in SQLRPGLE

I have a SQLRPGLe program. Certain files are not available at client terminal depending upon the applications purchased by client. I have a common program called from all applications and hence i user open the files based on the application types. my confusion is if i refer a file directly in SQL...

View Answer   |  Aug 11 2009  7:37 PM GMT
RPGLE, SQL, USROPN
asked by Nutangujar

  750 pts.

Get user id within rpgle

How do I get the user id within /Free and send command to clear a workfile? Thanks!

View Answer   |  Jul 31 2009  1:09 PM GMT
RPGLE
asked by IBlearning

  20 pts.

comments in rpgile

How can i write my comments in colours ..... i have seen some code written by one of the indian company which has its comments with different colours like red,blue,white....

View Answer   |  Jul 24 2009  5:17 AM GMT
AS/400, RPGLE
asked by Rpgile

  20 pts.

Modify MS Access using iSeries RPGLE

I have to intergrate a third party product that uses an MS Access database with my AS/400 machine and be able to both update the Access data as well as read data from the Access database to use on the 400. Does anyone know how I can do this?

View Answer   |  Jul 16 2009  5:01 PM GMT
iSeries RPG programming, RPGLE, Microsoft Access
asked by Wkozerski

  20 pts.

file transfer via client access

Hi, in order to upload files from pc, i will usually write a FTP script in rpgle and trigger the FTP command in CLP to 'get' the file. due to security reason, FTP now is not allowed to use. May i know is there any way to upload pc file via client access with SCRIPT like FTP. THANKS.

View Answer   |  Jul 13 2009  4:43 PM GMT
RPGLE, FTP, CLP
asked by Boulevard

  55 pts.

SQL embedded in RPGLE

RPGLE program with five modules updating different set of files. Main module calls others each time a customer is being processed to change some specific detail in many files. There are many customers, so the modules are called many times (LR is set on only at the end of the whole process). Each...

View Answer   |  Jul 7 2009  7:20 AM GMT
SQL, RPGLE, performance
asked by Mawc

  5 pts.

Printing Physical File Records

I wanted to print the Records in Physical File with out using 1. RPGLE Program 2. Query I wanted to print the PF records using WRKMBRPDM and Option 6 Please help me to find the solution

View Answer   |  Jul 3 2009  8:13 AM GMT
AS/400 administration, Physical File, RPGLE
asked by Rajeshece

  480 pts.

41 - 60 of 402