How to read data from Nth member of a physical file containing
some X number of members in it?
"Provided member names are unknown"
Answer Posted / zavith ahamed
to declare f spec extmbr(*all) to read the data from file
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
what is file information data structure?
What is ment by record level identifier?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
what is the procedure and explain about real time scenario.
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
what is the difference between do while and do until?
What are the types of identifiers?
How would display prime numbers using CL program?
How to write record if no field or the field are different in physical file in rpgle ?
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?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
how can I tell when to replace the array?
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.
how do I declare a table or array in rpg iv?
which program rpg or cl is efficent to update a transaction onto a database file and why ?