how can you execute a command from within an rpg program without calling a clp program?



how can you execute a command from within an rpg program without calling a clp program?..

Answer / kanckan singh

By calling QCMDEXC application program interface we can execute a CL command with in an RPG program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

Apart from opening of a file do we have any other use of USROPN?

0 Answers  


Define an Interactive Job?

1 Answers  


How do I release jobs in queue and change a job destination to a different printer. I know wrkjobq but I have not worked with As/400 for a while,so_can someone help me?

2 Answers  


write a pgm to read p.f using cl pgm?

2 Answers   Ocwen, SLK, TCS,


1.what are the builtin funtions in cl pgg?Explain with example 2.what is meant by left outer join?where we can use this?

2 Answers  






How can we arrange duplicate records in a file?

0 Answers  


where exactly we can use OPNQRYF ?

3 Answers   TCS,


What is the purpose of the following FORDHDR1 CF E WORKSTN $2SFN SFILE FMT2

1 Answers  


which are the relational operators in rpg?

0 Answers   IBM,


what is match field indicator?

1 Answers   IBM,


I want to run ls *.csv (sftp command) from CL Program... Can u plz tell me when SFTP command will start running? i.e.which command should I use in CL Program to run ls command?

2 Answers  


Any change in service program we write binder language to allow signature change,What is the maximum number of signature change allowed in RPGLE?

3 Answers   Syntel, Tech Mahindra,


Categories