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 physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?
YOU CAN DELETE THE RECORD SPACE PERMENANTLY IN PHYSICALFILE THROUGH CL?
Is it possible to create a logical file whose Physical file is not in same library?
What is FORMAT keyword and its use?
what is open data base command
1 Answers Active Brains, Cognizant, CSC, CTS,
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?
wirte a simple program for read file in cl
How can we know that a trigger has been added on a PF? and what is the purpose of adding a trigger?
How to read a PF in reverse(from last rec to first) using CL?
how can we write LF using flatfile.
how to eliminate the level check error
what is multiple member pf