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 |
suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?
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?
How to declare the dynamic(run time) array in rpgle? can you please give example
what is plat file?
1.The questions have given an array declaration and move operation then this statement is correct or not?
How do I read records from Subfile? what is the purpose of READC explain with example?
What is a record lock error?
Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?
without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?
What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.
Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output
What is the length of Signature?