1.How to load Records of a Physical file(PF) in the reverse
order, in CL program?
Answer Posted / anil kumar.anumulasetty
I THIS EXAMPLE I M USING EMPFILE READING IN REVERS ORDER
PGM
DCLF FILE(EMPFILE)
OVRDBF FILE(EMPFILE) SHARE(*YES)
OPNQRYF FILE(EMPFILE) KEYFLD(EMPNO *DESCEND)
READF: RCVF RCDFMT(MPILR)
MONMSG MSGID(CPF0864) EXEC(GOTO CMDLBL(END))
GOTO READF
END:
ENDPGM
| Is This Answer Correct ? | 19 Yes | 0 No |
Post New Answer View All Answers
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.
can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com
What is file identifier where we can use?
What is the purpose of record level identifier?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
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?
how do I declare a minor?
how do I play {insert rpg system here}?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
When it is desirable to describe files Internally?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
what is file information data structure?
What is ment by record level identifier?
how do I preserve and clean the array?