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 |
I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?
please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?
How can we receive values from a called procedure in RPG?
what is program status data structure?
difference between CHAIN and READE?
suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis
what is the difference between do while and do until?
how to change the length of the field in a physicalfile?
How to print output from openquery in as400 ?
Suppose I have 3 jobs a b and c. I want to submit b after successful completion of a and want to submit c after successful completion of b. Without using job scheduler or job queue, how can I do that through cl program?
what is the equivalent keyword for CHAIN opcode ??
1) How to declare a file? 2) How to define a display file? 3) How to monitor error messages in RPG? 4) How to find the attributes for subfiles? and what is the DDS for subfiles?