Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



A pf containing 100 records... my query is how to display from 11th record in the pf?..

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

A pf containing 100 records... my query is how to display from 11th record in the pf?..

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

A pf containing 100 records... my query is how to display from 11th record in the pf?..

Answer / anup

Select * from pfname where rrn(pfname) >= 11

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More DB400 Interview Questions

How to update physical file using logical file with example?

0 Answers  


how to eliminate the level check error

2 Answers   TCS,


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?

0 Answers  


wirte a simple program for read file in cl

2 Answers   Active Brains,


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?

9 Answers   Mind Tree, TCS,


one physical file can have how many max of logical files? what is the primary file?

3 Answers   Four soft,


How to read a PF in reverse(from last rec to first) using CL?

3 Answers   HCL,


How to know logical file belongs to which physical file without source?

1 Answers  


How to know the perticular record in pf with out reading?

2 Answers   Cap Gemini,


Can anybody tell why Journalling is compulsary before Commitment Control?

2 Answers  


How to find the list of source physical files in a library?

0 Answers  


Categories