How can we call CL program to RPG? How many number of parameter we can pass

Answers were Sorted based on User's Feedback



How can we call CL program to RPG? How many number of parameter we can pass..

Answer / vaibhav bhardwaj

Use QCMDEXC API with length and CMD Parameters.

Cmd 32767A
Length 15P 5

Is This Answer Correct ?    6 Yes 1 No

How can we call CL program to RPG? How many number of parameter we can pass..

Answer / ravi kumar

Hi,


CALL PGM(LIB1/ORDER)

Here ORDER is rpg prog in LIB1 library

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More RPG400 Interview Questions

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?

0 Answers  


WHAT IS MONMSG IDENTIFIER FOR STRTCPFTP command IN cl (as/400)?

3 Answers  


What is the purpose of Panel Groups?

4 Answers  


How to search particular records from the database file in rpg?

2 Answers  


What is the significance of UDATE?

5 Answers   IBM,






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

0 Answers   CTS,


What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.

2 Answers   IBM,


Can we have a Physical file without any member ? Please let me know

12 Answers  


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


what is a rpg?

0 Answers   IBM,


How to read alternative records in a pf by using rpg?

8 Answers   IBM,


what is data area and how it is used in rpg program ?

0 Answers   IBM,


Categories