Change Job Scheduler (CHGSCDBRM)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

BRMS uses the i5/OS job scheduler as the default job scheduler. You can also choose to use the IBM Job Scheduler for iSeries job scheduler as your default scheduler or select any other i5/OS job scheduler as your default.

The Change Job Scheduler for BRM (CHGSCDBRM) command changes the job scheduler interface used by BRMS. You can use the i5/OS job scheduler, which is the default, IBM Job Scheduler for iSeries or another job scheduler that you choose. You can change the commands that BRMS uses to add, list and select job schedule entries. You can also specify whether you want to be prompted when BRMS uses these commands.

The following substitution variables can be used in these commands to pass values from BRMS to the scheduler:

You can change these to your operating requirements or choose to use the defaults.

To use this command, you must have the Backup Recovery and Media Services for iSeries, 5722-BR1, licensed program installed.

Top

Parameters

Keyword Description Choices Notes
TYPE Scheduler type *SYSTEM, *IJS, *USRDFN Optional, Positional 1
ADDCMD Add a job command Character value, *SAME, *IJS, *SYSTEM Optional
ADDPMT Command prompt for add *NO, *YES Optional
LISTCMD List jobs command Character value, *SAME, *IJS, *SYSTEM Optional
LISTPMT Command prompt for list *NO, *YES Optional
SLTCMD Select jobs command Character value, *SAME, *IJS, *SYSTEM Optional
SLTPMT Command prompt for select *NO, *YES Optional
Top

Scheduler type (TYPE)

Specifies which scheduler you want to use for scheduling BRMS control groups and commands. Any commercial or user developed scheduler can be used with BRMS.

*SYSTEM
Specifies that BRMS is to use the i5/OS job scheduler and its associated command set.

Note: When you specify *SYSTEM for the Scheduler type (TYPE) parameter, the ADDCMD, ADDPMT, LISTCMD, LISTPMT, SLTCMD and SLTPMT parameters are ignored.

*IJS
Specifies that BRMS is to use IBM Job Scheduler for iSeries and its associated command set.

Note: When you specify *IJS for the Scheduler type (TYPE) parameter, the ADDCMD, ADDPMT, LISTCMD, LISTPMT, SLTCMD and SLTPMT parameters are ignored.

*USRDFN
Specifies that you want to use another scheduling package command set or change the way in which BRMS starts the i5/OS job scheduler.

Note: When you specify *USRDFN in the Scheduler type (TYPE) parameter, all of the job scheduler commands are displayed and can be changed.

Top

Add job command (ADDCMD)

Specifies an alternative command to be used by BRMS to add a job schedule entry. When you are in a BRMS function that allows you to add a job to the job scheduler, the command that you specify here is started in lieu of the BRMS default command.

*SAME
The command used does not change.
*IJS
The Job Scheduler for iSeries command to add a job to the job schedule is used.
*SYSTEM
The i5/OS command to add a job to the job schedule is used.
user-command
Specify the command that you want BRMS to use when adding a job schedule entry.
Top

Command prompt for add (ADDPMT)

Specifies whether BRMS should prompt the command specified in the Add a job command (ADDCMD) parameter.

*NO
The command is not prompted when started by BRMS.
*YES
The command is prompted when started by BRMS.
Top

List jobs command (LISTCMD)

Specifies an alternative command to be used by BRMS to list all jobs in the job schedule. When you are in a BRMS function that allows you to list all jobs in the job schedule the command that you specify here is started.

*SAME
The command used does not change.
*IJS
The Job Scheduler for iSeries command to list all jobs in the job schedule is used.
*SYSTEM
The i5/OS command to list all jobs in the job schedule is used.
user-command
Specify the command that you want to use when listing all jobs in the job schedule.
Top

Command prompt for list (LISTPMT)

Specifies whether BRMS should prompt the command specified in the List jobs command (LISTCMD) parameter.

*NO
The command is not prompted when started by BRMS.
*YES
The command is prompted when started by BRMS.
Top

Select jobs command (SLTCMD)

Specifies an alternative command to be used by BRMS to list selected jobs in the job schedule. When you are in a BRMS function that allows you to select a list of BRMS jobs in the job schedule, the command that you specify here is started.

*SAME
The command used does not change.
*IJS
The Job Scheduler for iSeries command to select jobs in the job schedule is used.
*SYSTEM
The i5/OS command to select jobs in the job schedule is used.
user-command
Specify the command that you want BRMS to use when listing BRMS jobs in the job schedule.
Top

Command prompt for list (SLTPMT)

Specifies whether BRMS should prompt the command specified in the Select jobs command (SLTCMD) parameter.

*NO
The command is not prompted when started by BRMS.
*YES
The command is prompted when started by BRMS.
Top

Examples

CHGSCDBRM TYPE(*USRDFN) ADDCMD('ADDJOBJS JOB(&JOBNAME)
           APP(&APPL) SCDCDE(*DAILY) TIME (2300)
           CMD(&REQUEST)') ADDPMT(*YES)

This command changes the CL command used by BRMS to add a job schedule entry. In this example, an alternative scheduler is being used. When adding a back up job to the schedule BRMS will use the ADDJOBJS command and the substitution variables specified here.

Top

Error messages

*ESCAPE Messages

BRM1917
Feature not installed.
BRM1921
Feature not licensed.
BRM4040
Access denied for user &1.
BRM40A2
BRMS product initialization required.
CPF9800
All CPF98xx messages could be signaled. xx is from 01 to FF.
Top