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

What is the purpose of PUTOVR keyword?

2 Answers  


I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?

4 Answers  


what is commitment control?explain about it?

1 Answers   HSBC,


purpose of pannel group??/

2 Answers   CTS,


i'm working on progA , in that program i want to see the userids of the users who work on this program?

10 Answers   Four soft,


What is the purpose of Panel Groups?

4 Answers  


Errors in Sql query will be in which state?

1 Answers  


suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis

1 Answers  


what are the parameters of jobd?give in detail.&what are the parameters of subsystem...????

1 Answers   CTS,


In a particular program one file is used where override command is applied to a file, now this program calls another program where we want to use the same file but without override.How it can be done?

6 Answers   Hexaware,


list down and describe the sub systems vailable

5 Answers   IBM,


How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?

11 Answers   Bank Of America, CSC, IBM,


Categories