Please tell me how to read the records from a file with
load an array of size with error conditions(The logic
answer for this question is ARR is array of 99 elements

Z-ADD 0 IDX
*LOVAL SETLL FILE
READ FILE 99
*IN99 DOWEQ *OFF
IDX ANDLT 99
ADD 1 IDX
MOVE FIELD ARR,IDX
READ FILE 99
ENDDO).So,Please give me the complete of this code.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More RPG400 Interview Questions

can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

0 Answers  


can I touch the array during treatments?

0 Answers   IBM,


what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.

2 Answers  


how to check on which PF , the LF is dependant ?

4 Answers   IBM,


what is estimation? and what is the level identifier parameter in PF?

3 Answers   TCS,


How can i keyed a flat file in RPGLE

5 Answers   IBM, Wipro,


What is file identifier where we can use?

0 Answers  


What is the purpose of Panel Groups?

4 Answers  


Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?

3 Answers  


Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir

2 Answers   iGate,


What are different ways to pass data between programs and which one is the efficient way?

5 Answers  


what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?

4 Answers  


Categories