USS User Process Initiation via MVS BATCH JOB


USS User Process BATCH Initiation - Sample JCL

//jobname JOB  (accounting,information),'job id data',
//        NOTIFY=userid
//*
//*  **********************************************************
//*  ***                                                    ***
//*  ***       INITIATE USS PROCESS VIA USTBATCH            ***
//*  ***                                                   ***
//*  *********************************************************
//*
//BACKUP    EXEC PGM=USTBATCH
//STEPLIB   DD   DISP=SHR,DSN=your.upstream.load.library
//SYSUDUMP  DD   SYSOUT=*
//USTLOG    DD   SYSOUT=*
//USTPARM   DD   *
APPLPREF=UPSTR
USAPPL=UPSTREAM
LOGMODE=#INTER
CONV=WAIT
*
TCPTARG=192.168.75.249
TCPPORT=2972
*
ACTION=5                           * RUN A USS USER PROCESS
JOBOPTIONS=3
JOBRETURNCODEMAP=0:0 4:4 ?:8

SPECNUMBER 1
FILES=/u/user01/setupdb
*
ENDPARM
/*
//


USS User Process Initiation via MVS BATCH JOB

Parameter

Value

Type

Description

TCPTARG

see

description

USS Process

The IP Address of the LPAR running the USS Process.

TCPPORT

see

description

USS Process

The IP Port number associated with the USS Process running at the above specified IP address.

ACTION

5

USS Process

5 - Indicates that this is a request to run a USS User Process.

JOBOPTIONS

3

USS Process

3 (bitmap) - Indicates:

  - 1=Start process and do not terminate UPSTREAM

  - 2 = Wait for process to terminate

JOBRETURNCODEMAP

0:0 4:4 ?:8

USS Process

Return code mapping applied at USS User Process completion. For each set of return codes, the left hand number is mapped into the value on the immediate right. “?” indicates all non-specified return codes.

FILES

/u/user01/setupdb

USS Process

Name of the USS User Process to start

 

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