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


Please Help Members By Posting Answers For Below Questions

how can you display specific subfile page on the screen in unequal subfile?

673


What is file identifier where we can use?

650


When it is desirable to describe files Internally?

1186


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

831


how do you use commitment control in rpg?

757






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?

505


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.

5405


what was the robotech rpg?

684


what is the rpg system?

665


What are the types of identifiers?

570


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2373


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

548


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?

1455


What is the difference between copybooks and subprocedures in as400?

806


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2519