How can we call CL program to RPG? How many number of parameter we can pass
Answers were Sorted based on User's Feedback
Answer / vaibhav bhardwaj
Use QCMDEXC API with length and CMD Parameters.
Cmd 32767A
Length 15P 5
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / ravi kumar
Hi,
CALL PGM(LIB1/ORDER)
Here ORDER is rpg prog in LIB1 library
| Is This Answer Correct ? | 1 Yes | 0 No |
I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.
purpose of pannel group??/
what r drawbacks of OPM? Why do we go for ILE RPG?
1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD
How to read alternative records in a pf by using rpg?
two attributes which govern the excecution of a job>>>>??
can i use UPDDTA command in rpg program in which contains a file
1..Write an sql query to find the employee name who is having 2 phone numebr? 2.Write an sql query to the the second highest salary of the employee?
How to find d key field of a pf that doesn’t have source physical file?
You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?
what do you mean by SESSION/DEVOCE ERROR?
How to search particular records from the database file in rpg?