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

i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.

2 Answers   CTS,


we are sending data of physical file to screen design and it is showing no record why?

1 Answers   NTT Data,


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

2 Answers   TCS,


How Commitment and Roll back control is used in as400, explain with real time senario ???

2 Answers   Acolite, HSBC,


1.CA(command Atention key)& CF(command Function key) difference with example?Please can any body tell me in real time exp? 2.Can any body tell me some mandatery function keys using while creating any screen with use of SDA-FUNCTION kEYS?

5 Answers   HCL,


I want to add 10 days in current date. how it is possible in CL program...?

11 Answers   CSC,


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

0 Answers  


what is importance of 'MAPFLD' IN OPNQRYF FILE ?

2 Answers  


What is the length of Signature?

3 Answers   UST,


What is the OPEN and CLOSE accesspath?

3 Answers   CTS,


Can we create 300 logical files based on a single physical file using the CRTLF command only once?.

8 Answers  


Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?

4 Answers   IBM,


Categories