Hi Friends, I need immediately answer for this:
Senario is that,I am selecting records from the display and
window subfile on the basis of Reason Code and some more
fields but spool file not showing the same records which i
have selected by display and window subfile.
Q.What could be the causes(resons)to not show records
properly (just selected in the display file and Window
subfile)according the selection criteria of the records.
Q.What would be the solutions to show records properly in
the spool file just as selected in in the display file and
window subfile according to the selection criteria.
Answer / syam
1. Display Record to use "read" or "exfmt"opcode, then next
line should be "Write" opcode.
2. If it is subfile to use "Readc" opcode, then next line
should be "Write" opcode.
Once you read,immediatly write to spool then go for next
read. You can put it on loop.
| Is This Answer Correct ? | 0 Yes | 1 No |
how to change job priority when it is running in sub system ?
WHAT is STORED PROCEDURE CONCEPT IN AS400 WITH EXAMPLE?
how will you display a particular page in subfile ?
Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?
how can you specify no duplicate key?
What is the difference between Interactive & Batch Job?
we have 2 PF files with same name, how to copy data's from one file to another through RPG program logic?
What is the maximum number of times Multiple Occurrences DS can occur in a program?
when do you explicitly open files and close files in an rpg program?
what are the basic features of seu?
What is the necessary keyword used in a physical file to refer field definitions from the field reference file?
what is the use of data structures?