All that's needed is to place the object in QBATCH.
Jack
Ron,
Sorry for the delay. Had to have an operation on my back.
The command you are looking for is SBMJOB;
You can also submit the job to a job queue other than that associated with the job description. On OS/400 systems where the controlling subsystem is not set to QBASE, you can submit your jobs to any active job queue. If your job is a test job, you might want to submit it to the QPGMR job queue, so that it runs in the QPGMR subsystem. However, if your job is a server job that is almost always running, you can submit it to the QSYSNOMAX job queue in library QSYS by running the command this way:
SBMJOB CMD(CALL PGM(PROGRAM)) JOB(TEST)
JOBQ(QSYS/QSYSNOMAX) USER(NEWUSER)
Most CL commands can be found by searching on the command from Yahoo, goggle, ask........
Last Wiki Answer Submitted: December 18, 2007 5:48 pm by Walter47120 pts.
If you live outside the United States, by submitting your email address you consent to having your personal data transferred to and processed in the United States.
Your AS/400 has a server that accepts commands from network servers, or any remote system as long as logon credentials are correct. The REXEC server is started with the STRTCPSVR *REXEC command.
Any compatible rexec client can send commands to it across a network. iSeries Access provides a rexec client you can install on a network server that is cleanly compatible with your AS/400. (You can also use rexec.exe that should be available on your network server.)
If you send a command, it will run in batch. If you choose, you can send a SBMJOB command to set the batch environment your command will run within.
Can you please elaborate.
Your AS/400 has a server that accepts commands from network servers, or any remote system as long as logon credentials are correct. The REXEC server is started with the STRTCPSVR *REXEC command.
Any compatible rexec client can send commands to it across a network. iSeries Access provides a rexec client you can install on a network server that is cleanly compatible with your AS/400. (You can also use rexec.exe that should be available on your network server.)
If you send a command, it will run in batch. If you choose, you can send a SBMJOB command to set the batch environment your command will run within.
Tom