How can i check the object existance in RPG program without
using QCMDEXC command.
Answer Posted / roshan.wankar
1. To check File object, you should defined file in User
open mode and by using %Open operation we can identify the
file object is present or not.
2. To check Program object,
Use MONITOR; opcode or in calling specify low indicator, if
Low indicator is On, means object is not present in library
list.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How many program bind in one module....
how do I declare a minor?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
What is difference between bind by copy and bind by reference?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
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
How to select highest score of each subject or how to select highest income of every month?
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?
how do I preserve and clean the array?
How to declare the pull button in AS/400..
what is the procedure and explain about real time scenario.
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
what do you mean by an input subfile, what are the keywords required?
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?
explain sflclr, sflend, sfldlt, and sflcsrrrn?