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...


Suppose in CL we reach at end of file and again we have to reach from 1 record

Answers were Sorted based on User's Feedback



Suppose in CL we reach at end of file and again we have to reach from 1 record..

Answer / surya

We can use POSDBF command in CL program

This command sets the record position of the database file that is opened with OPNID(XXX) to the starting position of the database file member that is currently open.

POSDBF OPNID(XXX) POSITION(*START)

Is This Answer Correct ?    4 Yes 0 No

Suppose in CL we reach at end of file and again we have to reach from 1 record..

Answer / ravi kumar

Hi Frnds,

I have tried with POSDBF but i can not reach. please post 1 example if possible

Is This Answer Correct ?    0 Yes 0 No

Suppose in CL we reach at end of file and again we have to reach from 1 record..

Answer / nitin

We can use OVRDBF and position file to *START
i.e. OVRDBF FILE(EMPLOYEE) POSITION(*START)

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More RPG400 Interview Questions

How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


i'm working on progA , in that program i want to see the userids of the users who work on this program?

10 Answers   Four soft,


Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...

4 Answers  


i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?

1 Answers   IBM,


As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?

1 Answers  


Anybody can explain the difference between SFLCLR & SFLINZ?

7 Answers  


Maximum how many files declare in rpgle

3 Answers   TCS,


what is file information data structure?

1 Answers   IBM,


can i use unique key in LF

3 Answers   TCS,


How to call one program from another program in RPG? please help me with the code

0 Answers   HCL,


1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?

2 Answers   TCS,


wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


Categories