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 |
How we will read call stack?
i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program
Interviewer asked me write down DDS for load all subfile .can anybody write dds
how we retrieve records without using key field (ex:name) from Physical File through RPG in as/400?
How to get only unique records from a file which contains duplicate data using CPYF command ? Example : FILEA has duplicate records and FILEB is a UNIQUE defined.... and I want to get the data from FILEA to FILEB by eliminating all the duplicate records...
is this a rpg channel?
How to write record if no field or the field are different in physical file in rpgle ?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
Can anybody tell me in which scenario we have to use SQLRPG .(Embeded SQL)....?
Can we have a Physical file without any member ? Please let me know
how to display all the members records in a physical file without using ovrdbf?
How I can reread the physical file in CL program once the end of file reached in same CL program.