What would be the result on writing a data record to a PF
file using the "WRITE" opcode after the SETON *ON *INLR
statment?
Answer Posted / gsp
The 'Write' statement has to be witten before
the Lr On statement.
Reason: All files are closed and program ends
as soon as Lr is on.
| Is This Answer Correct ? | 5 Yes | 10 No |
Post New Answer View All Answers
what are the key words you must use when using a subfile?
is this a rpg channel?
how do I preserve and clean the array?
When it is desirable to describe files Internally?
how does the rpg element work?
what is an online rpg?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
How can we know running job is batch or interactive?
what is kids-rpg?
How many program bind in one module....
what is program status data structure?
how can I tell when to replace the array?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
what is the procedure and explain about real time scenario.
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?