QCMDEXC Questions

1

AS/400 job not found with SBMJOB command
i have submitted job using command sbmjob in RPG Program though QCMDEXC. in dbg mode i checked this command executed sucessfully but i am not found job name in system. I used WRKSBMJOB command to see what are all the jobs submitted but i am not found my job. sbmjob cmd (call pgm (xyz)  parm [...]

Answer Question   |  May 10, 2011  5:37 AM
AS/400, AS/400 jobs, QCMDEXC, RPG Program, SBMJOB
asked by:
140 pts.

Calling FTP RMTSYS from ODBC in PHP?
Hello everyone. This is an interesting problem. I have this code and I want to call FTP RMTSYS(”) command through ODBC from PHP. Nothing happens. When I issue the command in DBVisualizer: CALL QSYS.QCMDEXC(‘FTP RMTSYS(iSeries_SERVER)’,  0000000020.00000); I get this error: Program contains commands only valid when run interactively.      Application error.  CPD0772 unmonitored by QSNDEVQ [...]

Answer Question   |  December 28, 2010  11:35 AM
iSeries, ODBC, PHP, QCMDEXC, RMTSYS
asked by:
80 pts.

RPG/400
Hi,  What is the use of QCMDEXC?who will handle this.what purpose we use?can we call it is a command?  what is the usd of *INZSR?what is the relation with RETURN?  What are the input opcodes and output opcodes and I/O(combined) opcodes available in RPG/400?can any body list please Thanks malavika   

Answer Question   |  August 5, 2010  4:11 AM
*INZSR, ILE RPG, QCMDEXC, RPG/400
asked by:
45 pts.

QCMDEXC
Hi, i have built a small application using CL to convert date to required format. When i want to accomplish the same from RPGLE program with a display file to input date i wanted to call CVTDAT command from the RPG program. But i am geting error saying this command can’t be issued in this [...]

Answer Question   |  August 13, 2008  10:39 AM
CL/400, CVTDAT, QCMDEXC, RPG, RPGLE
asked by:
1,150 pts.

F9=Retrieve…
I’m creating a DSPF and want to put in some common AS/400 command functions, and one of them would be to hit F9 to retrieve the last command entered. How would I go about doing this? I’m using a mock command line input field and would be sending any commands via QCMDEXC. Any ideas on [...]

Answer Question   |  November 17, 2011  12:48 PM
AS/400 command functions, AS/400 command keys, DSPF, Menu, QCMDEXC, RPGLE
asked by:
685 pts.

Verifying QCMDEXC completed succesfully from RPG III program call
If I call QCMDEXC with a command string and the string length as parms from an RPG III program, how can I determine if the command completed successfully from within the RPG program so I can condition a message to the user?

Answer Question   |  May 6, 2008  3:07 PM
QCMDEXC, RPG III
asked by:
320 pts.

1