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
define what a data area is along with a brief example of what it may be used for?
How can we update a specific field in RPG?
when do you use f-spec. Continuation line ?
In 'o' Specs What Is The Opcode For Write?
Difference Between Skip Before & Space Before?
define subsystem?
what is the favicon.ico request that my site receives now and then?
which are control break logic indicators?
What is compiler directive in as400? Give example of compiler directive.?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
how can you execute a command from within an rpg program without calling a clp program?
what are the limitations of cl (compare to rpg) ?
What is diff between EVAL & MOVE?
some special characters I key in my html source members show different on my web pages. Why? How can I solve this?
different type of cursor?