How do you find out whether a record is present in the
physical file without reading the file?
for Example Employee No: 100 in an Employee master.How do
we find out whther 100 is present in Employee master
without reading the file?

Answer Posted / prasanna

If you Request was thru program then you can do it by SETLL
else DSPPFM or DSPF command

Is This Answer Correct ?    1 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to select highest score of each subject or how to select highest income of every month?

1303


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.

5441


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

630


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

507


what is the necessary keyword needed to scroll subfile records?

711






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

1269


how can I tell when to replace the array?

712


what is program status data structure?

1404


What is the difference between copybooks and subprocedures in as400?

819


what was the robotech rpg?

691


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

764


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

729


How to write record if no field or the field are different in physical file in rpgle ?

498


can you debug ile rpg program using isdb?

748


what is the procedure and explain about real time scenario.

1491