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

Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2041


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

541


What is the difference between iter and do?

661


Explain mdt?

655


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.

2264






do you use message subfiles? What are the necessary keywords required coding a message subfile?

677


how do I preserve and clean the array?

665


how does the rpg element work?

709


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.

5380


how do I play {insert rpg system here}?

574


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

1281


what is the procedure and explain about real time scenario.

1468


What is the purpose of record level identifier?

718


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1952


how do I declare a table or array in rpg iv?

725