Use one of the following commands:
-
For a cold start (which starts reading the receiver at the end of the current receiver).
SBMJOB CMD(CALL PGM(RPCS400)PARM('RPCS400_01' 'OMNIENT' '0' '*CURRENT' '*LAST'))JOB(RPCS400) JOBD(SHARE570/MXSHARE) CCSID(37)
USER(OMNIENT) CURLIB(OMNIENT) INLLIBL(SHARE570) INLASPGRP(*NONE))
where:
-
RPCS400_01 is the name of the Change Selector that you want to start. The suffix 01 is the server number of the Change Selector assigned in the model. For example, if the server is 1, use a suffix of 01, RPCS400_01. You may need to look at the current RPCS400 job to use the correct parameters. Use upper case for the library parameter. It does not have to be padded with blanks.
-
OMNIENT is the library where the metabase is installed. Do not specify with any leading or trailing spaces.
-
You can use the following parameters in cold starting:
*CURRENT, *CURCHAIN, *FIRST, *LAST
In the above example, the 4th and 5th parameter values specified as *CURRENT and *LAST, represent the starting receiver and starting journal sequences, and can be specified with the following options:
-
4th parameter: *CURRENT, *CURCHAIN, receiver name is specified as <library>/<receiver>
-
5th parameter: *FIRST, *LAST, journal sequence number
-
You can name the library and ID number (starting point in the receiver).
-
JOB(RPCS400) specifies the name that is associated with the job when it is processed by the system.
-
JOBD(SHARE60/MXSHARE) specifies the name of the product installation library for the job being submitted.
-
CCSID(37) specifies the Coded Character Set Identifier (CCSID) for the job being submitted.
-
USER(OMNIENT) specifies the name of the user profile for the job being submitted. You must be authorized to use the user profile and the job description; the user profile must also be authorized to use the job description.
-
CURLIB(OMNIENT) specifies the name of the current metabase library.
-
INLLIBL(SHARE570) specifies the name product installation library to add to the MXSHARE initial library list.
-
INLASPGRP(*NONE) specifies the setting of the initial auxiliary storage pool (iASP). In the above example the iASP group is set to *NONE. However, depending on iASP usage, this might have to be set to the iASP context if that is required.
-
For a warm start (which starts in the receiver stream at the position which was last processed by the Change Selector).
-
SBMJOB CMD(CALL PGM(RPCS400)PARM('RPCS400_01' 'OMNIENT' '1' '' '')) JOB(RPCS400) JOBD(SHARE60/MXSHARE) CCSID(37)
USER(OMNIENT) CURLIB(OMNIENT) INLLIBL(SHARE570) INLASPGRP(*NONE))
where:
-
RPCS400_01 is the name of the Change Selector that you want to start. The suffix 01 is the server number of the Change Selector assigned in the model. For example, if the server is 1, use a suffix of 01, RPCS400_01. You may need to look at the current RPCS400 job to use the correct parameters. Use upper case for the library parameter. It does not have to be padded with blanks.
-
OMNIENT is the library where the metabase is installed. Do not specify with any leading or trailing spaces.
-
JOB(RPCS400) specifies the name that is associated with the job when it is processed by the system.
-
USER(OMNIENT) specifies the name of the user profile for the job being submitted. You must be authorized to use the user profile and the job description; the user profile must also be authorized to use the job description.