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 are the two main attributes, which govern the execution of a job?

1 Answers  


How can we change the uppercase to Lowercase in RPG?

0 Answers  


What is the use of OVRPRTF ?

1 Answers  


Q.How can more than two program be executed in batch mode through SBMJOB in CL PGM but the condition is that program must be executed one by one?Please wtite the senario? 2. IS it possibe more then two programs can be executed in batch mode and HOw it will be executed in CL program ,please write the senario?

6 Answers   IBM,


write the SQL statement to retrieve the 2nd Highest salary ammount(File Name="EMPLOY",Field Name="SALARY")

6 Answers   Bally Technologies, Cognizant, Vertex,






what is the function of cpysplf command?

1 Answers   IBM,


What is a Join Logical File, Can it be used for Update ?

1 Answers  


what are the important factors in error message subfile ?

0 Answers   IBM,


In which specification Data Structures can be defined?

1 Answers  


What is LDA?

1 Answers  


What is file information data structure(infds) in as400?

0 Answers  


What is the difference between non-join logical files and join logical files?

0 Answers  


Categories