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 / kaka halwai
100 SETLL Employee master
IF %EQUAL(Employee master)
record is found
Else
Record is not found..
Endif
:-)
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
How to call one program from another program in RPG? please help me with the code
how do I declare a table or array in rpg iv?
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
what is the difference between do while and do until?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what is kids-rpg?
how does the rpg element work?
When it is desirable to describe files Internally?
are there any useful c runtime apis that I can call from rpg iv?
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
what is the rpg system?
is this a rpg channel?
which program rpg or cl is efficent to update a transaction onto a database file and why ?
what is an online rpg?
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?