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 |
How to update physical file using logical file with example?
how to eliminate the level check error
can any one pls tell me some differences between a LF and command OPNQRYF?
3 Answers Accenture, Cognizant, eFunds,
Last statement of any rpg program is lr?
wirte a simple program for read file in cl
I want to change the attribute of field or want to add new field in existing PF but condition is format level identifier should not change, is it possible?
one physical file can have how many max of logical files? what is the primary file?
How to read a PF in reverse(from last rec to first) using CL?
How to know logical file belongs to which physical file without source?
How to know the perticular record in pf with out reading?
Can anybody tell why Journalling is compulsary before Commitment Control?
How to find the list of source physical files in a library?