Previous Topic: Execute the Batch Environment Administration FacilityNext Topic: Build Statements


Batch Admin Edit Macros

Use the Batch Environment Administration facility (Batch Admin) edit commands to create model SCL statements for the Build, Define, and Delete SCL statements. These commands are implemented as ISPF/PDF edit macros.You can invoke the commands in an ISPF/PDF edit session that has the CA Endevor SCM iprfx.iqual.CSIQCLS0 installation library allocated to its SYSPROC concatenation. The edit macros are written in REXX. Therefore, they are only available on TSO/E Version 2 or higher and ISPF/PDF Version 2.3 or higher. To invoke a command, open a blank member in a PDS dataset and execute the command name and object type. The syntax for the edit command is:

├── command name ─ object_type ─┬───────────────┬─ . ──────────────────────────┤
                                └─ object_name ─┘
Command Name

Identifies the SCL action you are creating and places model SCL statements at the current cursor location of the data set you are editing. The following general rules apply to the SCL created by the edit commands:

Specify one of the following commands:

ENDEFINE— Generates model SCL statements for DEFINE statements.

ENDELETE— Generates model SCL statements for DELETE statements.

ENBUILD— Generates model SCL statements for BUILD statements.

Note: For more information about the edit macros, enter ENBUILD HELP, ENDEFINE HELP or ENDELETE HELP on the ISPF/PDF edit session command line to view tutorials.

Object_Type

Identifies the kind of environment definition that you are creating.

The following table provides a list of valid object types and their abbreviations and the corresponding environment definition created. Object types are only valid for the commands marked with an "x" in the table below.

Object_type

Object_type Abbreviations

Environment Definition Created

Valid for ENDEFINE

Valid for ENDELETE

Valid for ENBUILD

SYSTEM

SYS

System

x

x

x

SUBSYSTEM

SUB

Subsystem

x

x

x

TYPE

TYP

Element Type

x

x

x

APPROVER

APP

Approver Group

x

x

x

RELATION

REL

Approver Group Relation

x

x

x

GROUP

GRO

Processor Group

x

x

x

SYMBOL

SYM

Processor Symbol

x

x

x

SEQUENCE

SEQ

Type Sequence*

x

 

x

ENVIRONMENT

ENV

Environment*

 

 

x

DESTINATION

DES

Package Shipment Destination

x

x

x

MAPRULE

MAP

Package Shipment Map Rule for Data Sets*

x

x

 

USSMAPRULE

USS

Package Shipment Map Rule for USS Path Names*

x

x

 

*Note:

Type Sequence: You cannot create or delete a Type Sequence. You can only update and build based on an exisiting Type Sequence.

Environment: You cannot delete an Environment. You can use ENBUILD to generate Define SCL that can be used to update the subordinate objects of the Environment or to define a new Environment based on the existing Environment and its subordinate objects.

Package Shipment Map Rules: You can only define or delete map rules. You cannot build a map rule based on an existing map rule.

Object_Name

(Optional.) Names the environment definition for which you are creating SCL. The macro substitutes the object_name into the SCL generated.

Examples: Batch Admin Edit Macro Commands

The following examples show how to code Batch Admin edit macro commands in an ISPF/PDF edit session to create SCL statements.