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
do you use message subfiles? What are the necessary keywords required coding a message subfile?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
how can you display specific subfile page on the screen in unequal subfile?
how do I preserve and clean the array?
We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?
How would display prime numbers using CL program?
What is difference between bind by copy and bind by reference?
how do I declare a minor?
What is the purpose of record level identifier?
during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.
what is file information data structure?
Explain mdt?
What is a record lock error?
what is kids-rpg?