Can we found a record existance in a file w/o reading the file?
Answers were Sorted based on User's Feedback
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 |
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 |
Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?
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
how to change the length of the field in a physicalfile?
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?
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
can we perform CHAIN operation on Subfile record format....?
use of PUTOVR,OVRDTA,KEEP keywords?
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 ?
how do you use commitment control in rpg?
What is the name of default out queue when user logs inn to syatem with valid profile?
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
Can we journel logical file and access path? Can we use commitment control for non-join L.F?