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 |
Have a join logical file with more than one members with different record formats. So how can we read the different members from this file and also how we can read the different record format from the join logical?
What is Multi Occurrence Data Structure(MODS)?
How to check which are the pgms using 1 perticulate file.? I know there is many tool available for X-reference...but need to know is there any command available in the system...?
1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?
WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?
1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?
When it is desirable to describe files Internally?
what is the difference between the procedure and module in ILERPG?
What are the necessary keywords required to code a message subfile?