What is the difference Return and InLr?
Answers were Sorted based on User's Feedback
Answer / syam
InLr is "ON" means Close all open physical fileused in the
program, release memory and close ODP(Open Data Path).
Return = Exit from the program(physical file remain open)
| Is This Answer Correct ? | 23 Yes | 2 No |
Answer / rosh
If we can use Inlr - File are closed status after ending
the program.
Return - files are in open status after coming out from the
program
| Is This Answer Correct ? | 1 Yes | 1 No |
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?
What are different ways to pass data between programs and which one is the efficient way?
How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis
Can you copy the records created by the OPNQRYF to other files and how?
steps involved in debugging and types of debugging modes?
how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE
what is the necessary command needed before OPNQRYF and why?
How can we change element of compile time array?Can we do so
How to call one program from another program in RPG? please help me with the code
how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.