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

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,


How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"

4 Answers  


can i use unique key in LF

3 Answers   TCS,


1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?

8 Answers   HCL,


Maximum how many files declare in rpgle

3 Answers   TCS,






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,


i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

3 Answers   HSBC,


I want my simple Green screen should refersh every 1 min ,How can I do it..? Please share the logic

2 Answers  


What is the name of default out queue when user logs inn to syatem with valid profile?

3 Answers   IBM,


How to index LF by relative record no (RRN)

1 Answers  


how to display all the members records in a physical file without using ovrdbf?

9 Answers  


check existence of one record without using chain or read?

1 Answers   IBM,


Categories