Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output
Answers were Sorted based on User's Feedback
Answer / ganesh kandaswamy
Chain is nothing but the combination of setll and reade. After reaching 4th record if we chain it will again reading the 1st record.
Is This Answer Correct ? | 7 Yes | 0 No |
Answer / aanchal
After reading 4 records if we chain the file. It will read the 4th record. That is the 4th record will be read twice.
Is This Answer Correct ? | 0 Yes | 5 No |
what is program status data structure?
How to find d key field of a pf that doesn’t have source physical file?
How do you code file / field renames in ILE RPG?
How to change the name of physical members Dynamically?
What is the RPG cycle?
i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.
1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF
Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found that pgmC having some code error..then in debug mode directly how can i debug pgmC
What are the types of identifiers?
I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.
difference between 1:%found and %equal built function in detail with example .
what is the difference between the procedure and module in ILERPG?