How can i check the object existance in RPG program without
using QCMDEXC command.
Answer Posted / mithila
In RPG4, QusRtvObjd API can be used which has procedutrs
like ChkObj and ChkMbr. or a CL program can be called that
checks the existence of object and returns some indicator
to for found/not found.
| Is This Answer Correct ? | 3 Yes | 7 No |
Post New Answer View All Answers
is this a rpg channel?
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?
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
do you use message subfiles? What are the necessary keywords required coding a message subfile?
how can I tell when to replace the array?
how do I play {insert rpg system here}?
are there any useful c runtime apis that I can call from rpg iv?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
How to write record if no field or the field are different in physical file in rpgle ?
What is difference between bind by copy and bind by reference?
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?
what is the rpg system?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
How to call one program from another program in RPG? please help me with the code