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 / xxx
setgt and then a readpe will read 52 times then it will
throw EOF.
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
what is the procedure and explain about real time scenario.
1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
can you debug ile rpg program using isdb?
What is the difference between iter and do?
How Chain operation copies the record's data to the input buffer for the program?
what is the difference between do while and do until?
What is file identifier where we can use?
How many program bind in one module....
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
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.
which program rpg or cl is efficent to update a transaction onto a database file and why ?
How to call one program from another program in RPG? please help me with the code
how do I declare a minor?