RPGLE Questions


Find if a spool file exists
Using RPG, how to find if a spool file exists. I would like to pass spool file name and job details as parameters to RPG program.

Answer Question   |  April 30, 2007  11:23 PM
RPGLE
asked by:
0 pts.

In RPG program
Hi, In RPG program i declared files. One for reading and another for Updating. Both the files are in different Library lists. How do i achieve this???? Thanks in Advance Rama krishna

Answer Question   |  January 18, 2010  1:30 PM
Application development, AS/400, Backup & recovery, CLP, RPG, RPGLE
asked by:
0 pts.

Error in a Group of Called Programs
Hi, I have a CL program, it calls 10 other programs i.e. pgmA, pgmB, pgmC…….so on…10 programs. While running the CL program error occurred in pgmC. I rectified that error. After rectification once again I will run the CL Program. Now my execution must start from pgmC. How do i do this??? Thanks in Advance, [...]

Answer Question   |  April 26, 2007  12:16 PM
Application development, AS/400, Backup & recovery, CLP, DB2 Universal Database, RPG, RPGLE
asked by:
0 pts.

Impact analysis
Hi, The user requested me to change the field length from 25 to 30 char. I want to do impact analysis on this. How do i proceed?? Thanks, Rama Krishna

Answer Question   |  January 12, 2010  8:40 AM
Application development, AS/400, Backup & recovery, CLP, RPG, RPGLE
asked by:
0 pts.

Calling RPG program without Parameters
1) I have an RPG PGM ‘A’ which call’s another RPG PGM ‘B’. PGM ‘B’ accepts 3 parameters. But i need to call PGM ‘B’ without passing parameters. How to achieve this??? 2) I have an RPG PGM ‘A’ which call’s another RPG PGM ‘B’. PGM ‘B’ doesnot accept parameters. But i need to call [...]

Answer Question   |  January 12, 2010  4:48 AM
Application development, AS/400, CLP, RPG, RPGLE
asked by:
0 pts.

ALDON
Hi, I would like to know…Is it possible to checkout the same object by 2 developers?? If yes then…………. How ALDON maintains Multiple Checkouts of the same object???? Thanks, Rama Krishna

Answer Question   |  April 28, 2011  7:24 AM
Application development, AS/400, DataCenter, RPG, RPGLE, Security
asked by:
0 pts.

Service Program, Activation Group
Hi Everybody, Could anyone from this group help in understanding the Importance of….Service Program, Binding Directory and Activation Group’s with ssome practical Example. Thanks, Rama Krishna

Answer Question   |  April 16, 2007  7:21 AM
AS/400, CLP, DataCenter, RPG, RPGLE
asked by:
0 pts.

How to reset the password??
Hi, How to reset the password through a CL program. The user has forgotten his password, even ADMIN doesn’t know the password. Thanks, Rama krishna

Answer Question   |  January 29, 2010  8:29 AM
AS/400, Backup & recovery, CLP, RPG, RPGLE, Security
asked by:
0 pts.

Accessing the other users object.
Hi, I donot have authority to access another users object. I donot know the userid or password of that user. How to get access to it?? Thanks, rama krishna

Answer Question   |  January 8, 2010  5:53 AM
AS/400, Backup & recovery, DataCenter, RPG, RPGLE, Security
asked by:
0 pts.

Copying Spoolfiles
Hi, I would like to know, How to copy spoolfiles from one AS400 machine to another AS400 machine? Thanks in Advance Rama Krishna

Answer Question   |  January 8, 2010  5:41 AM
Application development, Backup & recovery, DataCenter, RPG, RPGLE, Security
asked by:
0 pts.

Updating a file on the basis of rrn
Hi All, The question is: Can we update a non keyed file on the basis of RRN retreived by the INFDS. FABC UF E DISK INFDS(DS1) D DS1 DS D RRNF 397 400I 0 If yes than how. If no than why. Thanks in advance

Answer Question   |  November 2, 2007  11:51 AM
RPGLE
asked by:
45 pts.

V5R3 to V5R4
my operating system was just upgraded from V5R3 to V5R4. All my cobol programs are compiled with *none commitment control and a target release of V5R3M0. However after upgrading the operating system while executing the programs -913 errors are being encountered. The same programs are getting executed fine on a separate box which still is [...]

Answer Question   |  January 8, 2010  12:52 PM
Application development, AS/400, CLP, DataCenter, DB2 Universal Database, Project management, RPG, RPGLE
asked by:
0 pts.

Batch or Interactive
Is there an easy way in RPGLE to determine if the program is running in batch or interactive, like you can in CL? Thanks…

Answer Question   |  September 26, 2007  11:34 AM
RPGLE
asked by:
0 pts.

Best way to do the DASD history capture…(Disk usage)
Dear team, i need to enhance our current system that captures the disk space uasge. i need to maintain the history over it. currently we do it by using DSPOBJD and DSPFD commands and write the details of all objects and files used in the whole system to the outfile.Hardly it takes more than 4 [...]

Answer Question   |  January 8, 2010  1:03 AM
Backup & recovery, CRM, DataCenter, RPGLE
asked by:
0 pts.

AS400 PRINTER FONTS
I have been asked to produce new printed output in the Helvetica style. I have looked high and low for the font codes to plug into the CRTPRTF cmd with no sucess. Where can I find a listing of these 2, 3 & 4 byte codes (ie 18, 82) We don’t have printed documentation on [...]

Answer Question   |  April 1, 2007  2:00 PM
Application development, AS/400, DataCenter, Printing, RPG, RPGLE
asked by:
0 pts.

Problems eliminating HEX 41 character.
I have a number of files on my DB2/400 database that have spaces with a Hex code of 41 instead of 40. This causes a problem when FTP’ing to a PC for integration with a barcode labeling application. Does anyone know how I can change this character to ANYTHING other than Space HEX 41 !! [...]

Answer Question   |  January 5, 2010  9:03 AM
Application development, AS/400, DB2 Universal Database, RPG, RPGLE
asked by:
65 pts.

Help in Decimal Data Error
hi , we have tow RPG code, where in 1 RPG say PGM A calls the other RPG PGMB. while calling PGM A passes a parameter to PGM B. the attributes of the parameters is supposed to be 2,0(Zoned), when we called the PGM B we faced a DECIMAL DATA ERROR. now the issue we [...]

Answer Question   |  January 4, 2010  6:03 AM
RPG, RPGLE
asked by:
0 pts.

Question on Workfile
Hi, Please could any one help me getting answers to these Questions…. What is the diff. between Workfile and PF? How do u create a WorkFile in RPG or CL. What are the advantages of WorkFile over PF? Thanks Rama

Answer Question   |  March 26, 2007  6:01 AM
AS/400, DataCenter, DB2 Universal Database, RPG, RPGLE
asked by:
0 pts.

Using indicators
Hi All, I have two problems. Please help 1) If in a RPGLE program. We have already used all the general purpose indicators. Then what are the ways so that we can maintain other extra indicators in the program. 2)How can we retreive the RRN number of a PF in a RPGLE program.Is there any [...]

Answer Question   |  January 4, 2010  7:19 AM
RPGLE
asked by:
45 pts.

Reading/Updating a PF on the basis of RRN
Hi All, Please tell me how can we read or update a PF on the basis of RRN. Thanks.

Answer Question   |  January 4, 2010  7:14 AM
RPGLE
asked by:
45 pts.