I have one cl program which calls two rpg programs named a &
b. I am loading a run time array in Pgm A and the control
comes back to cl pgm. i call pgmb and I want to read the
runtime array in pgmb which was loaded in pgma. How it can
be acheived. I should not use any intermediate file or
dataarea to store the loaded values.
Answers were Sorted based on User's Feedback
Answer / joy mukherjee
We can declare that array in program A as static.
For the variables defined as static the value persist in
between the calls.
| Is This Answer Correct ? | 5 Yes | 0 No |
What are the types of identifiers?
How I can reread the physical file in CL program once the end of file reached in same CL program.
What does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?
How can i check the object existance in RPG program without using QCMDEXC command.
As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks
I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?
Anybody know the difference of primary file and full procedural file
Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?
I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?