×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
If you want to take the pain out of formatting command strings for QCMDEXEC,
etc, do what I do and store the command in a message field and specify
replacement data fields for your parameters. For example:
SBMJOB CMD(CALL PGM(HPMODS/R0774B) PARM(''&1'' ''&2'')) USER(IXAADMIN)
In your program retrieve the message from the message file using the QMHRTVM
system API passing along the parameter variables for the call. If you want
an example of a RtvMsg sub-procedure let me know and I'll post the one I
use.
Jonathan
-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [
mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of sjones@xxxxxxxxxxxxxx
Sent: 21 June 2007 16:46
To: RPG programming on the AS400 / iSeries
Subject: Re: Dumb Question O-Day
That is what I am struggling with, getting the cmdstring (submitjob)
formated correctly. I forgot to post the callp which is:
Callp SystemCmd(SubmitJob : %Len(SubmitJob))
rob@xxxxxxxxx
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
06/21/2007 11:36 AM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
To
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
cc
Subject
Re: Dumb Question O-Day
Run in debug. Paste value of cmdstring.
Rob Berendt
As an Amazon Associate we earn from qualifying purchases.