Can we found a record existance in a file w/o reading the file?

Answers were Sorted based on User's Feedback



Can we found a record existance in a file w/o reading the file?..

Answer / srisailam

Yes by using file information data structure

Is This Answer Correct ?    5 Yes 2 No

Can we found a record existance in a file w/o reading the file?..

Answer / srisailam

by using setll and %equal()

Is This Answer Correct ?    2 Yes 0 No

Can we found a record existance in a file w/o reading the file?..

Answer / venky

setll

Is This Answer Correct ?    6 Yes 7 No

Can we found a record existance in a file w/o reading the file?..

Answer / srisailam

yes.by using file information data structure.

Is This Answer Correct ?    1 Yes 2 No

Can we found a record existance in a file w/o reading the file?..

Answer / ravikumar

1.With the help of CHAIN or READ opcodes we can find out record existence.


2.we can find out with the help of FILE INFORMATION DATA STRUCTURE..

Is This Answer Correct ?    0 Yes 1 No

Can we found a record existance in a file w/o reading the file?..

Answer / nkumar

Yes without reading a file we can check the existence of records in a file. There are 3 ways.
1) Type DSPFD and define the file and press enter. Go to las and see the total no of records.

2) Using the file information data structure.

3) Using the RTVMBRD using in the CL program and check teh NBRCURRCD filed value. this will have the total no of records.

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More RPG400 Interview Questions

Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?

1 Answers   Infogain,


As400 Command to find the Name of the Program to which a Particular Module is Bound..? Ex: IC210AMR (*MODULE) is bound with Other Modules which Forms Program Object as IC210ABP(*PGM) . As400 Command to find the IC210ABP Using IC210AMR..? Thanks

5 Answers   CTS,


how to change the length of the field in a physicalfile?

12 Answers  


I have a RPG program of 100 Lines and first line is to SETON indicator LR. Will the program execute rest of the 99 Lines?

6 Answers  


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

0 Answers   iGate,






can we perform CHAIN operation on Subfile record format....?

4 Answers  


use of PUTOVR,OVRDTA,KEEP keywords?

2 Answers   HCL,


Hi, can any one tell me :IN CASE OF SINGLE PAGE FILE HOW WILL I LOAD THE PREVIOUS PAGE WITHOUT THE USE OF SFLCLR INDICATOR ?

3 Answers   IBM,


how do you use commitment control in rpg?

0 Answers   IBM,


What is the name of default out queue when user logs inn to syatem with valid profile?

3 Answers   IBM,


WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?

1 Answers  


Can we journel logical file and access path? Can we use commitment control for non-join L.F?

4 Answers  


Categories