i have 1000 records in pf.what are all the ways to read a
particular name records in rpg?? ie.. in pf i have a name
called demo appeared around 52 times hw will we read this
particular records in rpg/400?.
Answer Posted / sudhir
to escape from creating a new object of LF(if its not a
permanent requirement) you can use OPNQRYF to select
whichever records you want like:
OPNQRYF FILE((FILENAME)) QRYSLT('(FIELDNAME *EQ "demo")')
hope you got your answer
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
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
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
What is difference between bind by copy and bind by reference?
what is the difference between do while and do until?
How to select highest score of each subject or how to select highest income of every month?
how do I declare a minor?
can you debug ile rpg program using isdb?
what is a rpg?
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.
can I touch the array during treatments?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
is this a rpg channel?
How many program bind in one module....
Explain mdt?