Previous Topic: PROCNAME Keyword—Define STC ProcedureNext Topic: PROCUSER Keyword—Maximum Number of Processes


Examples: PROCNAME keyword

This example fails all undefined STCs:

TSS ADDTO(STC) PROCNAME(DEFAULT)
               ACID(FAIL)

This example allow undefined STCs to BYPASS security:

TSS ADDTO(STC) PROCNAME(DEFAULT)
               ACID(BYPASS)

This example associates undefined STCs with a selected pre-existing ACID U123456:

TSS ADDTO(STC) PROCNAME(DEFAULT)
               ACID(U123456)

This example forces an operator to assign the ACID and password assigned to each separate execution of STC WHOAREU:

TSS ADDTO(STC) PROCNAME(WHOAREU)
               ACID(PROMPT)

This example forces an operator to indicate who started task WHOSTRT and assigns an execution ACID of MESTRT:

TSS ADDTO(STC) PROCNAME(WHOSTRT)
               ACID(MESTRT)
               STCACT

When executed, the following prompts appear:

S STCATC1
04 TSS7152A Specify Your AccessorID/Password to Allow Use of STC=STCATC1
R 4,OPER1A/SUPER
IEE600I REPLY TO 04 IS;SUPPRESSED
05 TSS7150A SPECIFY PASSWORD FOR STC=STCATC1 ACID=STCATC1
R 5,STC
IEE600I REPLY TO 05 IS;SUPPRESSED
$HASP100 STCATC1 ON STCINRDR
IEF695I START STCATC1 WITH JOBNAME STCATC1 IS ASSIGNED TO USER STCATC1
$HASP373 STCATC1 STARTED
IEF403I STCATC1 - STARTED - TIME=17.15.59
IEF404I STCATC1 - ENDED - TIME=17.16.00

Message TSS7150A appears due to the ACID operand, assigning ACID STCATC1 to PROCNAME STCATC1. For purposes of discussion, this ACID is listed below:

ACCESSORID = STCATC1 NAME = STCATC1
TYPE = USER SIZE = 256 BYTES
FACILITY = STC
DEPT ACID = SYSDEPT DEPARTMENT = QA SYSTEMS RESOUREC DEPT
CREATED = 04/20/06 LAST MOD = 04/20/06 12:15
LAST USED = 05/17/06 17:15 CPU(XE18) FAC(STC ) COUNT(00003)
PASSWORD = STC

The correct response to TSS7150A is the password of the assigned ACID.

The message TSS7152A appears in response to the STCACT keyword on the ADD command for PROCNAME STCATC1. The response provides a user and password indication of who entered the START command.

This example provides a common ACID CTSREGN for all procedure names that begin with the characters "CTS". CTS22 is set to FAIL because it is obsolete:

TSS ADD(STC) PROCNAME(CTS*)
             ACID(CTSREGN)
TSS ADD(STC) PROCNAME(CTS22)
             ACID(FAIL)

This example console command assigns the procname CTS31 to ACID CTSREGN:

START CTS31

This example console command fails:

START CTS22

These example STC definitions use invalid generic names:

TSS ADD(STC) PROCNAME(CTS*2)
             ACID(CICSYS2)
TSS ADD(STC) PROCNAME(*)
             ACID(TOOGENR)

This example removes definitions for STC PROCNAMES:

TSS REM(STC) PROCNAME(STCATC1)

This example associates a started task for a dump processing with an ACID (use the CREATE function to define ACID OP187):

TSS ADDTO(STC) PROCNAME(PRDMP)
               ACID(OP187)

This example associates undefined STCs with a default ACID (use the CREATE function to define ACID 12347):

TSS ADDTO(STC) PROCNAME(DEFAULT)
               ACID(12347)