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 / rashmimalpani
You can do SETLL and then use %found to check whether the
record exist in the file.
Chain itself does the SETLL operation on the file and reads
the subsequent record if match is found.
| Is This Answer Correct ? | 14 Yes | 11 No |
Post New Answer View All Answers
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
How Chain operation copies the record's data to the input buffer for the program?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
What is difference between bind by copy and bind by reference?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How can we override a file during runtime in rpg?
Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg
How to select highest score of each subject or how to select highest income of every month?
what is an online rpg?
how does the rpg element work?
are there any useful c runtime apis that I can call from rpg iv?
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?
what is file information data structure?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?