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
what is the use of sflnxtchg?
are there any useful c runtime apis that I can call from rpg iv?
what is the rpg system?
how does the rpg element work?
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 would display prime numbers using CL program?
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 is a rpg?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?
what is *place and *auto keyword in prtf ?plz explain
How to declare the pull button in AS/400..
how do I declare a minor?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
can I touch the array during treatments?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?