RPG Questions


what are case tools in as400
hi , i m working on as400,rpgile, please tell me what are case tools, & how many types are they. please explane. thanks

Answer Question   |  August 7, 2008  4:50 AM
CASE tools, RPG, RPGILE
asked by:
310 pts.

how to initialize graphic character field
hi, I am facing problem while i am initializing my graphic character field with initial value in D spec below is code D Name S 20G VARYING INZ(G’oXXYYZZi’) can any one help me the above code giving me error while i am defining graphic character field

Answer Question   |  August 7, 2008  11:01 AM
D-Spec, RPG, RPGLE
asked by:
695 pts.

About Run Time Arrays
Hi, Can anyone help me how can i use Run time ARRAYS in RPGLE PROGRAM and give me some examples to load array with records from file,when i am trying to define file in ‘I’ spec it is giving me compile time error please can any one give complete program example to work with runtime [...]

Answer Question   |  August 4, 2008  5:41 AM
I-Spec, RPG, RPGLE, Runtime arrays
asked by:
695 pts.

Call RPGLE Program from RPG Program
I have an RPG program. In that program I want to CALL a RPGLE program and pass parameters to it. What I need to know is there some parameter in the compile that I need to do to do this? I get errors when I try to compile the RPG normally.

Answer Question   |  May 11, 2010  7:31 PM
Parameters, RPG, RPGLE
asked by:
5 pts.

Query Xref to file
The other day I added a field to the DDS of a file. I recompiled all of the RPG programs and display files that use the physical file. But I got burned when I found that I neglected to include all of the queries that used the file. Is there a way to query all [...]

Answer Question   |  July 31, 2009  5:56 PM
AS/400 Query, DDS, RPG, XREF
asked by:
120 pts.

%SST
Hi, Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE(‘TCS AS/400′) DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.

Answer Question   |  July 30, 2008  10:06 AM
AS/400 Client Access, CHGVAR, CL, CL/400, RPG, RPG/400, Variables
asked by:
0 pts.

AS/400
Hi, Can you tell me how to debug the program with RPG/400.(through STRISDB).Means can you tell me clearly stp by step.

Answer Question   |  May 12, 2010  5:30 AM
RPG, RPG debugging, RPG/400, STRISDB
asked by:
I6
195 pts.

version
HI, This is ibmi5 fresher team.Please tell me what is difference between cl and rpg

Answer Question   |  August 12, 2008  4:57 AM
CL, CL/400, RPG, RPG/400
asked by:
0 pts.

RPG/400 ,CL/400 lifecycle
Hi, Very good morning my friends.Can any body tell me rpg/400 and cl/400 life cycle.please

Answer Question   |  July 30, 2008  4:54 AM
CL, CL/400, RPG, RPG/400, SDLC
asked by:
0 pts.

coding with load array
Hi, Thsi si stiffen.Im a RPG developer I5.Im doing some coding practicing for giving training my students. Can anybody tell me how to read a record from the file with load an array of size with error condition

Answer Question   |  July 30, 2008  1:02 PM
i5, RPG
asked by:
I6
195 pts.

RPG/400
what type of opcodes release lock on a record

Answer Question   |  October 6, 2011  10:32 AM
RPG, RPG/400
asked by:
0 pts.

AS/400,db2/400,rpg/400
is there any perfect method to make externally described file fields available to a program

Answer Question   |  May 7, 2010  5:57 AM
DB2/400, RPG, RPG/400
asked by:
0 pts.

indicator position
hi , i m working on rpgile, i want to know that what is the difference b/w different indicator position, like some times we put it on HI, LO, EQ. WAT IS DIFFERENCE

Answer Question   |  May 6, 2010  4:19 AM
HI/LO/EQ indicators, RPG, RPGILE
asked by:
310 pts.

different between RPG & RPGILE
what is the different between RPG & RPGILE

Answer Question   |  May 7, 2010  5:04 AM
RPG, RPGILE
asked by:
310 pts.

Built-in functions
Is there any built-in functions available to set on/off a group of indicators in a single statement. Usually we do that by MOVEA operation but how to do the same by using built-in functions?

Answer Question   |  July 25, 2008  12:06 PM
MOVEA, RPG
asked by:
35 pts.

Read Records from member
How to read records from all the members without using CL (OVRDBF) ie it should be handled exclusively in an RPG program?

Answer Question   |  July 25, 2008  5:11 AM
RPG
asked by:
35 pts.

Space offset is outside current limit for object
I have a batch job COAMR0 which runs the RPG program (COAPR2). In RPG program if business logic fails, I want to terminate the program and like to generate DUMP of the program. Recently COAMR0 taking too much CPU time when it executing DUMP operation. I found this when I was debugging COAPR2 which is [...]

Answer Question   |  May 6, 2010  8:33 AM
AS/400 errors, RPG
asked by:
65 pts.

how can i make a DisplayFile or a RPG program like WRKOBJ to see the objects and choose with a option (6 or 5) to send that objects by a FTP ?
Please, how can i make a DisplayFile or a RPG program like WRKOBJ to see the objects and choose with a option (6 or 5) to send that objects by a FTP ? I have a problem on my system, and I need see the objects like Workobj and choose this objects to send or [...]

Answer Question   |  May 6, 2010  4:36 AM
AS/400 FTP, FTP, RPG, WRKOBJ
asked by:
440 pts.

Generic rename object
Hi, I’m trying to work out a way of generically renaming objects (files in specific) on an iseries. I have a large number of files which have names that begin with a letter which needs to be changed and end in a number which also needs to be changed, for example :- Axxxxx01 Ayyyyy01 Azzzz01 [...]

Answer Question   |  July 17, 2008  1:02 PM
CL, iSeries, RPG
asked by:
23,625 pts.

Fetch to datastructure in RPG/400
I have one rpg pgm in which I am creating a cursor on select to slect some records.After then I am opening cursor and fetching its data to an external data structure.Now my question is whether the external data structure takes only one record(first record) or it will have all records selected through select ststament. [...]

Answer Question   |  May 4, 2010  12:50 PM
C+, Data structures, RPG, RPG/400
asked by:
370 pts.