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.



Hi Friends, I need immediately answer for this: Senario is that,I am selecting records from the d..

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

Post New Answer

More IBM AS400 AllOther Interview Questions

what is full form for dds?

0 Answers   IBM,


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

0 Answers   BlackRock,


What is journaling & Commitment Control?

1 Answers  


how do you specify page overflow indicator for printer files in rpg?

1 Answers   IBM,


How to convert a spool file to PDF file in AS400?

0 Answers  






What is the maximum number of key fields allowed defining in a physical file?

1 Answers  


What is left outer join?

2 Answers  


How can we change the uppercase to Lowercase in RPG?

0 Answers  


what is a non-join logical file?

1 Answers   IBM,


what is data structure?how many types of data structers?

4 Answers  


what is the command used to invoke rlu ?

1 Answers   IBM,


Q.Suppose one job is running in a batch mode for a long time now i want to kill this batch job. how you achive this?

3 Answers   IBM,


Categories