Strseu command – Nlynx ETU400 User Manual

Page 174

Advertising
background image

ETU400 User Guide 011603

10-44

To Schedule a Job

To schedule a job, first start a job called SCHPGM. This job controls the

SBMSCHJOB command. Then enter SBMSCHJOB on the AS/400 command line, press

F4, and fill out the following parameters.

SCHCMD

The name of the command you want to schedule. You can enter
the command followed by the entire command string, or enter a

question mark (?) followed by the command name, which

displays the command prompt after you complete the remaining

parameters.

SCHHR

The hour of the day you want the job to released to batch.
Enter the time in 24-hour (military) format.

SCHMN

The minute of the hour. The default is 00. Valid entries are
00 through 59.

For example, to release a job at 3:30 pm, enter 15 as the

SCHHR, and 30 as the SCHMN.

SCHDT

The date, in host system format, that you want the job
released. The default is *TODAY, which releases the job on

the current day at the specified time.

For instance, if the system format is DDMMYY, enter the

041591 for April 15, 1991.

Another way to specify a date in the future is to enter a

plus sign ( ) followed by a value from 1 to 14. This

specifies the number of days from the current day to release

the job.

SCHJOB

The job name. The default is *JOBD which uses the name of the
user’s job description for the job name. You can use any name

for the job (up to ten characters).

SCHJOBD

The job description. The default is QBATCH, an IBM-supplied
job description that uses the job queue of the same name.

Library

The library containing the job description. *LIBL is
the default.

NOTE: The time you specify for the SBMSCHJOB command is the time the job
will be released, but not necessarily the time the job will be processed.

The time at which the job is processed depends on the number of jobs
ahead of it in the job queue.

Advertising