Answer Posted / jitender singh
U can do in the following ways
Suppose u have Flat file XYZ of 10 lenght
What u do in LF
R REC1 PFILE(XYZ)
FLD1 I SST(XYZ 1 3)
FLD2 I SST(XYZ 4 7)
IN this way you can also name the filed in LF
| Is This Answer Correct ? | 17 Yes | 3 No |
Post New Answer View All Answers
How many maximum record format a logical file have?
How to find the list of source physical files in a library?
What is the batch job?
How to update physical file using logical file with example?
How to retrieve a physical file after deleting that?
Can we concatenate fields in physical file? If yes how can we do?
How to index LF by relative record no (RRN)
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?
What is the use of member in pf?
I have a pf, it contains 5 members, how to access particular member data from logical file?
How to read a pf in reverse(from last record to first) using cl?
What is the difference between access path and open data path?
What is the primary file?
Last statement of any rpg program is lr?