CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?
Answer Posted / mathan kumar
It is Possible by Declare the pf file as a primary file
then you can access the records from pf by using the pf
fields in the program....
| Is This Answer Correct ? | 26 Yes | 3 No |
Post New Answer View All Answers
What is a record lock error?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
When it is desirable to describe files Internally?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
are there any useful c runtime apis that I can call from rpg iv?
how do you use commitment control in rpg?
what is data area and how it is used in rpg program ?
How to declare the pull button in AS/400..
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How Chain operation copies the record's data to the input buffer for the program?
what is *place and *auto keyword in prtf ?plz explain
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.
What are the types of identifiers?