A pf containing 100 records... my query is how to display
from 11th record in the pf?
Answers were Sorted based on User's Feedback
Answer / keshar jain
We can positioned to nth record in file in CL with the help of OVRDBF command.
Synatax:
OVRDBF FILE(file-name) POSITION(*RRN 11)
This will positioned file on 11th record so RCVF command will read 11th record in file.
If you want to read with key conditioned then we can specify *KEY,*KEYA,KEYAE etc to positioned with key specified in command.
Is This Answer Correct ? | 16 Yes | 1 No |
Answer / gowrishankar.m
using cpyf Starting position as 11
or
using CHAIN in key field giv relative record number
Is This Answer Correct ? | 8 Yes | 3 No |
I have a pf, it contains 5 members, how to access particular member data from logical file?
CRTDTA AND CRTARA should be used along with?
How many max. Record format a logical file have?
How to index LF by relative record no (RRN)
I have a PF with out any data but the dependent LF is having data?
can we concate fileds in physical file? If yes how can we do?
pls anyone explain about compile time array,pre run time array run time array
what is open data path? and what is the diff b/w access path and open data path?
What is the interactive job?
How we can't update join logical files?
How to read a pf in reverse(from last record to first) using cl?
How can we handle errors in RPG?