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 Posted / 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 |
Post New Answer View All Answers
how do you specify the number of records to roll in a subfile ?
define a output queue?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
how can u check no of records in a file?
how to write *pssr ?
what is the function of crtdupobj command?
what is the maximum number of files allowed in rpg?
Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out
What Is The Purpose Of The "n" In The Following Calculation Specification?
what is match field indicator?
How to Define a Procedure in RPG?
how will you display a particular page in subfile ?
what is sflinz and sflrna?
WHAT IS FERERENTIAL INTRIGRITY ?
what are the two record formats a subfile contain ?