How can i check the object existance in RPG program without
using QCMDEXC command.

Answer Posted / keshar jain

In addition to above answers with MONITOR we can check for mesage CPF9801. It will give clear idea about object existence.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5412


what is file information data structure?

1374


what is the rpg system?

668


what is an online rpg?

729


what is the procedure and explain about real time scenario.

1479






What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2519


How many program bind in one module....

2122


how do I declare a table or array in rpg iv?

737


how can I tell when to replace the array?

702


what is a rpg?

701


how can you display specific subfile page on the screen in unequal subfile?

675


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?

1455


what do you mean by an input subfile, what are the keywords required?

773


How would display prime numbers using CL program?

5680


Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

1761