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 |
1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be interactive one or batch one? 2)How many members can exist in a PF?
how can you execute a command from within an rpg program without calling a clp program?
What is library list ?
what is term cua , saa?
How to change file attributes such as size, file wait time, record wait time etc., permanently?
Apart from opening of a file do we have any other use of USROPN?
What does the keyword UNIQUE mean ?
How can we create subsystem in as400?
during input operation which indicator position is seton if there is a record lock?
What is the difference between physical file and logical file?
What is Group Job?
What is the purpose of USROPN keyword?