if i have three programs progA,progB and progC .now i call
progB from progA. but the progB does not exist . now i want
to call progC instead of starting dump. how can we achieve
this.

Answer Posted / bhupendra tomar

just use 2 cmds
CHKOBJ and handle error through
MONMSG msg(CPF9801)

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

do you use message subfiles? What are the necessary keywords required coding a message subfile?

788


What is difference between bind by copy and bind by reference?

1927


What is ment by record level identifier?

748


How Chain operation copies the record's data to the input buffer for the program?

1166


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

897






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...........

3428


what is the use of sflnxtchg?

900


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.

870


what is the rpg system?

773


What is the purpose of record level identifier?

809


can I touch the array during treatments?

847


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?

716


how do you use commitment control in rpg?

859


How to call one program from another program in RPG? please help me with the code

1353


what is kids-rpg?

769