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 |
1.I have a Physical file with 100 records, No duplicates exists, all are Unique,But while i am running Runqry utility i am getting only 80 records..What could be the reason?
suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?
please guys help me,I need to write a program that shows more than one way to display a subfile. Both views are of the same file but sorted differently and show different fields of the same file when the user presses a function key. send me code
How can we call CL program to RPG? How many number of parameter we can pass
suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg
difference between CHAIN and READE?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
3 members in databasefile .how to read records from all the members??
what are the array operations?
What are different ways to pass data between programs and which one is the efficient way?
I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic
Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?