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 |
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?
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?
what is plat file?
can we use cl programming to update or delete physical files
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
how do u find whether a record is locked or not??/
How can we search particular records from the database file in RPG. For example, there are 100 records in the file.i need to retrieve all the records matching/equal to the particular 'NAME' field. How can we do the above using SEARCH criteria other than using the IF cond?
how do I declare a table or array in rpg iv?
What is significance of a file designated as a Primary file in Rpg400 program....also what's use of secoundry file
Explain mdt?
What is the difference between copybooks and subprocedures in as400?