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

how to handle job errors in as400 what is the command and where can we find out whether the job has any errors

2 Answers   Virtusa,


How to see active jobs of the system.

1 Answers  


when this error ocuurs in openqry file 'OPNID(BANKPF) for file BANKPF already exists.'?

2 Answers   ITC Infotech,


Distinguish between logical file and physical file?

1 Answers  


what is the difference between seton lr and retrn?

1 Answers   IBM,






what are all the contents of subfile?

1 Answers   IBM,


How can we create subsystem in as400?

1 Answers  


What is the function of SEU ?

1 Answers  


Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

0 Answers  


Service Program : S1 Modules in S1 : M1 M1 having two procedures : ADD, SUB Current Binder Language STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP Doubt: I need to add one new Module to the Service Program M2 having one procedure ‘MULT’ How to add this new module to the service program S1 ? If I need to recreate the service program again, Do I need to mention the Module M1 again while recreating along with new Module M2? There is no Binding Directory. Binder language structure will be like this STRPGMEXP PGMLVL(*CURRENT) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") EXPORT SYMBOL("MULT") ENDPGMEXP STRPGMEXP PGMLVL(*PREVIOUS) EXPORT SYMBOL("ADD") EXPORT SYMBOL("SUB") ENDPGMEXP

0 Answers  


what is service program?

0 Answers   IBM,


How to write a password mask program in as400? like the password which i type should be displayed as '*****' r ###### which the user wishes to dispaly if u could help me with url r the solution in written code this will help me

21 Answers   Accenture, SNS,


Categories