+SVRPROCT


The +SVRPROCT parameter specifies the name of the PROCLIB member for tape processing when a started task is used (+SVRTYPE(STC)).

Important

This parameter applies only if you specify +SVRTYPE(STC) (run jobs as started tasks). If you submit jobs in regular batch mode (+SVRTYPE(JOB)), this parameter is ignored.

SVRPROCT.png

The value is defined as follows:

procName

The name of a PROCLIB member containing JCL for a started task. You can specify up to 8 characters or use the following supported symbolic variables.

Variable

Description

&ATTACH

Db2 group attachment name or subsystem ID

&DA

Current date (in the format MMDDYY)

&DATE

Current date (in the format YYMMDD)

&DATEJ

Current Julian date (in the format YYYYDDD)

&DAY

Current day (in the form DD)

&DT

Current Julian date (in the format YYYYDDD)

&GDATE

Gregorian date (in the format yyyymmdd)

&GROUP

Db2 group name (up to eight characters)

&GRPNM

Db2 data sharing group name or, in a non-data sharing environment, the Db2 SSID

&HO

Current hour (in the form HH)

&HOUR

Current hour (in the form HH)

&JD

Current Julian date (in the form DDD)

&JDATE

Current Julian date (in the form YYDDD)

&JDAY

Current Julian day (in the form DDD)

&JO

JOB name used in the JCL

&JOBNAME

JOB name used in the JCL

&JU

Julian data (in the form YYDDD)

&MEM

Db2 data-sharing member name

&MEMBER

Db2 data-sharing member name

&MIN

Current minute (in the form MM)

&MINUTE

Current minute (in the form MM)

&MO

Current month (in the form MM)

&MONTH

Current month (in the form MM)

&SC

Current second (in the form SS)

&SEC

Current second (in the form SS)

&SECOND

Current second (in the form SS)

&SEQ

Sequence number that increments with each reference

You can use it to provide unique output data set names. The sequence number restarts at 1 for each step.

&SS

The Db2 subsystem name or group name specified on the PARM=name attribute

&SSID

The Db2 subsystem name or group name specified on the PARM=name attribute

&ST

STEP name used in the JCL

&STEPNAME

STEP name used in the JCL

&TI

Current time (in the format HHMMSS)

&TIME

Current time (in the format HHMMSS)

&TIME4

Current time (in the format HHMM)

&UID

Job or TSO user ID

&UNIQ

Unique characters (eight characters)

&US

User name

&USER

User name

&USERID

Job user ID

&UT

BMC utility ID

&UTIL

BMC utility ID

&UTILID

BMC utility ID

&UTILNAME

BMC utility name

&UTILPFX

BMC utility ID prefix

&UTILSFX

BMC utility ID suffix

&UQ

Unique characters (eight characters)

&VER

The version (for example, 1310) of BMC AMI Utility being executed

&VER2

The first two characters of the version (for example, 13) of BMC AMI Utility being executed.

&VER3

The first three characters of the version (for example, 131) of BMC AMI Utility being executed

&VERSION

Version of 

BMC AMI Utilities

 (four numerical characters, for example, 1310)

&USER1

The value of the USER1(userVariable) parameter

&USER2

The value of the USER2(userVariable) parameter

&YE

Current year (in the form YY)

&YEAR

Current year (in the form YY)


Important

  • If the +SVRPROCT value contains special characters, you must enclose the procName with double quotes.

    +SVRPROCT("AMI&SUBSTR(&UTIL,3,4)T")

    When using symbolic variables, you can specify a maximum of 30 characters in the procName, but the resulting procName must be 8 characters or less.

  • The NGTCNTL library contains a sample started task procedure for use with this parameter - member NGTSERVT. You can use this sample as is, copy it, or modify it to customize it to your needs.
Example
+SVRPROCT(COTAPE)

When you run processing with +SVRTYPE(STC) indicating a started task is to be run, the product calls member COTAPE in the PROCLIB library. Contact your system administrator for the name of your PROCLIB data set, for access, and for content.

Important

For the rules that apply to parameter syntax, see Parameter syntax rules.


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*