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

Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

0 Answers  


For AS/400 Freshers good website is

3 Answers   HCL, HP,


What is the default access path of a file?

0 Answers  


in conjunction with what other keyword must ovrdta and ovrata be used?

1 Answers   IBM,


what is a logical file?

1 Answers   IBM,






I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

0 Answers   CSC,


what is a primary file?

1 Answers   IBM,


how to insert the data in pf by using cl program

2 Answers   TCS,


what is the syntax for plist?

0 Answers   IBM,


what is code for reading member in rpgle when wehave like extmbr(*all) so we have 3 members in *all then i want to read first record in 2member

2 Answers   HCL,


what is the clp command to access a query/400?

1 Answers   IBM,


What is the purpose of FRCDTA (Force Data) keyword?

1 Answers  


Categories