1.How can you search an entire source file for a particular
field name?
2.How can you find the differences between two versions of
the source for the same program?
3.What is a hidden field as it relates to a sub file?
4.How do you display a sub file that has no records in the
sub file?
Answer Posted / sourabh
1. Through READE opcode
4. With the help of SFLINZ keyword. Use this keyword in
display file with indicator (suppose 33).
After the Do loop where the data has been sent to buffer but
not written on the subfile, use the following code
IF RRN = 0 (OR 1 DEPEND FOR WHICH VALUE U HAD INITIALIZED IT)
MOVE *ON TO CONTROLLER INDICATOR
MOVE *IN33 *ON
MOVE *OFF TO CONTROLLER INDICATOR
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is a record lock error?
what is *place and *auto keyword in prtf ?plz explain
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
what is file information data structure?
How would display prime numbers using CL program?
can you debug ile rpg program using isdb?
Explain mdt?
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
what are the key words you must use when using a subfile?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
What is the difference between iter and do?
what is the use of sflnxtchg?
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.
What is the difference between copybooks and subprocedures in as400?
what do you mean by an input subfile, what are the keywords required?