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
how do I declare a minor?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
How to declare the pull button in AS/400..
Interviewer asked me write down DDS for load all subfile .can anybody write dds
what is data area and how it is used in rpg 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?
how do you use commitment control in rpg?
what is the rpg system?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
are there any useful c runtime apis that I can call from rpg iv?
how do I preserve and clean the array?
what is *place and *auto keyword in prtf ?plz explain
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
how does the rpg element work?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.