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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what is a rpg?

683


can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2260


what are the key words you must use when using a subfile?

677


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5375


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

1879






can you debug ile rpg program using isdb?

725


what is data area and how it is used in rpg program ?

741


what is the rpg system?

656


What is the difference between iter and do?

657


what is the procedure and explain about real time scenario.

1462


How to declare the pull button in AS/400..

1864


Explain mdt?

651


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2505


how does the rpg element work?

702


what is the difference between do while and do until?

686