1
  • RPG/400: The use of QCMDEXC

    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 anybody list please? Thanks! malavika

    Repaire45 pointsBadges:
  • Directory command is not working

    Call qcmdexc parm('CPYTOIMPF FROMfile(mylib/myfile) TOSTMF(/home/test/test.txt)') It is not working I think because of the missing ' I tried to fix it with a hex value of x'7D' but the run SQL procedure didn't accept it

    Blueye20 pointsBadges:
  • Submitted AS/400 job it’s 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 successfully but I didn't find job name in system. I used WRKSBMJOB command to see what are all the jobs submitted but I have found my job.sbmjob cmd (call pgm (xyz) parm (&a...

    Askt1140 pointsBadges:
  • QCMDEXC error

    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 getting error saying this command can't be issued in this set...is...

    ten20081,150 pointsBadges:
  • 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 the F9 feature?

    Eric Witham690 pointsBadges:
  • 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...

    Avrelivs80 pointsBadges:
  • 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?

    Floyd02320 pointsBadges:
1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following