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 |
when will come session device error?
How can you delete a record from a file in RPG without using DELETE oppcode?
purpose of pannel group??/
Mr.Yallamanda Reddy P thanks for your answer sir,can we use test(D) opcode in RPG/400,if yes please help me by eloborating on that answer by writing a sample code for that sir
Hi, Can anybody give me real sinario for SFLRCDNBR?with example?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
Whether a module can consists of many procedures or it can consist of subprocedures having a main procedure?If it is possible that it can contain many individual procedures than can we have different name for complete module and how do we call this module in main modul?
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?
In ProgramB there is a SBMJOB, which is a call to program C .There is also a CALL to program D from B. How would you check the program C has been executed in D?
How can we receive values from a called procedure in CL?
Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?