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 does Implicit Open means with respect to a file ? What about the Explicit Open?..what are the major differences between these two?
how do I play {insert rpg system here}?
How to find d key field of a pf that doesn’t have source physical file?
What is journalling and commitment control?
1) How to retrieve RRN through RPG ? 2) How to pass parameter by value ? 3) How to trap the error through the RPG/400
10 Answers IBM, Tech Mahindra,
am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me
1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
What is the difference between copybooks and subprocedures in as400?
difference betwen keywords and opcodes
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?