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 is the difference between do while and do until?
How to add 2 new fields in a file? How many ways are there in as400?
Can an indexed file be accessed in arrival sequence in RPG?
Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
what is file identifier wher we can use
What is the purpose of PUTOVR keyword?
What is the syntax of passing parameters to a procedure by value?
How to search particular records from the database file in rpg?
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 ?
What is the RPG cycle?
How to update physical file in rpgle without using display file?