EndevorSCM SCLRef ENU
EndevorSCM SCLRef ENU
Manager
Second Edition
This Documentation, which includes embedded help systems and electronically distributed materials, (hereinafter referred to
as the “Documentation”) is for your informational purposes only and is subject to change or withdrawal by CA at any time. This
Documentation is proprietary information of CA and may not be copied, transferred, reproduced, disclosed, modified or
duplicated, in whole or in part, without the prior written consent of CA.
If you are a licensed user of the software product(s) addressed in the Documentation, you may print or otherwise make
available a reasonable number of copies of the Documentation for internal use by you and your employees in connection with
that software, provided that all CA copyright notices and legends are affixed to each reproduced copy.
The right to print or otherwise make available copies of the Documentation is limited to the period during which the applicable
license for such software remains in full force and effect. Should the license terminate for any reason, it is your responsibility to
certify in writing to CA that all copies and partial copies of the Documentation have been returned to CA or destroyed.
TO THE EXTENT PERMITTED BY APPLICABLE LAW, CA PROVIDES THIS DOCUMENTATION “AS IS” WITHOUT WARRANTY OF ANY
KIND, INCLUDING WITHOUT LIMITATION, ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE, OR NONINFRINGEMENT. IN NO EVENT WILL CA BE LIABLE TO YOU OR ANY THIRD PARTY FOR ANY LOSS OR DAMAGE,
DIRECT OR INDIRECT, FROM THE USE OF THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION, LOST PROFITS, LOST
INVESTMENT, BUSINESS INTERRUPTION, GOODWILL, OR LOST DATA, EVEN IF CA IS EXPRESSLY ADVISED IN ADVANCE OF THE
POSSIBILITY OF SUCH LOSS OR DAMAGE.
The use of any software product referenced in the Documentation is governed by the applicable license agreement and such
license agreement is not modified in any way by the terms of this notice.
The manufacturer of this Documentation is CA.
Provided with “Restricted Rights.” Use, duplication or disclosure by the United States Government is subject to the restrictions
set forth in FAR Sections 12.212, 52.227-14, and 52.227-19(c)(1) - (2) and DFARS Section 252.227-7014(b)(3), as applicable, or
their successors.
Copyright © 2014 CA. All rights reserved. All trademarks, trade names, service marks, and logos referenced herein belong to
their respective companies.
CA Technologies Product References
This document references the following CA Technologies products:
CA Endevor® Software Change Manager (CA Endevor SCM)
CA Endevor® Software Change Manager Automated Configuration (CA Endevor
Automated Configuration)
CA Change Manager Enterprise Workbench (CA CMEW)
Contact CA Technologies
Contact CA Support
For your convenience, CA Technologies provides one site where you can access the
information that you need for your Home Office, Small Business, and Enterprise CA
Technologies products. At http://ca.com/support, you can access the following
resources:
■ Online and telephone contact information for technical assistance and customer
services
■ Information about user communities and forums
■ Product and documentation downloads
■ CA Support policies and guidelines
■ Other helpful resources appropriate for your product
Note: In PDF format, page references identify the first page of the topic in which a
change was made. The actual change may appear on a later page.
Version 17.0
■ Restyled the introductory information in the chapter "Managing Environments in
Batch" into the following topics: How to Manage Environments in Batch (see
page 242), Create SCL for Environment Objects (see page 244), Execute the Batch
Environment Administration Facility (see page 245), and Batch Admin Edit Macros
(see page 247).
■ Updated various topics to indicate that you can name mask the From Environment
environment-name value in certain Build SCL statements. The following topics were
updated: Name-Masking (see page 23), Build Statements (see page 250), Build SCL
for Approver Group Syntax (see page 250), Build SCL for Approver Relations Syntax
(see page 252), Build SCL for Environment Syntax (see page 253), Build SCL for
Processor Group Syntax (see page 255), Build SCL for Processor Symbol Syntax (see
page 257), Build SCL for Subsystem Syntax (see page 259), Build SCL for System
Syntax (see page 261), Build SCL for Type Syntax (see page 263), and Build SCL for
Type Sequence Syntax (see page 264).
Version 16.0
■ Set Options Syntax (see page 57), Print Element Syntax (see page 154)— Updated
the NOCC option description.
■ Set To Syntax (see page 70), Print Element Syntax (see page 154), and Print Member
Syntax (see page 160)— Updated to include the C1PRTVB ddname for the TO
clause.
■ Define Shipment Destination Syntax (see page 274)— Updated to add the clauses
USS Host Path Name Prefix and USS Remote Name Prefix, which enable you to use
batch administration to define shipment destinations for USS supported files.
■ The Define Shipment USS Mapping Rule Action (see page 282) and Define Shipment
USS Mapping Rule Syntax (see page 282)— Added to document this action, which
enables you to use batch administration to define mapping rules for USS supported
files.
■ The Delete Shipment Destination Action (see page 311)— Updated to specify that
USS mapping rules are also deleted when a destination is deleted.
■ The Delete Shipment USS Mapping Rule Action (see page 312) and Delete Shipment
USS Mapping Rule Syntax (see page 312)— Added to enable you to delete USS
mapping rules.
■ Deleted obsolete notes from the following topics. The notes stated that batch
administration could not be used to define package ship destinations or mapping
rules for USS supported files.
– The Build SCL for Shipment Destination Action
– The Define Shipment Destination Action (see page 273)
– The Define Shipment Mapping Rule Action (see page 273)
■ Define Type Syntax (see page 291)— Updated to add the Element RECFM Is clause
that is used by the CA Endevor Quick Edit option to specify whether the ISPF edit
data set's record length format is fixed or variable.
■ The following changes were made for enhancements to the Autogen option:
– Set Option Syntax (see page 57)— Updated to add the Autogen Span options.
– Actions and the Set Options Statement (see page 66)— Updated to add notes
about the Autogen option.
– Clear Option Syntax (see page 81)— Updated to state that the Clear Option
Autogen statement also clears any Autogen Span options previously set.
– Add Syntax (see page 88)— Updated to add the Autogen Span options. Also
added the AUTOGEN_SOURCE option for ENCOPTBL, which changes the
behavior of Autogen.
– Generate Syntax (see page 116)— Updated to add the Autogen Span options.
Also added the AUTOGEN_SOURCE option for ENCOPTBL, which changes the
behavior of Autogen.
– Update Syntax (see page 202)— Updated to add the Autogen Span options.
Also added the AUTOGEN_SOURCE option for ENCOPTBL, which changes the
behavior of Autogen.
■ The Validate Statement— Updated to remove an obsolete statement about there
being "no component support for long names."
Release 15.1
■ Archive Syntax (see page 104)—Updated to change the minimum LRECL for the
Archive statement To File clause.
■ How to Allocate Data Sets for Large Elements (see page 170)—Added using text
copied from Extended Processors Guide. This information is valid for both the
Restore statement and the Transfer statement.
■ Transfer from CA Endevor SCM to Archive Data Set Syntax (see page 189)—Updated
to clarify a note regarding LRECL for the To File clause.
■ Added a note to the following topics, which states that batch administration cannot
be used to define package ship destinations or mapping rules for USS supported
files:
– The Build SCL for Shipment Destination Action
– The Define Shipment Destination Action (see page 273)
– The Define Shipment Mapping Rule Action (see page 273)
Version 15.0
■ Set From Syntax (see page 55)—Updated to add the Retain Generate History option
and remove MEMBER removed from syntax diagram.
■ Set Options Syntax (see page 57)—Updated to add the Retain Generate History
option. Updated to indicate that the NoSource option can be specified as
NOSOurce.
■ Actions and the Set Options Statement (see page 66)—Updated to add the Retain
Generate History option.
■ Clear Options Syntax (see page 81)—Updated to add the Retain Generate History
option. Updated to indicate that the NoSource option can be specified as
NOSOurce.
■ The Archive Statement—Updated Element delete behavior.
■ The Delete Statement—Updated Element delete behavior.
■ Generate Syntax (see page 116)—Updated to indicate that the NoSource option can
be specified as NOSOurce.
■ Restore Syntax (see page 163)—Updated to add the Retain Generate History
option.
■ The Transfer Statement (see page 180)—Updated Element delete behavior.
■ Transfer from CA Endevor SCM to CA Endevor SCM Syntax (see page 182)—Updated
to remove an erroneous reference to FILE | DDNAME.
■ Transfer from CA Endevor SCM to Archive Data Set Statement— Updated the
diagram FROM clause to add the missing keyword DDNAME. Updated descriptions
for Element delete behavior and the specifications for data sets for the TO clause.
■ Transfer From Archive Data Set or Unload Tape to CA Endevor SCM Syntax (see
page 194)—Updated the diagram FROM clause to add the missing keywords and
variable: FILE | DDNAME ddname.
■ The Backin Package Action (see page 221)—Updated to add the Element action
backin option.
■ Backin Package Syntax (see page 221)—Updated to add the STATEMENT NUMBER
and ELEMENT clauses for the Element action backin option.
■ The Backout Package Action (see page 222)—Updated to add the Element action
backout option.
■ Backout Package Syntax (see page 222)—Updated to add the STATEMENT NUMBER
and ELEMENT clauses for the Element action backout option.
■ Delete Package Syntax (see page 230)—Updated to correct diagram for the Where
Package Status clause.
■ Execute Package Syntax (see page 232)—Updated the diagram to indicate that
EXECUTE cannot be abbreviated. Also, corrected the diagram for the Where
Package Status clause.
■ Submit Package Syntax (see page 235)—Updated to correct diagram for the Where
Package Status clause.
■ Invoking Edit Commands (see page 247)—Added information on how to use an edit
command.
■ Define Processor Symbol Syntax (see page 272)—Corrected last line of the syntax
diagram.
■ Define Shipment Destination Syntax (see page 274)—Updated the syntax diagram
and added a description for the option REMOTE IPNAME IPPORT.
■ Define Subsystem Syntax (see page 284)—Updated to add the clause Exclude
Duplicate Processor Output Check.
■ Define System Syntax (see page 285)—Updated to add the optional clause Across
Subsystems to the clause Duplicate Processor Output Type Check is Active.
■ Define Type Syntax (see page 291)—Updated the Element Delta Format
specification to add the Log delta format option.
Contents
Chapter 1: Introduction 13
The Software Control Language (SCL) ........................................................................................................................ 13
How Type Sequence Processing Works ...................................................................................................................... 15
Process Flow........................................................................................................................................................ 17
Process Flow Using Global Type Sequencing ...................................................................................................... 22
Name-Masking ........................................................................................................................................................... 23
Wildcards ............................................................................................................................................................ 23
Placeholders ........................................................................................................................................................ 24
Valid Uses for Name-Masks ................................................................................................................................ 25
SCL Statement Syntax Conventions ............................................................................................................................ 26
Syntax Diagram ................................................................................................................................................... 30
Rules for Coding Syntax....................................................................................................................................... 33
Contents 9
Chapter 4: Processing Element Actions 85
SCL Coding Conventions ............................................................................................................................................. 86
SCL Execution JCL ................................................................................................................................................ 86
&&ACTION Statement ................................................................................................................................................ 87
Add Statement ........................................................................................................................................................... 88
Alter Statement .......................................................................................................................................................... 95
Archive Statement .................................................................................................................................................... 104
Copy Statement ........................................................................................................................................................ 109
Delete Statement ..................................................................................................................................................... 113
Generate Statement ................................................................................................................................................. 116
List Statement .......................................................................................................................................................... 122
List From CA Endevor SCM Statement .............................................................................................................. 123
List from Archive Data Set ................................................................................................................................. 133
List Members from External Library .................................................................................................................. 141
Move Statement....................................................................................................................................................... 146
Print Statement ........................................................................................................................................................ 152
Printing from CA Endevor SCM ......................................................................................................................... 153
Printing from an Output Library ........................................................................................................................ 153
The Print Element Statement ............................................................................................................................ 153
The Print Member Statement ........................................................................................................................... 160
Restore Statement ................................................................................................................................................... 163
How Restore Processing Works ........................................................................................................................ 169
How to Allocate Data Sets for Large Elements .................................................................................................. 170
Retrieve Statement .................................................................................................................................................. 170
Signin Statement ...................................................................................................................................................... 176
Transfer Statement .................................................................................................................................................. 180
How to Allocate Data Sets for Large Elements .................................................................................................. 181
Transfer from CA Endevor SCM to CA Endevor SCM Statement ....................................................................... 182
Transfer from CA Endevor SCM to Archive Data Set Statement ....................................................................... 189
Transfer From Archive Data Set or Unload Tape to CA Endevor SCM Statement............................................. 194
Update Statement .................................................................................................................................................... 202
Validate Statement .................................................................................................................................................. 208
Contents 11
Build SCL for Shipment Destination Syntax ....................................................................................................... 258
Build SCL for Subsystem Syntax ........................................................................................................................ 259
Build SCL for System Syntax .............................................................................................................................. 261
Build SCL for Type Syntax .................................................................................................................................. 263
Build SCL for Type Sequence Syntax ................................................................................................................. 264
Define Statements .................................................................................................................................................... 266
Define Approver Group Syntax ......................................................................................................................... 267
Define Approver Relation Syntax ...................................................................................................................... 268
Define Processor Group Syntax......................................................................................................................... 270
Define Processor Symbol Syntax ....................................................................................................................... 272
The Define Shipment Destination Action .......................................................................................................... 273
The Define Shipment Mapping Rule Action ...................................................................................................... 281
The Define Shipment USS Mapping Rule Action ............................................................................................... 282
The Define Subsystem Action ........................................................................................................................... 284
The Define System Action ................................................................................................................................. 285
The Define Type Action ..................................................................................................................................... 291
The Define Type Sequence Action .................................................................................................................... 303
Delete Statements.................................................................................................................................................... 305
The Delete Approver Group Action ................................................................................................................... 306
The Delete Approver Relation Action ............................................................................................................... 307
The Delete Processor Group Action .................................................................................................................. 308
The Delete Processor Symbol Action ................................................................................................................ 309
The Delete Shipment Destination Action .......................................................................................................... 311
The Delete Shipment Mapping Rule Action ...................................................................................................... 312
The Delete Shipment USS Mapping Rule Action ............................................................................................... 312
The Delete Subsystem Action ........................................................................................................................... 313
The Delete System Action ................................................................................................................................. 314
The Delete Type Action ..................................................................................................................................... 314
Because of its consistent nature, SCL is easy to learn and use. For example, you can
establish global settings that can be used over and over. This provides a concise and
consistent set of options or location information which can be applied to any number of
actions, and you need code this information only once in each job stream. Conversely,
you can override any pre- established settings by entering like information in a
particular request.
There are many features and benefits to using SCL. The following list emphasizes those
aspects of SCL that both facilitate and enhance CA Endevor SCM processing.
■ SCL allows you to set up a single list or multiple lists of element actions for further
manipulation in CA Endevor SCM.
■ SCL allows you to manipulate elements or members singly, on a module-by-module
level. SCL also allows you to manipulate several library members or module
elements at a time. You can tailor your coding to meet your requirements at any
time.
Chapter 1: Introduction 13
The Software Control Language (SCL)
■ SCL is extremely flexible. You can establish global settings for element action
requests (using a SET statement), and override one or all of your selections on a
local level; that is, within each individual element action request. In addition:
– You can define the files you want to manipulate either within the language (for
example, using a clause such as SET DSNAME...) or external to the language (for
example, using a clause such as SET FILE...).
– You can delay the specification of actions to be run at a particular time, by
using the &&ACTION facility (see the description of &&ACTION in the chapter
"Element Action Statements"). This capability allows you to define a list of
actions for future use and re-use, so you can code only what you need when
you need it.
■ SCL allows you to mix CA Endevor SCM locations within the same execution. You
can change environment, system, subsystem, or type at any time.
■ SCL supports processing in type-sequence order, automatically sorting elements
according to the specifications determined by the CA Endevor SCM administrator in
your organization.
■ SCL supports list processing. List processing enables you to:
– Generate a list, edit it as necessary, and break it up into multiple executions
instead of keying individual statements.
– Generate lists based on different selection criteria.
– Perform configuration management through the use of a special WHERE
COMPONENTS EQUAL option.
– Support a single scan facility that will run against CA Panvalet, CA Librarian, a
PDS, and CA Endevor SCM, so you do not need to use separate utilities to scan
source code.
■ SCL serves as a problem-solving tool, by allowing you to quickly isolate system
errors. For example, you can use the WHERE GENERATE FAILED option to generate
a list of only those elements that were not successfully processed at a specific time.
■ SCL supports vendor interfaces. You can execute SCL from a user-written program,
which allows you to write user-defined front-ends for use with various proprietary
or vendor-supplied programs.
■ SCL enables you to integrate CA Endevor SCM into existing change
management/change administration job scheduling systems.
■ SCL supports release scheduling (job management). For example, moving a group of
elements from a test environment to a production environment any given day.
You have the option of enforcing an Element type processing sequence within an
environment/system definition or through the definition of a single file which enforces
an Element type processing sequence at the site level. With Global Type Sequencing, all
Elements across all environments follow the same processing sequence.
By default, CA Endevor SCM lets you to define the relative sequence of processing for
the various Element types defined within a system. If your site does not choose the
Global Type Sequencing option, Element actions execute within your system in the same
order as the types were defined to the system and stage by the administrator or as
reordered by the administrator using the Type Sequence panel.
When Global Type Sequencing is enabled, Element actions are processed by type
sequence regardless of the inventory location of each action. SCL and API Element
actions are executed in type sequence order defined at the site level in the Type
Sequence member created by the administrator. When Global Type Sequencing is in
effect, any types that are not included in the Type Sequence member are processed
after all the types in the Type Sequence member have completed processing. Then they
are processed in type name order.
Note: For more information about defining the type processing sequence or enabling
Global Type Sequencing, see the scenario "How to Enable Global Type Sequencing" in
the Scenario Guide.
Whether you are using Global Type Sequencing or not, Element action SCL statements
are processed in type sequence order. The type specified in the FROM or TO clause
determines the sequence in which Element action requests are processed.
An Element's type is indicated in the FROM clause or TO clause (or both). The exact type
entry used to determine the processing sequence (that is, type as defined in the FROM
clause or the TO clause) depends upon the Element action requested.
The following table summarizes, for each Element action, how the type sequence is
determined.
Chapter 1: Introduction 15
How Type Sequence Processing Works
Actions are put into the appropriate sequence and executed within each system. In the
following illustration, actions have been requested for two systems: System A and
System B. Assume that the system administrator has established the following type
processing sequences:
■ For System A: COPYBOOK, then COBOL
■ For System B: MACRO, then ASSEMBLER
As previously illustrated, given the Element type definitions shown for each action,
processing would occur in the following sequence.
1. SYSTEM A: ADD ELEMENTS...TYPE COPYBOOK
2. SYSTEM A: GENERATE ELEMENTS...TYPE COPYBOOK...
3. SYSTEM A: ADD ELEMENTS...TYPE COBOL...
4. SYSTEM B: RETRIEVE ELEMENTS...TYPE MACRO
5. SYSTEM B: ADD ELEMENTS...TYPE ASSEM...
Actions are put into the appropriate type sequence and executed as defined by your
administrator. For example, assume that the system administrator has established the
following type sequence:
1. COPYBOOK
2. MACRO
3. COBOL
4. ASSEMBLER
Given the Element type sequencing definition, processing would occur in the following
sequence, regardless of the inventory location.
1. ADD ELEMENTS...TYPE COPYBOOK
2. GENERATE ELEMENTS...TYPE MACRO
3. RETRIEVE ELEMENTS...TYPE MACRO
4. ADD ELEMENTS...TYPE COBOL
5. ADD ELEMENTS...TYPE ASSEMBLER
Process Flow
When you submit your SCL requests, CA Endevor SCM follows a specific processing flow
to execute the actions.
When Global Type Sequencing is not enabled at your site, the process flow is as follows:
1. CA Endevor SCM first parses, or validates, the SCL syntax, assigning a statement
number to each SCL statement coded.
A Syntax Report is produced, echoing the SCL statements entered and flagging any
syntax errors.
2. When all requests have been validated, CA Endevor SCM checks for errors. If errors
exist within the syntax, processing is terminated.
If no errors exist, processing continues.
Chapter 1: Introduction 17
How Type Sequence Processing Works
3. CA Endevor SCM checks whether any statements have been entered with an
archive file designated as the FROM location. All such actions are performed first, as
they are encountered.
For example, assume you code both an ARCHIVE action and a RESTORE action. If
you want CA Endevor SCM to perform the RESTORE action before the ARCHIVE
action, designate an archive file as the RESTORE action's FROM location. If you want
to perform the ARCHIVE action before the RESTORE action, however, you need to
execute SCL twice-first to perform the ARCHIVE action and then to perform the
RESTORE action.
For Elements that are restored, transferred, copied, or listed from an archive file,
processing occurs as follows:
a. The Element(s) is restored (or transferred, copied, or listed), but it is not
generated at this time.
b. CA Endevor SCM continues processing the remaining actions, as described in
the following steps (beginning with Step 4).
4. CA Endevor SCM expands any name-mask that may have been entered for system,
subsystem, stage, and type.
■ Beginning with the first SCL syntax request, CA Endevor SCM checks for use of
the name-mask with the system name.
If a name-mask has not been used with the system name in the first SCL syntax
request, CA Endevor SCM checks for the name-mask in the next syntax request.
If no name-mask is found and the system name is the same, CA Endevor SCM
checks the system name of the third syntax request. This procedure continues
until a system name is found with a name-mask or a new system name is
encountered, or until all syntax requests have been searched.
When one of the three situations mentioned above occurs, CA Endevor SCM
returns to the first syntax request and checks for a name-mask with the type
name.
Again, if no name-mask is found, the second syntax request is checked, and so
on until a type name is found with a name-mask or a new type name is
encountered, or until all syntax requests have been checked. This procedure is
repeated for stage and subsystem.
CA Endevor SCM examines each clause (SYSTEM and STAGE) in the syntax
request until a non-match is found. Once a difference is encountered, CA
Endevor SCM executes the previous syntax requests-.in type sequence order
(see Step 5). Processing then continues accordingly with the next syntax
request.
■ If a name-mask has been used with the system name in the first syntax request,
CA Endevor SCM expands the entries. Then, within each system of the first
syntax request, any remaining name-masks are expanded (in the appropriate
order).
Chapter 1: Introduction 19
How Type Sequence Processing Works
This example shows how type processing works when Global Type Sequencing is not
used. The following illustration displays a typical set of SCL requests:
The type processing sequence has been determined as COPYBOOK, COBOL, MACRO.
Processing takes place as follows:
1. CA Endevor SCM first checks the system specification. No name-mask is found, but
the system in request #4-PERSONEL-differs from the system in the first three
requests-FINANCE.
2. CA Endevor SCM returns to the first request to check the type specification.
Note: All actions within a particular system are executed at the same time. When a
different system name or use of the name-mask is encountered, CA Endevor SCM
returns to the first request in the "initial" system and continues processing from
a
that point.
3. The type is different for all three requests in system FINANCE. Because type
sequence processing conventions apply, the requests are executed in the following
order:
Statement #3
Statement #2
Statement #1
Before the requests are executed, CA Endevor SCM checks whether name-masks
have been used with stage. The field is the same for all three requests. Therefore,
the actions are executed in the appropriate order.
4. CA Endevor SCM returns to request #4 and checks the system specification in the
remaining requests. Both request #4 and request #5 contain the same
system-PERSONEL. Request #6, however, contains a different system.
5. CA Endevor SCM returns to request #4 and checks the type specification. Again, the
types are different, and the requests are executed in type sequence order:
Statement #4
Statement #5
CA Endevor SCM checks the stage and subsystem specifications for a name-mask;
none is found. Consequently, CA Endevor SCM continues processing by executing
the requests in the order shown above.
6. Request #6 is the last request, and contains a name-mask in the system
specification. CA Endevor SCM processes this request by expanding all name-masks
encountered in the system, type, stage, and subsystem names and, finally,
executing the actions.
Chapter 1: Introduction 21
How Type Sequence Processing Works
When Global Type Sequencing is enabled at your site, SCL and API Element actions
execute in type sequence order defined at the site level by the CA Endevor SCM
administrator, regardless of the action's inventory location. Any types that are not
included in the Type Sequence member are processed after all the types in the Type
Sequence member have completed processing.
Note: When inventory errors are found during the API/SCL expansion phase, these
actions are reported as they occur. They always appear before any dispatched CA
Endevor SCM action. When a not found condition occurs for an Element or member
name with non-explicit inventory, such errors are reported last, after all other actions
have been processed.
Name-Masking
To help you more easily find information and process requests, you can use
name-masking. By substituting a name with the asterisk wildcard character (*), a
character with the percent sign placeholder (%), or by using both together, it is much
easier to find information and process requests.
Wildcards
A wildcard is an asterisk (*) character that can be used in a search string to represent
the entire search string or the end of a search string. It represents any number of
characters. When a wildcard is used as the only character of a search string, all
members of the search field are returned. When a wildcard is used as the last character
of the search string, the only members of the search field returned are those that begin
with the characters in the search string preceding the wildcard.
Chapter 1: Introduction 23
Name-Masking
You cannot have more than one wildcard in a string. For example, the statement ADD
ELEMENT U*PD* would result in an error.
■ This example shows how to use a wildcard as the last character of a search string.
This command adds all Elements beginning with UPD such as UPDATED or UPDATE.
ADD ELEMENT UPD*
■ This example shows how to use the asterisk wildcard as the last character of a
search string to select all package IDs beginning with PKG, such as PKGS, PKGB,
PKGC, PKGB2, and PKGC5A.
PKG*
Placeholders
A placeholder is a percent sign (%) character that can be used to represent one
character in a search string. It can be used at the end of a search string, multiple times
within a search string, or both. When a placeholder is used as the last character in a
string, all members of the search field are returned, beginning with the characters in the
search string preceding the placeholder, but which have no more characters than were
used in the search string.
■ This example shows how to use the placeholder to return all four-character package
IDs beginning with PKG, such as PKGS, PKGB, and PKGC.
PKG%
■ This example shows how to use the placeholder multiple times in a single search
string to return all Elements with five-character names that have the letter U as the
first character and PD as the third and fourth character.
ADD ELEMENT U%PD%
■ This example shows how to use both the wildcard and placeholder to select all
package IDs that have P as the first character, any one character as the second
character, and G as the third character, for example, PKGABCD, POGS, PIGGY,
PPG1234NDVR, and so on.
P%G*
Chapter 1: Introduction 25
SCL Statement Syntax Conventions
This syntax represents the continuation of a syntax statement to the following line:
───────────────────────────────────►
This syntax represents the continuation of a syntax statement from the preceding line:
►───────────────────────────────────
This syntax represents a required keyword. Only the uppercase letters are necessary:
►►─ KEYword ─────────────────────────────────────────────────────────────►◄
This syntax represents an optional keyword. Optional keywords appear below the
syntax line. If coded, only the uppercase letters are necessary:
►►─┬───────────┬─────────────────────────────────────────────────────────►◄
└─ KEYword ─┘
This syntax represents a choice of required, mutually exclusive keywords. You must
choose only one keyword:
►►─┬─ KEYword ONE ───┬────────────────────────────────────────────────────────►◄
├─ KEYword TWO ───┤
└─ KEYword THRee ─┘
Chapter 1: Introduction 27
SCL Statement Syntax Conventions
This syntax represents a choice of optional keywords. The boxed-shaped stars (¤)
indicate that the keywords are not mutually exclusive. Do not code any keyword more
than once:
►►─ ¤ ─┬─────────────────┬─ ¤ ────────────────────────────────────────────────►◄
├─ KEYword ONE ───┤
├─ KEYword TWO ───┤
└─ KEYword THRee ─┘
This syntax represents a choice of required, mutually exclusive keywords, one of which
is the default. In this example, KEYword ONE is the default keyword, because it is shown
on the line with an arrow pointing to it:
►►─┬─ KEYword ONE ◄ ─┬────────────────────────────────────────────────────────►◄
├─ KEYword TWO ───┤
└─ KEYword THRee ─┘
Note: A default can be shown one of two ways in the syntax diagrams. The default is
shown either above the line or on the line with an arrow pointing to it. In this example,
KEYword ONE is the default keyword, because it is shown above the line:
Note: A default can be shown one of two ways in the syntax diagrams. The default is
shown either above the line or on the line with an arrow pointing to it. In this example,
variable one is the default variable because it appears above the syntax line:
This syntax represents a choice of optional, mutually exclusive keywords, one of which is
the default. In this example, KEYword ONE is the default keyword, because it is shown
on the line with an arrow pointing to it:
►►─┬─────────────────┬────────────────────────────────────────────────────────►◄
├─ KEYword ONE ◄ ─┤
├─ KEYword TWO ───┤
└─ KEYword THRee ─┘
Note: A default can be shown one of two ways in the syntax diagrams. The default is
shown either above the line or on the line with an arrow pointing to it.. In this example,
KEYword ONE is the default keyword because it appears above the syntax line:
Note: A default can be shown one of two ways in the syntax diagrams. The default is
shown either above the line or on the line with an arrow pointing to it. In this example,
variable one is the default variable because it appears above the syntax line:
This syntax represents a required variable that can be repeated. Separate each
occurrence with a comma and enclose all variables in a single set of parenthesis:
┌─ , ────────┐
►►─ ( ─▼─ variable ─┴─ ) ─────────────────────────────────────────────────────►◄
Chapter 1: Introduction 29
SCL Statement Syntax Conventions
This syntax represents an optional variable that can be repeated. Separate each
occurrence with a comma and enclose all variables in a single set of parenthesis:
►►─┬────────────────────────┬─────────────────────────────────────────────────►◄
│ ┌─ , ────────┐ │
└─ ( ─▼─ variable ─┴─ ) ─┘
This syntax represents a reference to a syntax fragment. Fragments are listed on the
lines immediately following the required period at the end of each syntax statement:
►►─ ┤ FRAGMENT REFERENCE ├ ───────────────────────────────────────────────────►◄
Expansion of FRAGMENT
├── KEYword ─ variable ────────────────────────────────────────────────────────┤
This syntax represents the period required at the end of all syntax statements:
►────────────────────────.────────►◄
Syntax Diagram
The CA Endevor SCM syntax diagram lets you quickly see how to construct a statement
or command. The following is a sample syntax diagram for the Archive Element action.
►►─ ARChive ELEment ─ element-name ─┬──────────────────────────────┬─ FROm ───►
└─┬─ THRough ─┬─ element-name ─┘
└─ THRu ────┘
►─ ENVironment ─ env-name ─ SYStem ─ sys-name ─ SUBsystem ─ subsys-name ─────►
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of PRO
┌─ , ──────────┐
├── PROcessor GROup ─┬─ EQ ─┬─ ( ─▼─ group name ─┴─ ) ─────────────────────────┤
└─ = ──┘
Chapter 1: Introduction 31
SCL Statement Syntax Conventions
CCID fragment
The keyword CCId appears on the main line, indicating that it is required. The OF
clause appears below the main line, indicating that it is optional. If you code this
clause, you must code the keyword OF, as it appears on the main line of the clause.
CURrent, ALL, and RETrieve appear above, on, and below the main line of the
clause, indicating that they are required, mutually exclusive keywords. CURrent
appears above the main line, indicating that it is the default. If you code the
keyword OF, you must choose one and only one of the keywords.
The keywords EQual and = appear above and below the main line, indicating that
they are optional, mutually exclusive keywords. EQual appears above the main line,
indicating that it is the default. You can include only one. The variable ccid appears
on the main line, indicating that it is required. The arrow indicates that you can
repeat this variable, separating each instance with a comma. Enclose all variables in
a single set of parenthesis.
PRO fragment
The keyword PROcessor GROup appears on the main line, indicating that it is
required. The keywords EQual and = appear on and below the main line, indicating
that they are required, mutually exclusive keywords. You must include one. The
variable group name appears on the main line, indicating that it is required. The
arrow indicates that you can repeat this variable, separating each instance with a
comma. Enclose all variables in a single set of parenthesis.
Chapter 1: Introduction 33
SCL Statement Syntax Conventions
Note: Null (X'00') characters are translated to spaces (X'40') in the text of Comments
and CCIDs.
Note: To remove information from an existing field in the database, enclose a blank
space in single or double quotation marks. For example, the following statement
removes the default CCID for user TCS:
DEFINE USER TCS
DEFAULT CCID " ".
Important! The characters "*" and "%" are reserved for name-masking.
&&ACTION Statement
If you use the &&ACTION statement, you must have previously coded a SET ACTION
statement. Refer to the descriptions of SET ACTION in “Set, Clear, and EOF Statements”,
and the description of &&ACTION in “Element Action Statements” for complete coding
information.
Duplicate keywords do not make SCL statements invalid. In the case of duplicate
keywords, the last keyword is used. The following SCL statement is valid. Stage 1 and
Type ASMPGM are ignored, and Stage 2 and Type COBOL are used.
GENERATE ELEMENT XZY FROM ENV 'ENV1' SYSTEM 'ESCM140' SUBSYSTEM 'GA' 3RD STMT
STAGE 1
STAGE 2
TYPE ASMPGM
TYPE COBOL
.
The following examples show valid and invalid comments in SCL statements:
■ The comment on the last line is valid, because it is to the right of the period and is
separated from the period by a blank space. The comments on the first two lines
are valid because they are preceded by an asterisk in the first column of each line.
** Valid: The comment on the last line is valid because it is to the right of
** the period and is separated from the period by a blank space.
GENERATE ELEMENT XZY FROM ENV 'ENV1' SYSTEM 'ESCM140' SUBSYSTEM 'GA'
TYPE ASMPGM STAGE A
. This is a valid comment on an SCL statement.
■ The comment on the last line is not valid, because, even thought it is to the right of
the period, there is no blank space after the period.
GENERATE ELEMENT XZY FROM ENV 'ENV1' SYSTEM 'ESCM140' SUBSYSTEM 'GA'
TYPE ASMPGM STAGE NUM 1
., This is an invalid comment on an SCL statement.
■ The comment on the last line is not valid, because there is no period to separate
SCL the from the comment. This error message would result: E004 INVALID
COMMAND WORDING, FOUND: this. The parser catches the word this. If you add a
blank between ASMPGM and /*, /* would be flagged as the invalid command word.
GENERATE ELEMENT XZY FROM ENV 'ENV1' SYSTEM 'ESCM140' SUBSYSTEM 'GA'
STAGE 1
TYPE ASMPGM/* this is another invalid comment */
.
Chapter 1: Introduction 35
SCL Statement Syntax Conventions
SCL keyword parameters cannot span multiple lines; however, the parameter values can
span multiple lines. All SCL parameter values that span multiple lines must be enclosed
in single or double quotes. The syntax required to span a parameter value must start
with a single or double quote at the beginning of the specification and a trailing single or
double quote at the end of the value. Spaces at the beginning or end of the spanned
lines must be surrounded by non-blank characters in order to be included in the text
string. Example:
The following considerations apply to the Path clause for ADD, UPDATE, COPY and
RETRIEVE statements:
■ The PATH clause is mutually exclusive with the FILE or Data Set clauses.
■ The HFSFile clause is mutually exclusive with a Member clause.
■ The PATH name must begin with a “/” and be terminated with a / and cannot be
followed by the file name.
■ The HFS file name can be up to 255 bytes in length.
■ The PATH name can be up to 768 bytes in length.
A filename can be up to 255 characters long. To be portable, the filename should use
only the characters in the POSIX portable filename character set:
■ Uppercase or lowercase letters A through Z
■ Numbers 0 through 9
■ Period (.)
■ Underscore (_)
■ Hyphen (-)
Doublebyte characters are not supported in a filename and are treated as singlebyte
data. Using doublebyte characters in a filename may cause problems. For instance, if
you use a doublebyte character in which one of the bytes is a . (dot) or / (slash), the file
system treats this as a special delimiter in the pathname.
A filename can include a suffix, or extension, that indicates its file type. An extension
consists of a period (.) and several characters. For example, files that are C code could
have the extension .c, as in the filename dbmod3.c. Having groups of files with identical
suffixes makes it easier to run commands against many files at once.
The path name value can be up to 768 characters long. It can contain only the following
characters:
■ Uppercase letters
■ Lowercase letters
■ Numbers
■ National characters
■ Slash (/)
■ Plus (+)
■ Hyphen (-)
■ Period (.)
■ Underscore (_)
Chapter 1: Introduction 37
SCL Statement Syntax Conventions
An element name can be up to 255 characters long. However, element names longer
than ten characters, or in mixed or lower case, cannot be accessed in foreground.
Element names name can include a percent sign (%) in any column as a placeholder
character in most SCL. The final one or more characters may be replaced in SCL and
some panels with an asterisk (*) as a wild character for selection purposes.
Note: IBM allows the left bracket ({) character in the member name of a PDS, but not as
the first character. However, IBM does not allow the left bracket character in a data set
name.
SCL Statements
There are several types of SCL statements:
■ Set statements
■ Clear statements
■ EOF (EOJ) statement
■ Element action statements (also referred to as action statements)
■ Environment definition statements
■ Package action statements
Note: SET and CLEAR statements apply only to element action statements.
Set Statements
SET statements are global default statements that establish values for subsequent
element action statements. A SET statement establishes applicable keyword values (for
example, FROM and TO) for specific items that may be omitted from selected action
statements. If a certain parameter is used (or required) but not coded in a particular
action statement, CA Endevor SCM looks for that information in a corresponding SET
statement.
SET statements also allow consistency across several actions. If you want to use a
particular option (such as CCID or comments) for several actions or perform actions
against those elements in a specific location (TO or FROM), code the appropriate SET
statement. The data you enter is applied to every subsequent action. SET statements
are in effect until another SET statement or a CLEAR statement is encountered or
processing ends.
Clear Statements
A CLEAR statement clears the information designated by a related SET statement. When
you are working with a series of element actions and need to remove information
established in a SET statement, code a parallel CLEAR statement. The CLEAR statement
remains in effect until you enter another related SET statement or until processing ends.
You can enter either EOF or EOJ. Use the value to which you are most accustomed.
■ EXPORT PACKAGE-Writes the SCL associated with a package to an external data set.
■ INSPECT PACKAGE-Checks each element for security, signout, and synchronization
conflicts and source changes and reports on the changes in element status that
might effect the successful execution of the package.
■ RESET PACKAGE-Resets a package back to a status of In-edit.
■ SUBMIT PACKAGE-Submits a JCL job stream to execute one or more packages.
Note: For information about package processing, see the Packages Guide.
In this example, Lines 1-7 form a statement. Line 1 begins with an action (MOVE) and
line 7 ends with a period. Lines 2-5 constitute a single clause (a FROM clause). Lines 6
and 7 are individual clauses. Each of these clauses provide information essential to the
statement.
3. SYSTEM FINANCE
4. SUBSYSTEM ACCTPAY
5. TYPE COBOL
When you use statements and clauses, you must enter the action clause first. You can
enter the remaining clauses in any order. Within each clause, however, you must code
the sub-clauses in the order in which they are shown in the syntax.
In the previous example, you might code the FROM clause last and the OPTIONS clause
immediately after the MOVE ELEMENTS clause. Within the FROM clause, though, you
must enter ENVIRONMENT first, followed by SYSTEM, followed by SUBSYSTEM, followed
by TYPE.
Note: The examples shown here apply to the general structure of environment
definition and package action syntax. The major difference, and the reason examples
are shown for the Element actions, is the use of SET and CLEAR statements.
In this example, the Element action uses long-hand SCL. The TRANSFER, FROM, TO,
WHERE, and OPTIONS statements are repeated for each Element.
Note that the information coded in the FROM clauses (except in the last FROM clause
where TYPE is different), TO clause, WHERE clause, and OPTIONS clause is the same.
Although there is nothing wrong with coding every line of a request, you may find it
time-consuming when you need to code several requests. Therefore, it is important to
consider several "shortcuts" when coding the Element action syntax. Examples 2 - 4
demonstrate these shortcuts.
In this example, global settings are used with SET statements to assign the location
(FROM and TO) information, as well as common WHERE and OPTIONS data.
In this example, all SET statements coded at the beginning of the syntax are applied to
the first two TRANSFER action requests. Because the type is different for the third
TRANSFER action request, however, a new SET FROM statement has been
entered-containing only the different information.
This new type will be applied to the subsequent TRANSFER request. But, all other
previously-coded information will be applied also. Remember: the data entered in a SET
statement remains in effect until a new, like SET statement (or a CLEAR statement) is
encountered.
In this example, a combination of global and local settings are used, and the SET
statements are applied to all three TRANSFER action requests, with the exception of
type in the third request.
Remember: a value entered locally overrides a like value in a SET statement. Therefore,
coding the clause FROM TYPE COBOL is all that is required in the third request. The
remaining location, WHERE, and OPTIONS information defaults to the entries coded in
the previous SET statements.
In this example, a name-mask is used to indicate that all Elements beginning with the
indicated letters should be considered for an action.
In this example, use of the asterisk alone in the TRANSFER ELEMENTS clause indicates
that all Elements-as long as the remaining selection criteria is met-should be selected
for the TRANSFER. Use of the name-mask in the TYPE clause indicates that any type will
be acceptable in the TRANSFER action.
Using the name-mask with the Element name and the type eliminates the need to set
and change SET statements (as was done in examples 2 and 3). Example 4 instructs CA
Endevor SCM to look for all Elements, no matter what type, from the CA Endevor SCM
location indicated (in the environment, system, subsystem, and stage number clauses),
associated with a CCID of FIX01. And, the comment FIX BUG will be applied to all
Elements meeting that selection criterion.
Set Statements
A SET statement sets up applicable keyword values (for example, FROM, TO) for specific
items that are omitted from subsequent element action statements. If a parameter is
required and not specifically coded with an element action statement, a corresponding
SET statement must precede that action statement. The SET statement can be reissued
to change the default value of a particular keyword any number of times within an SCL
stream.
You can remove a SET statement by using a CLEAR statement for the same keyword. Be
sure to issue the CLEAR statement after the related element action statement;
otherwise, the SET statement is canceled and you may receive an error message. (CLEAR
statements are explained later in this chapter.)
Note: The SET statement establishes default values; it is never executed. Therefore, no
element processing is involved.
■ SET statements, and the information contained in each, apply only where similar
data appears on a "local" level; that is, within a specific action statement. For
example, if one of the actions following a SET TO statement does not require any
TO data, the SET TO statement is ignored.
■ Information in the SET statement will be replaced by any overriding SET values
coded locally. That is, if the element action syntax contains the variable specified in
the SET statement, the like information in the SET statement is ignored. For
example, if you enter system and subsystem names in the FROM clause for a COPY
action, CA Endevor SCM uses those names rather than the names coded in the
related SET FROM statement.
■ If the information is not available in the element action statement, the like
information in the SET statement is applied to the syntax. For example, if you do
not code a system and subsystem in the FROM clause for the COPY action, the
information will be taken from the related SET FROM statement.
The SET ACTION statement is used in conjunction with the &&ACTION statement. When
you use this statement, CA Endevor SCM sets the action in all following &&ACTION
statements to the action indicated. The specified action applies until the system
encounters another SET ACTION or a CLEAR ACTION statement, or when processing is
terminated.
When you use this statement, CA Endevor SCM sets the action in all following
&&ACTION statements to the action you indicate in this statement. The action specified
applies until the system encounters another SET ACTION or a CLEAR ACTION statement,
or when processing is terminated.
Although you can enter more than one SET ACTION statement in your syntax, only the
action indicated in the SET ACTION statement immediately preceding the &&ACTION
statement is performed.
You can code the following actions in the SET ACTION statement:
■ ADD
■ ARCHIVE
■ COPY
■ DELETE
■ GENERATE
■ LIST
■ MOVE
■ PRINT
■ RESTORE
■ RETRIEVE
■ SIGNIN
■ TRANSFER
■ UPDATE
■ VALIDATE
The SET BUILD statement applies only to the BUILD statement in the LIST action (see the
explanation of LIST earlier in this chapter). This statement has three parts:
ACTION
Determines the action that is placed in the list of action cards generated by the LIST
request.
LEVEL
Determines whether the element current version and level is listed.
WITH COMPONENTS
Determines whether a component list should be included in the listing for the
specified element.
Note: The WITH COMPONENTS option pertains to the CA Endevor SCM ACM product
only.
SET BUILD ACTION applies to any Element, whether from CA Endevor SCM or an
external file (that is, a sequential file or a library). The action coded stays in effect until
CA Endevor SCM encounters the next SET BUILD ACTION or a CLEAR BUILD ACTION
statement, or processing ends.
MOVE
Moves Elements from one map location to another.
PRINT
Prints either information relating to an Element (if executed against CA Endevor
SCM) or the source of the selected members (if executed against an external
library).
RESTORE
Restores an Element from an archive data set back to CA Endevor SCM.
RETRIEVE
Copies an Element from either stage to a user data set (a sequential file, library, or
PDS).
SIGNIN
Removes the user signout associated with either a Stage 1 or a Stage 2 Element.
TRANSFER
Transfers an Element from one location to another (CA Endevor SCM to CA Endevor
SCM, CA Endevor SCM to an archive data set, or archive data set/unload tape to CA
Endevor SCM).
UPDATE
Updates an Element in the environment's entry stage only.
VALIDATE
Checks to make sure that Elements were generated correctly, no synchronization
errors are detected, and that all the components exist and are valid.
SET BUILD LEVEL
Applies only to Elements in CA Endevor SCM (as opposed to those Elements
currently in external files). The level coded stays in effect until CA Endevor SCM
encounters the next SET BUILD LEVEL or a CLEAR BUILD LEVEL statement, or
processing ends. The following options apply to the SET BUILD LEVEL statement.
CURRENT
If the WHERE COMPONENTS EQUAL clause has not been coded for the action,
or no component list exists (that is, the CA Endevor SCM ACM product is not
installed), the system defaults to the current level of the Element.
NONE
The current version and level of the Element are not to be listed on the action
cards generated by the LIST request.
ACTUAL
The actual level of each component as recorded in the component list, rather
than the current level of the Element as recorded in the Master Control File,
should be used to build the Element action statement.
If the WHERE COMPONENTS EQUAL clause has not been coded, or no
component list exists, (that is, CA Endevor SCM ACM product is not installed),
the current level of the Element is listed.
SET BUILD WITH COMPONENTS
Indicates that action cards should be generated for every input component that is
associated with the specified Element. If you enter this clause, you must also have a
WHERE COMPONENTS EQUAL clause coded, either in the LIST action or as part of a
SET WHERE statement. SET BUILD WITH COMPONENTS is in effect until the system
encounters a CLEAR BUILD WITH COMPONENTS statement or processing ends.
Note: This option pertains to the CA Endevor SCM ACM product only.
The SET FROM statement applies to each element action that uses-but does not contain
all or part of-a FROM clause, and remains in effect until the system encounters another
SET FROM statement or a CLEAR FROM statement, or when processing ends.
The exact information used from the SET FROM statement depends on both the specific
action and the data you have entered in that action statement. What you enter in the
action's FROM clause overrides that particular entry in the SET FROM statement. For
example, you code all CA Endevor SCM location information (environment, system,
subsystem, type, and stage number or stage ID) in a SET FROM statement. Then, when
coding a RETRIEVE statement, you enter a different type. CA Endevor SCM determines
the FROM location by applying all SET FROM information except for the type, which is
taken from the RETRIEVE statement.
Three types of information can be provided by the SET FROM statement, depending on
the action you enter.
■ Some actions require only CA Endevor SCM location information.
■ Some actions require only a file name (DDname) or data set name.
■ Some actions require both a file name (DDname) and CA Endevor SCM location
information.
The following section contains information about each type of information. Refer to the
individual element action descriptions to determine the requirements for each action.
Expansion of LOCATION
├── SITE site-id ─ ENVironment ─ env-name ─ SYStem ─ sys-name ──────────────►
►─ SUBsystem ─ subsys-name TYPe ─ type-name ─┬──────────────────────────┬─┤
├─ STAge ─ stage-id ───────┤
└─ STAge NUMber ─ stage-no ┘
SET FROM
Specifies default parameters for the From clause. Often, an action requires that
only a file name or data set name be entered to indicate a From location.
Occasionally, you are required to enter both a file name and CA Endevor SCM
location information for the element. In this case you must enter the file name
(DDname) before the location information, otherwise that data is ignored and
you receive an error message. You cannot code a data set name and a file
name (or DDname) or location parameters, or you will receive an error
message.
FILE dd-name | DDNAMEdd-name
Specifies the DD name. If you specify a file name (DDname), make sure that the
appropriate JCL is coded for the entry.
DSNAME dataset-name
Specifies a data set name. If there is a period in the name,the name must be
enclosed in quotes (single or double). For example, the data set TEST.LIB can be
coded as 'TEST.LIB'.
The location parameters specify the element's location. Elements in CA Endevor SCM
are identified by environment, system, subsystem, type, and stage (ID or number).
Several actions require all or part of this information in the FROM clause. Whatever data
you do not code in the syntax of the specific action must be entered in the SET FROM
statement. You can use a name-mask with the system, subsystem, and type names, as
well as with both stage indicators. Depending on the particular action, you may have a
choice when entering a stage indicator (that is, ID or number). In this situation, the
indicator is required, but you decide whether to enter an ID or stage number. If only one
type of stage indicator appears in the SCL syntax, you must enter that specific value.
SITE site-id
Specifies the one-character ID for the location where CA Endevor SCM is
installed.
ENVIRONMENT env-name
Specifies a one- to eight-character name for an environment in the software
lifecycle.
SYSTEM sys-name
Specifies a one- to eight-character name for a system in the specified
environment.
SUBSYSTEM subsys-name
Specifies a one- to eight-character name for a subgroup for the specified
system.
TYPE type-name
Specifies a one- to eight-character name for the element type classification.
STAGE stage-id
Specifies a one-character stage ID that identifies a stage within the specified
environment.
STAGE NUMBER stage-no
Specifies a one-character stage number that identifies the position of the stage
within the specified environment.
The SET OPTIONS statement tells CA Endevor SCM to apply one or a series of options to
all subsequent actions, until the next SET OPTIONS statement or a CLEAR OPTIONS
statement is encountered, or processing ends. The exact options used depend on the
action specified and the data you have entered in that element action statement:
■ Those options that do not apply to the action are ignored.
■ If you enter a particular option in the element action statement and have coded
that option in the SET OPTIONS statement, the entry in the action statement
overrides the SET OPTIONS selection.
Expansion of LISTING
├── LISTING ─┬────────────────────────────────────────────┬────────────────────┤
└─ COMPONENT LIST TEXT STRING ─ text-string ─┘
The SET OPTIONS statement tells CA Endevor SCM to apply one or a series of options to
all subsequent actions, until the next SET OPTIONS statement or a CLEAR OPTIONS
statement is encountered, or processing ends. The exact options used depend on the
action you specify and the data you enter in that element action statement:
You can code the following options in the SET OPTIONS statement:
AUTOGEN | SPAN NONE| SPAN ALL | SPAN SYSTEMS | SPAN SUBSYSTEMS
Applicable for Add, Update, and Generate actions in batch requests. This option
cannot be used in packages and the option does not work if Bypass Generate
Processor is set. The Global Type Sequencing batch processing method must be
enabled. Autogen only acts on components whose Types are listed in the Global
Type Sequencing table. If the component's Type is not listed in the Global Type
Sequencing table, the Autogen request is ignored. In addition, your site must have
purchased and activated the CA Endevor Automated Configuration. Autogen can be
specified alone or with various Span keyword options. "Autogen Span" is not a valid
option. Valid options follow:
AUTOGEN
Generates all elements that use the component that is the target of the action.
These using elements are generated at the target location that is specified in
the SCL statement. If they do not exist at the target location, they are brought
back to the target location as sourceless elements. An administrator can
change the behavior of the Autogen feature, by activating AUTOGEN_SOURCE
in the Optional Features Table (ENCOPTBL). When this option is activated, the
Generate actions for the using elements are built with the Copyback, instead of
the NoSource, option. For more information about sourceless elements, see
the NoSource option description in Generate Syntax (see page 116).
Note: Using elements are elements that use the element that is the target of
an Add , Update, or Generate action. For example, if Autogen is specified for
copybook, COPYA, then the programs that use that copybook are known as
using elements.
AUTOGEN SPAN NONE
Generates all elements that use the component being acted upon. This option
has the exact same effect as the option "AUTOGEN."
AUTOGEN SPAN ALL
Generates using elements that are found in any System and Subsystem
combinations within the Environment and Stage of the component's logical
map.
COPYBACK
Tells CA Endevor SCM to copy the current level of an element back to the target
stage for a GENERATE action, prior to generating the element. COPYBACK cannot be
specified with NOSOURCE.
DELETE INPUT SOURCE
Tells CA Endevor SCM to delete a member from the library in which it originated.
DETAIL REPORT
Tells CA Endevor SCM to provide detail information in the Execution Report. CA
Endevor SCM, by default, lists only those elements matching the selection criteria
you specify. If you select the DETAIL REPORT option, every element searched is
listed in the report-whether or not a match is found.
EXPAND INCLUDES
Tells CA Endevor SCM to expand INCLUDE statements when the element is copied
to a source output library.
IGNORE GENERATE FAILED
Enables processing to continue when the generate and/or move processors
associated with a particular element have failed.
JUMP
Tells CA Endevor SCM to notify the user if an element exists at an intermediate,
non-map stage between the source and target stages of a MOVE.
NEW VERSION
Lets you to assign a different version number to the TO location element. Simply
enter the number (1-99 inclusive, leading zeros optional) that you want to use.
NO SIGNOUT
Tells CA Endevor SCM to retrieve an element without signing it out.
NOCC
Suppresses the default printing of a header on each page of output. For the PRINT
ELEMENT MASTER output, other line feed characters in column 1 of the output are
replaced with a blank space.
NOSOURCE
When the target location has a sourced element, the element is generated in place.
When the target location has a sourceless element, the element is generated at the
target location using the source of the first occurrence of the element found up the
map.
When the element does not exist at the target location, the element is generated at
the target location using the source of the first occurrence of the element found up
the map. The source is not fetched to the target. The MCF element created at the
target location will contain data similiar to a fetched back element except that the
element base and delta name fields will be blank and the record will be marked as a
sourceless element.
NOSOURCE cannot be used with COPYBACK. It is not necessary to specify the
SEARCH option with NOSOURCE, because NOSOURCE implies SEARCH. If SEARCH is
specified with NOSOURCE, the SEARCH parameter is ignored.
ONLY COMPONENTS
Lets you to delete the component lists for an element, but not the element itself.
OVERRIDE SIGNOUT
Enables you to access an element that has been signed out to a user ID other than
your own. Use OVERRIDE SIGNOUT with caution to avoid regressing changes made
by another user.
PROCESSOR GROUP EQUAL/EQ/= group name
Specifies a 1- to 8-character processor group name.
REPLACE MEMBER
Tells CA Endevor SCM to replace an existing member in a target library with the
element specified in the element action statement.
RETAIN GENERATE HISTORY
Retains the Master Control File last generate information. This option when used
with the Transfer to Archive action can be useful when converting elements to a
new delta type.
RETAIN SIGNOUT
Tells CA Endevor SCM to retain the current signout for an element.
TERSE MESSAGES
Limits the amount of message detail that is written to the C1MSGS1 report file for
those messages that result from the Validate action.
UPDATE IF PRESENT
Automatically changes an ADD action to an UPDATE action if an element currently
exists in the entry stage. This option essentially allows you to add the element to
the entry stage.
WITH HISTORY
Tells CA Endevor SCM to preserve change history for an element when transferring
or moving that element.
The following table indicates the actions for which you can code each option, and
provides notes on the use of each option.
The SET STOPRC statement provides a control for processing during batch execution.
Prior to executing the job stream, CA Endevor SCM checks for the SET STOPRC
statement. If more than one statement has been coded, the return code entered in the
last statement found is used.
During execution, CA Endevor SCM checks the CA Endevor SCM return code (NDVR RC)
for the current action before proceeding with the next action.
The STOPRC statement identifies your highest acceptable return code for the current
action processing. You can specify a return code value in the range of 4 through 16. If
you do not enter a STOPRC value, CA Endevor SCM operates as if a STOPRC of 16 has
been coded.
If the CA Endevor SCM return code is equal to or exceeds the return code entered in the
STOPRC statement, CA Endevor SCM stops processing, the remaining actions are not
executed, and CA Endevor SCM returns with return code of 12 and error message
C1G0236E. If CA Endevor SCM encounters a fatal error while executing an action, it does
not check for STOPRC and returns with return code of 16 and error message C1G0210S.
If during concurrent action processing, an action request that was routed to an action
processing region returns a return code that exceeds the STOPRC value, then no more
requests are dispatched. Concurrent action processing ceases and any remaining
‘in-flight’ requests are allowed to terminate. Because several requests are in-flight at
the same time, some requests may continue to completion even though the STOPRC
value was reached.
The SET TO statement applies to each element action that uses-but does not contain all
or part of-a TO clause, and remains in effect until CA Endevor SCM encounters another
SET TO statement or a CLEAR TO statement, or when processing ends.
The exact information used from the SET TO statement depends on both the specific
action and the data you have entered in that element action statement. What you enter
in the action's TO clause overrides that particular entry in the SET TO statement. For
example, you code all CA Endevor SCM location information (environment, system,
subsystem, type, and stage ID or stage number) in the SET TO statement. Then, when
coding an UPDATE statement, you enter a different subsystem. CA Endevor SCM
determines the TO location by applying all SET TO information except for subsystem,
which is taken from the UPDATE statement.
Note: The SET TO information you enter differs from action to action. For more
information, see the chapter "Processing Element Actions (see page 85)." Remember
that you cannot use a name-mask with any TO location field names.
Set To Syntax
Expansion of LOCATION
├── ENVironment ─ env-name ─ SYStem ─ sys-name ─ SUBsystem ─ subsys-name ─────►
►─ TYPe ─ type-name ─┬───────────────────────────┬────────────────────────────┤
├─ STAge ─ stage-id ────────┤
└─ STAge NUMber ─ stage-no ─┘
SET TO SYSOUT
SYSOUT applies to the LIST action only. Normally when you execute the LIST action,
CA Endevor SCM lists the action cards in both the listing (Execution Report) and the
location you have indicated in the TO clause. If you do not enter any information in
the TO clause for the LIST action, CA Endevor SCM checks the SET TO statement for
information. If the appropriate information has not been entered in the SET TO
statement or the SET TO statement indicates only SYSOUT, CA Endevor SCM
defaults to SYSOUT alone.
When SYSOUT alone is selected, the action cards requested in the LIST action are
printed immediately after the LIST request, as part of the listing. You cannot
perform any editing on these action cards because they are available only in the
printout. If you have indicated another location (such as a library) in the TO clause,
however, you can access, and therefore edit, the action cards generated.
SET TO C1PRINT
C1PRINT applies to the PRINT action only. If you do not enter any information in the
TO clause for the PRINT action, CA Endevor SCM checks the SET TO statement for
information. If the appropriate information has not been entered in the SET TO
statement or the SET TO statement indicates C1PRINT, CA Endevor SCM defaults to
C1PRINT and prints the specified element or member in a listing. When using
C1PRINT, be sure you have included the appropriate JCL. See the following
examples:
■ To send your output to the queue, code the following:
//C1PRINT DD SYSOUT=*
SET TO C1PRTVB
Prints elements that have records that are longer than 121 characters to a location
external to CA Endevor SCM (for example, a library, sequential file, or PDS). You
must have previously allocated the C1PRTVB data set appropriately. The
recommended DCB for C1PRTVB is LRECL=27994,BLKSIZE=0,RECFM=VB. However, if
the record size of any record is longer than 27978, code a larger record length. You
must code a sufficiently long LRECL for the output file. The LRECL size should be at
least 16 bytes longer than the longest record of the element. For example, allocate
the data set as follows:
//C1PRTVB DD DISP=(,CATLG),DSN=my.C1PRTVB,
// SPACE=TRK,(5,5),UNIT=SYSDA,
// DCB=(RECFM=VB,LRECL=27994,BLKSIZE=0)
Note: You cannot code both a file name (or DDname) and a data set name.If you do, you
receive an error message. You also receive an error message if you enter CA Endevor
SCM location information along with a data set name.
Note: For more information about each term, see the User Guide.
SET TO MEMBER NAME
SET TO MEMBER applies only to the LIST action. If you do not enter a member name
in the LIST action, CA Endevor SCM checks the related SET TO statement for a
member name. If a member name has not been coded, the system defaults to
SYSOUT and the list is produced in the listing immediately following the request.
Note: If this statement is used for any other action other than LIST it will be
ignored.
The SET WHERE statement applies to each element action that uses-but does not
contain all or part of-a WHERE clause, and remains in effect until the system encounters
another SET WHERE statement or a CLEAR statement, or processing ends. The exact
information used from the SET WHERE statement depends on both the specific action
and the data you have entered in that element action statement. What you enter in the
action's WHERE clause overrides that particular entry in the SET Where statement.
SET WHERE differs from the SET BUILD, SET FROM, and SET TO statements in that the
WHERE (and consequently the SET WHERE) clause is optional. If you do not enter
WHERE information for a specific action and a SET WHERE statement has not been
coded, the system continues processing; you do not receive an error message nor does
processing terminate.
The WHERE clause is most useful when you are using a name-mask, as it further
qualifies the criteria you have entered for the element(s). When you use a name-mask,
the designated action is performed for only those elements matching the WHERE
criteria entered (along with any other qualifying data entered).
Note: To determine which WHERE information you can enter for each request, see the
chapter "Processing Element Actions."
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of GENERATE
├── GENerate ─┬─ FAIled ───────────┬───────────────────────────────────────────┤
├─┤ DATE ├───────────┤
├─┤ FROM ├───────────┤
├─┤ THROUGH ├────────┤
└─┤ FROM - THROUGH ├─┘
Expansion of ARCHIVE
├──┬─┤ DATE ├───────────┬──────────────────────────────────────────────────────┤
├─┤ FROM ├───────────┤
├─┤ THROUGH ├────────┤
└─┤ FROM - THROUGH ├─┘
Expansion of DATE
├── DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬───────────────────────────┤
└─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──┘
Expansion of FROM
├── FROm ─ DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬────────────────────┤
└─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──┘
Expansion of THROUGH
├──┬─ THRough ─┬─ DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬─────────────┤
└─ THRu ────┘ └─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──┘
Expansion of SPEC
├──┬─ TEXt ─┬─ text-spec ───────────────────────────────────────┬─┬────────────┤
│ │ ┌─ , ─────────┐ ┌─ , ─────────┐ │ │
│ └─ ( ─▼─ text-spec ─┴─┬─ AND ─┬─▼─ text-spec ─┴─ ) ─┘ │
│ └─ OR ──┘ │
└─ ACM ─┬─ comp-spec ───────────────────────────────────────┬──┘
│ ┌─ , ─────────┐ ┌─ , ─────────┐ │
└─ ( ─▼─ comp-spec ─┴─┬─ AND ─┬─▼─ comp-spec ─┴─ ) ─┘
└─ OR ──┘
Expansion of PRO
┌─ , ──────────┐
├── PROcessor GROup ─┬─ EQ ─┬─ ( ─▼─ group name ─┴─ ) ─────────────────────────┤
└─ = ──┘
WHERE CCID ccid-Limits processing to only those elements that match one of the CCIDs
coded.
WHERE CCID OF ccid-Also limits the processing to those elements that match one of the
supplied CCIDs. With this SCL, however, you can indicate where you want CA Endevor
SCM to look for the CCID(s):
■ CURRENT-Tells CA Endevor SCM to look through the CCID fields in the MCF (Master
Control File) to find a specified CCID(s). This is the default.
■ ALL-Tells CA Endevor SCM to search both the Master Control File and the SOURCE
DELTA levels for a specified CCID(s). If you have ACM, CA Endevor SCM also
searches the COMPONENT LIST DELTA levels for the specified CCID(s).
■ RETRIEVE-Tells CA Endevor SCM to use the CCID in the Master Control File's
RETRIEVE CCID field.
If you need to select elements identified under more than one CCID, you can specify
multiple CCIDs by enclosing the CCIDs with parentheses and separating them with
commas. The CCIDs may extend over multiple lines if necessary.
The examples below illustrate the two forms of WHERE CCID SCL.
WHERE GENERATE SCL allows you to set a generation date and, optionally, time as a
selection criterion. There are five possible forms for this clause:
■ WHERE GENERATE FAILED-Tells CA Endevor SCM to list only those elements for
which the generate processor failed.
■ WHERE GENERATE DATE mm/dd/yy TIME hh:mm-Tells CA Endevor SCM to select
only those elements with this generate date, and optionally, this time stamp.
■ WHERE GENERATE FROM DATE mm/dd/yy TIME hh:mm-Tells CA Endevor SCM to
select all elements with a generate date and, optionally, a time stamp on or after
the specified date and time stamps.
■ WHERE GENERATE THROUGH DATE mm/dd/yy TIME hh:mm-Tells CA Endevor SCM
to select all elements with a generate date and, optionally, a time stamp earlier
than and including the specified date and time stamp.
■ WHERE GENERATE FROM DATE mm/dd/yy TIME hh:mm THROUGH DATE
mm/dd/yy TIME hh:mm-Tells CA Endevor SCM to select only those elements with a
generate date, and optionally, time stamps within the specified range.
The date(s) must be in mm/dd/yy format (leading zeros are not required). The time(s)
must be in hh:mm format. If you enter a time in this clause, you must enter a date.
WHERE ARCHIVE SCL allows you to set an archive date and, optionally, time as a
selection criteria. There are four possible forms for this clause:
■ WHERE ARCHIVE DATE mm/dd/yy TIME hh:mm-Tells CA Endevor SCM to select
only those elements with this archive date, and optionally, this time stamp.
■ WHERE ARCHIVE FROM DATE mm/dd/yy TIME hh:mm-Tells CA Endevor SCM to
select all elements with an archive date and, optionally, a time stamp on or after
the specified date and time stamps.
The date(s) must be in mm/dd/yy format (leading zeros are not required). The time(s)
must be in hh:mm format. If you enter a time in this clause, you must enter a date.
WHERE TEXT SCL limits a list to elements that contain (or do not contain) one or more
specified 1- to 70-character text strings.
For example:
■ This example tells CA Endevor SCM to list all elements containing the text string
"WO9- LINKAGE":
WHERE TEXT 'WO9-LINKAGE'
■ This example tells CA Endevor SCM to list all elements that contain the text
strings "COPY COPY005" and "COPY COPY010" between columns 8 and 40 of
the element source:
WHERE TEXT ('COPY COPY005' COLUMN 8 40 AND 'COPY COPY010' COLUMN 8 40)
■ This example tells CA Endevor SCM to list all elements that do not contain the
text string "REMARKS" between columns 8 and 15 of the element source:
WHERE TEXT DOES NOT CONTAIN 'REMARKS' COLU.MN 8 15
■ This example tells CA Endevor SCM to list all elements that contain either the
text string "M605SUB" or the text string "M607SUB" and do not contain the
text string "M606SUB":
WHERE TEXT (('M605SUB' OR 'M607SUB')AND DOES NOT CONTAIN 'M606SUB')
Note: The WHERE TEXT EQUAL clause cannot be used withthe WHERE ACM clauses.
WHERE ACM SCL limits a list to component lists containing (or not containing) the
designated component name. Wildcards are acceptable in the component name
specification.
Additional selection criteria for the component includes the following clauses.
■ THROUGH (THRU) comp-name-tells CA Endevor SCM to list elements within a
specific range of component names. The range begins with the component name
coded in the WHERE COMPONENTS clause, and encompasses all components up to
and including the component specified in this clause. Wildcards are acceptable in
the component name specification.
■ VERSION version-tells CA Endevor SCM to list elements containing components with
a specific 1- to 99-character version number. The version number of the component
may differ from the version number of the element with which it is associated.
■ LEVEL level tells-CA Endevor SCM to list elements containing components with a
specific 0- to 99-character level number. The level number of the component can
differ from the level number of the element with which it is associated.
■ ENVIRONMENT env name-tells CA Endevor SCM to list elements with components
located in the specified environment. If you provide an environment name, you
must also provide the following information:
– SYSTEM-1 to 8 characters
– SUBSYSTEM-1 to 8 characters
– TYPE-1 to 8 characters
– STAGE NUMBER-either 1 or 2
This clause allows you to provide compound component selection criteria, using the
same options as described above.
Note: The WHERE ACM clauses cannot be used with the WHERE TEXT clause.
WHERE PROCESSOR GROUP SCL allows you to select elements according to a specified
processor group. You can use a name-mask when specifying the processor group name.
If you need to select elements identified under more than one processor group, you can
specify multiple distinct processor group selectors by enclosing the processor groups
with parentheses and separating them with commas. The processor groups may extend
over multiple lines if necessary.
Clear Statements
A CLEAR statement clears the information that has been designated by a SET statement.
The CLEAR statement must be in the same syntax as the SET statement to which it
applies, and must be entered (at some point in your code) after that SET statement. The
CLEAR statement affects all syntax following it until a new SET statement is encountered
or processing ends. The CLEAR statement does not affect the related information coded
within each individual element action's syntax. Because these statements are not
executed, no source or output management is involved.
You can code the following options in the CLEAR BUILD statement.
ALL
Clears every selection designated in the related SET BUILD clause-action, level, and
WITH COMPONENTS (if applicable).
ACTION
Clears the related SET BUILD ACTION clause, no matter which action is coded in that
clause.
LEVEL
Clears the level selection designated in the related SET BUILD LEVEL clause.
WITH COMPONENTS
Clears the related SET BUILD WITH COMPONENTS clause.
Note: WITH COMPONENTS pertains to the CA Endevor SCM ACM product only.
You can enter the following values in the CLEAR TO and CLEAR FROM statements:
FILE/DDNAME
Clears the related SET TO/FROM FILE (DDNAME) clause.
DSNAME
Clears the related SET TO/FROM DSNAME clause.
MEMBER
Clears the related SET TO/FROM MEMBER clause.
ALL
Clears all clauses entered for the related SET statement(s).
SITE
Clears the related SET FROM SITE (site ID) clause.
ENVIRONMENT
Clears the related SET TO/FROM ENVIRONMENT clause.
SYSTEM
Clears the related SET TO/FROM SYSTEM clause.
SUBSYSTEM
Clears the related SET TO/FROM SUBSYSTEM clause.
TYPE
Clears the related SET TO/FROM TYPE clause.
STAGE
Clears the related SET TO/FROM STAGE (ID) or SET TO/FROM STAGE NUMBER
clause.
CLEAR OPTIONS
Clears the options specified. These options were previously set in the Set Options
statement. For information about these options, see Set Options Syntax (see
page 57). Additional information about the keywords you can specify on the Clear
Option statement are provided next:
ALL
Clears all the options previously set.
AUTOGEN
Clears Autogen including any Span options that were previously set.
COMPONENT VALIDATION
Clears the component validation option for the Validate action only. This option
does not apply for the Print action. The statement CLEAR OPTIONS COMP
parses without errors; however, it does not clear any of the component
options.
ELEMENT MASTER
Clears the element master option for the Validate action only. This option does
not apply for the PRINT action.
PRINT
Clears all the print options: NOCC, COMPONENT, the display type (browse,
change, history, summary, master, and listing) and the COMPONENT LIST TEXT
STRING value. PRINT is the only keyword that will clear any of the options for
the Print action; CLEAR ELEMENT MASTER or CLEAR COMPONENT have no
effect for Print actions.
You can enter the following values in the CLEAR WHERE statement:
ALL
Clears all SET WHERE statements previously coded.
TEXT
Clears the related SET WHERE TEXT EQUALS clause.
CCID
Clears the related SET WHERE CCID clause.
GENERATE FAILED
Clears the related SET WHERE GENERATE FAILED clause.
GENERATE DATE
Clears the related SET WHERE GENERATE DATE (and GENERATE TIME) clause.
ARCHIVE DATE-
Clears the related SET WHERE ARCHIVE DATE (and ARCHIVE TIME) clause.
ACM
Clears all information coded in relation to the SET WHERE COMPONENTS EQUAL
clause, including:
■ Type of component (input, output, processor, all).
■ THROUGH, VERSION, LEVEL in a WHERE COMPONENTS EQUAL clause.
■ Component inventory location (environment, system, subsystem, type, and
stage number).
■ File (DDname) or data set name.
If you do not use the EOF (EOJ) statement, you need to manually delete the actions
(lines of code) you do not want performed.
EOF (EOJ)
Simply code either EOF or EOJ in the appropriate place in the syntax.
A strict coding order applies to the THROUGH, VERSION, and LEVEL clauses, as follows:
■ When coding the THROUGH clause, it must immediately follow the initial action
clause. If you enter a THROUGH clause, however, you cannot specify a level for the
action.
■ When coding the VERSION clause, it must immediately follow the THROUGH clause.
If a THROUGH clause has not been entered, the VERSION clause must immediately
follow the initial action clause.
■ When coding the LEVEL clause, it must immediately follow the VERSION clause. If a
VERSION clause has not been entered, the LEVEL clause must immediately follow
the initial action clause. If you specify a LEVEL, however, you cannot enter a
THROUGH clause for the action.
All other clauses (following THROUGH, VERSION, and/or LEVEL) can be coded in any
order.
Note: You can enter VERSION and LEVEL for the following actions, although this is not
indicated in the syntax: ADD, ARCHIVE, GENERATE, MOVE, RESTORE, SIGNIN, TRANSFER,
and UPDATE. However, these fields are ignored during processing.
If you decide not to use the batch panels, you must code specific JCL in order to execute
your requests. A sample of the JCL required is provided on the installation tape and
loaded to the JCL library during installation. The JCL is located in iprfx.iqual.CSIQJCL
member BC1JSCL.
&&ACTION Statement
The &&ACTION statement allows you to substitute any action for a specified element at
run time. This statement normally is generated when you use the LIST action.
If you do not indicate a specific action(s) to be performed when you request a list,
&&ACTION appears at the beginning of each clause. You can then input the appropriate
action(s) at a later date, using the SET ACTION statement.
For example, at the beginning of a month, you may want to see a list of elements
involved with a particular project, although you may not know what actions you will
request for those elements. If you request the list without indicating any specific
actions, &&ACTION appears, in lieu of a specific action, for every action card generated.
When you are ready to perform individual actions, simply specify those actions with the
necessary SET ACTION clause(s).
Whenever you execute an &&ACTION statement, you must precede it with a SET
ACTION statement that contains the action to be performed. Depending on the action
specified, you may need to include supplementary information, such as TO or FROM
clauses, in the related SET ACTION statement. For more information, see the chapter
"Using Set, Clear, and EOF Statements (see page 49)" and in The List Statement (see
page 122).
Note: Additional clauses may be required depending on the action coded in the SET
ACTION statement. Similarly, additional optional clauses will be available depending on
the action you use. See the individual action descriptions for detailed information
regarding each action's requirements and options.
VERSION version
Indicates the version you want to see for the specified element. Acceptable values
are 1-99.
You must code a full element name if you want to indicate a version number.
If you code the VERSION clause, it must follow the THROUGH clause.
LEVEL level
Indicates the level you want to see for the specified element. Acceptable values are
00-99. By default, CA Endevor SCM retrieves the current level of the element.
If you enter a LEVEL clause, you cannot enter a THROUGH clause. In addition, you
must code a full element name in the &&ACTION ELEMENTS clause.
The LEVEL option is not available for all actions. Check the individual action to see if
this clause can be used.
In this example, the SET ACTION GENERATE statement has been specified, as well the
appropriate SET OPTIONS and SET FROM statements.
Add Statement
The ADD statement allows you to add an element to an environment's entry stage in CA
Endevor SCM. The entry stage for an environment is defined through the C1DEFLTS
table.
The SET FROM statement allows you to specify only a file (DDname) or data set
name, not a member name.
You must enter a FILE, DDNAME, DSNAME, or PATH in conjunction with HFSFILE
(enter one and only one). If you enter either a FILE or DDNAME, be sure the
appropriate JCL DD statement is coded.
Enter a member name if it differs from the element name specified in the ADD
ELEMENTS clause. If you do not enter a member name, CA Endevor SCM assumes
that the element name and member name are the same. If you provide a member
name:
■ The ADD ELEMENTS clause must contain a fully qualified element name.
■ You cannot also code a THROUGH clause.
PATH
The USS directory where the element source file resides.
HFSFILE
The file in the USS directory that you want to put under the control of CA Endevor
SCM.
TO ENVIRONMENT env-name
SYSTEM sys-name
SUBSYSTEM subsys-name
TYPE type-name
The TO clause indicates where the element is being added. CA Endevor SCM uses
both the TO clause in the action and any preceding SET TO clause to determine the
"to" criteria for that action.
■ A TO clause in an action overrides values in a SET TO clause that precedes the
action.
■ If the SET TO clause contains values that are not included in the TO clause, CA
Endevor SCM uses these values.
Note: For more information, see the description of the SET TO statement in the
chapter "Using Set, Clear, and EOF Statements (see page 49)."
You must specify an environment, system, subsystem, and type for the ADD action.
Remember that you cannot use a name-mask with any field in the TO location.
OPTIONS
OPTION clauses allow you to further specify action requests.
CCID ccid/COMMENT comment
You can enter a 1- to 12-character CCID and/or a 1- to 40-character comment.
CCIDs and/or comments may be required. If you do not provide a required CCID
and/or comment, the ADD action fails.
When you specify a CCID and/or comment in an ADD action, CA Endevor SCM treats
the CCID and/or COMMENT fields differently depending on whether you are adding
a new element or an existing element.
■ When you specify a CCID and/or comment in an ADD action for a new element,
CA Endevor SCM uses this CCID and/or comment to:
■ Set the source and source delta CCID and/or COMMENT fields.
■ Set the generate and component list delta CCID and/or COMMENT fields if
the generate processor is run.
■ Set the last action CCID and/or COMMENT fields.
■ CA Endevor SCM also clears the environment's entry stage RETRIEVE CCID
and/or COMMENT fields when you add a new element.
■ When you specify a CCID and/or comment in an ADD action for an existing
element, CA Endevor SCM uses this CCID and/or comment to:
■ Set the source CCID and/or COMMENT fields if the CCID and/or comment
has changed.
■ Set the source delta CCID and/or COMMENT fields.
■ Set the generate CCID and/or COMMENT fields if the generate processor is
run.
■ Set the component list delta CCID and/or COMMENT fields if running the
generate processor creates a change.
■ Set the last action CCID and/or COMMENT fields.
CA Endevor SCM also clears the environment's entry stage RETRIEVE CCID and/or
COMMENT fields when you add an existing element. If you use the BYPASS
GENERATE PROCESSOR option, the ADD action does not set the generate or
component list delta CCID and/or COMMENT fields.
NEW VERSION version
If the element exists up the map, the version number associated with the existing
element will be assigned, by default. If the New Version clause is omitted and the
element does not exist up the map, the element is assigned version 1. If the New
Version clause is used and the element exists at the target location or at a location
up the mapped route, the ADD action fails.
UPDATE IF PRESENT
To successfully add an element to CA Endevor SCM, that element cannot currently
exist in the entry stage.This also applies to a sourceless element. If the element is
present in the entry stage, CA Endevor SCM returns an error message, regardless of
whether the element at the entry stage is a sourced or sourceless element. The
UPDATE IF PRESENT option, however, allows you to add the element even if it is in
the entry stage, by automatically changing the ADD action to UPDATE.
This SCL adds a new element to the Payroll reporting subsystem in the environment
PROD. After the ADD action completes, the source member will be deleted.
Alter Statement
Important: The Alter action changes Master Control File metadata and cannot be easily
reversed. Before you submit an Alter statement, we recommend that you back up the
Master Control Files. If you wanted to undo changes, it might be easier to restore the
Master Control Files. Otherwise, you would probably need to code multiple Alter
statements to undo changes that were made using name-masked values.
Use the Alter statement to change element record metadata in the Master Control File.
The Alter action alters the element metadata at the location where the matching
elements are found. The action never fetches the element back to the specified From
location.
SMF recording must be active for any Environment in which you use the Alter action. If
SMF recording is not active, the Alter action will fail. For more information about
enabling SMF, see the Administration Guide.
Note: For more information about the Alter action, see the chapter "Altering Element
Record Metadata" in the Administration Guide.
Note: You can use name-masking to specify some variable values. A name-masked value
is not explicit, because it includes a full (*) or partial (for example, ENV*) wildcard,
multiple placeholders (%), or both. For more information about name-masking, see
Name-Masking (see page 23).
Name-masking is allowed on all values except on the to-value, which is the new
value that replaces the current value (the from-value) in the specified element
record field. Therefore name-masking enables the same Alter statement to make
the following changes:
■ Changes can be made to multiple element instances. More than one element
instance can be updated by one Alter statement, because name-masking on
the element name and location enables Alter action processing to search for
matches among multiple element instances.
■ Changes can be made to different values. Name-masking on the field
from-values (the current value) searches for all matching values. Omitting the
current value or using a full wildcard (*) lets you change a field regardless of its
current value.
■ If name-masking is used on the element instance and on a current metadata
field value, then multiple element instances can be updated to change multiple
current field values.
You can change multiple metadata fields and multiple element instances in the same
Alter statement as follows:
■ The same Alter statement can specify changes to different metadata fields. For
example, you can change the Last action CCID and the Description fields on the
same statement.
■ Each Alter statement can only specify one change to the same metadata field. For
example, the Last action CCID field can only be specified once on the same
statement.
Value specifications are case-sensitive, except for the Processor Group field, which is
always in upper case.
OVERRIDE SIGNOUT
Specifies that you want to update the element, even if the element is signed
out to someone else. If the element is signed out to someone else, you must
code this option to perform the Alter action. However, the Alter action retains
the current Signout Userid for the element; it does not update the Signout
UserID with the user ID of the person performing the Alter action. If you want
the Signout Userid element field to be changed as part of the Alter action, use
the Replace Signout UserID clause.
SEARCH [ALL | FIRST FOUND] | NOSEARCH
Specifies a logical or physical search of the software inventory that is based on
the C1DEFLTS table Environment definitions. After an Environment Stage is
matched, the Stage Master Control File is searched based on other criteria: the
Alter action element name specification and the Replace and Options clauses.
SEARCH [ALL | FIRST FOUND]
Specifies a logical search of the software inventory that is based on the
mapping of Environment Stages as defined in the C1DEFLTS table. The
search begins with the Environment Stage that is specified on the element
action From clause and continues along the map. On the From clause, the
Environment name must be explicit. Name-masking is supported on the
Stage ID. If the Stage ID is name-masked, the starting location is Stage 1,
regardless of whether that Stage is in the logical map or is the entry Stage
for the Environment. The Alter action changes the Master Control File for
each matching element at the location where the element is found.
The ALL and First Found options are ignored by all actions, except the Alter
action.
ALL— Identifies all elements that are found in the logical search. If the
Alter action is run in Update mode, then all the elements that are found in
the search get updated.
FIRST FOUND— Identifies the first element that is found in the logical
search. If the Alter action is run in Update mode, then only the first
element that is found in the search gets updated. The default.
NOSEARCH
Specifies a physical search of the software inventory that is based on an
exact match to the C1DEFLTS table Environment definitions, regardless of
mapping. The search is limited to the Environment Stage that is specified
on the element action From clause. Name-masking is supported on the
Environment name (for the ALTER action only) and on the Stage ID.
If the Environment or Stage is name-masked, more than one Environment
Stage can meet the selection criteria. For example, If you specified an
environment-name of D* and the C1DEFLTS table includes the unmapped
environments DEV, QA, PRD, and DEMO, then both the DEV and DEMO
Environments would match.
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
ENV1 SYSTEM99SUBSYS99TYPE0099 TESTUPDATEACT
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
ENV1234 SYSTEM01
■ If the following is coded, the to-length is 80, the replacement text length is 13, the
to-position is 1, and the pad character is @.
ALTER ELEMENT TESTELM1 OPTION UPDATE ELEMENT REPLACE
USER DATA (1,'ENV1') WITH (1,80,'@','ENV1 SYSTEM01')
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
ENV1 SYSTEM99SUBSYS99TYPE0099 TESTUPDATEACT
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8
ENV1 SYSTEM01@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
■ If the following is coded, the to-length is 25, the replacement text length is 8, the
to-position is 15, and the pad character is @.
ALTER ELEMENT TESTELM1 OPTION UPDATE ELEMENT REPLACE
USER DATA (1,'ENV1') WITH (15,25,'@','88SYSSUB')
If the original user data field contained this:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+--
--8
ENV1 SYSTEM99SUBSYS99TYPE0099 TESTUPDATEACT
Archive Statement
The ARCHIVE statement writes the base level and all change levels of an element to a
sequential file (known as an archive data set). In addition, for CA Endevor SCM ACM
users, the ARCHIVE action writes the base level and all change levels of the Component
List to the archive data set.
Archive is available in batch only. Once an element has been archived, COPY, LIST,
RESTORE, and TRANSFER actions can be executed against the archive data set.
When the Bypass Element Delete option is not specified, a check is made to see if prior
sourceless elements exist. If one does exist, the action will fail if no other sourced
element exists upstream. The action cannot be allowed to continue because it would
remove source access to the sourceless element, making it impossible for it to be
regenerated.
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of PRO
┌─ , ──────────┐
├── PROcessor GROup ─┬─ EQ ─┬─ ( ─▼─ group name ─┴─ ) ─────────────────────────┤
└─ = ──┘
You must specify an environment, system, subsystem, type, and stage. The
environment name must be explicit. You can use a name-mask with the system,
subsystem, type, and stage. The stage specification can be either one of the
following:
■ STAGE ID-Enter a single alphanumeric stage identifier.
■ STAGE NUMBER-Enter either 1 or 2.
TO FILE (DDNAME) dd-name
The TO clause indicates where the element is being archived. CA Endevor SCM uses
both the TO clause in an action and any preceding SET TO clause to determine the
"to" criteria for that action.
■ A TO clause in an action overrides values in a SET TO clause that precedes the
action.
■ If the SET TO clause contains values that are not included in the TO clause, CA
Endevor SCM uses these values.
The DCB must specify variable blocked records (RECFM=VB), and the DSORG should
be PS.
■ The minimum LRECL should be 2940 or the TYPE-LENGTH plus (+) 14, whichever
is greater.
■ When archiving to disk, the recommended block size is one-half a track, and
the recommended LRECL is one-half a track minus (-) 4 unless the previous rule
requires a bigger LRECL/BLKSIZE.
■ When archiving to tape, the recommended block size is 32760 and the
recommended LRECL is 32756.
WHERE
Use WHERE clauses to further qualify element selection criteria. CA Endevor SCM
uses both the WHERE clause in an action and any preceding SET WHERE clause to
determine the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that
precedes the action.
■ If the SET WHERE clause contains values that are not included in the WHERE
clause, CA Endevor SCM uses these values.
OPTIONS
OPTIONS clauses allow you to further specify requests.
CCID ccid/COMMENTcomment
You can enter a 1- to 12- character CCID and/or a 1- to 40-character comment.
CCIDS and/or comments may be required. If you do not provide a required CCID
and/or comment, the ARCHIVE action fails.
This is the CCID that CA Endevor SCM looks for if WHERE ARCHIVE CCID is specified
for the LIST, COPY, RESTORE, and TRANSFER actions.
OVERRIDE SIGNOUT
If the element has been signed out to a person other than yourself, you must code
this option in order to perform this action. Note, however, that OVERRIDE SIGNOUT
does not apply when you select the BYPASS ELEMENT DELETE option for this action.
This option updates the SIGNOUT ID at the appropriate stage with the user ID of the
person performing the override. Use OVERRIDE SIGNOUT with caution to avoid
regressing changes made by another user.
BYPASS ELEMENT DELETE
Use this option if you do not want the element automatically deleted (the default)
after it is archived. Otherwise, CA Endevor SCM deletes the element, that is, the
base and all change levels.
This SCL archives all of the elements from the Payroll Reporting subsystem. The archived
elements will be written to the preallocated DD name "ARCHOUT.' The signout status
will be overridden, if necessary.
Copy Statement
The COPY statement copies an element from an archive data set to a user data set (that
is, a data set external to CA Endevor SCM). The user data set can be a library (a CA
Panvalet file, a CA Librarian file, or a PDS) or a sequential file. The element is not
restored to the Master Control File.
Expansion of DATE
├── DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬───────────────────────────┤
└─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──┘
Expansion of FROM
├── FROm ─ DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬────────────────────┤
└─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──┘
Expansion of THROUGH
├──┬─ THRough ─┬─ DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬─────────────┤
└─ THRu ────┘ └─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──┘
WHERE ARCHIVE
This clause allows you to select elements based on the date and, optionally, time
that an element was archived. There are four possible forms for this clause:
WHERE ARCHIVE DATE mm/dd/yy [TIME hh:mm ]
This clause tells CA Endevor SCM to copy only those elements with this date, and
optionally, time stamp.
WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm ]
This clause tells CA Endevor SCM to copy all elements with a date and, optionally,
time stamp on or after the specified date and time stamps.
WHERE ARCHIVE THROUGH DATE mm/dd/yy [TIME hh:mm ]
This clause tells CA Endevor SCM to copy all elements with a date and, optionally,
time stamp earlier than and including the specified date and time stamp.
WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm ] TH ROUGH DATE mm/dd/yy
[TIME hh:mm ]
This clause tells CA Endevor SCM to copy only those elements with a date, and
optionally, time stamps within the specified range. If you enter a time, you must
enter the date with it.
OPTIONS REPLACE MEMBER
If the element you are copying exists in the target location, CA Endevor SCM rejects
the request unless you code the REPLACE MEMBER option. Specify this option when
you want to replace the existing member in the library.
This SCL copies the archived version of Payroll program "PAYRPT43" to a user data set.
The input is taken from a DDname that refers to a data set that was created with the
ARCHIVE action.
Delete Statement
The DELETE statement deletes an element from the specified inventory location.
When deleting a sourced element, if a prior sourceless element exists and if no other
sourced element exists upstream from the delete location, the action will fail. The
action cannot be allowed if there is no sourced instance of the element upstream from a
sourceless element. This would make a regeneration of a sourceless element
impossible.
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of PRO
┌─ , ──────────┐
├── PROcessor GROup ─┬─ EQ ─┬─ ( ─▼─ group name ─┴─ ) ─────────────────────────┤
└─ = ──┘
If you need to select elements identified under more than one CCID, you can specify
multiple CCIDs by enclosing the CCIDs with parentheses and separating them with
commas. The CCIDs may extend over multiple lines if necessary.
The next examples illustrate the use of this clause.
Example 1: WHERE CCID OF CURRENT (PROJ001, PROJ002, PROJ004)
Example 2: WHERE CCID OF ALL (PROJ00V)
OPTIONS
OPTIONS clauses allow you to further specify action requests.
CCID ccid/COMMENT comment
You can enter a 1- to 12- character CCID and/or a 1- to 40-character comment.
CCIDs and/or comments may be required. If you do not provide a required CCID
and/or comment, the DELETE action fails.
ONLY COMPONENTS
Applicable for CA Endevor SCM ACM users only. Indicates whether you want to
delete both the element component list and the element, or the element
component list only. Y (yes-delete just the element component list) or N (no-delete
the element as well as the element component list).
OVERRIDE SIGNOUT
If the element has been signed out to a person other than yourself, you must code
this option in order to perform this action. This option updates the SIGNOUT ID at
the appropriate stage with the user ID of the person performing the override. Use
OVERRIDE SIGNOUT with caution to avoid regressing changes made by another
user.
This SCL deletes an element from Stage 2. The signout will be overridden, if necessary.
Generate Statement
The GENERATE statement executes the generate processor for the current level of an
element, in either Stage 1 or Stage 2.
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of PRO
├── PROcessor GROup ─┬─ EQ ─┬──────────────────────────────────────────────────┤
└─ = ──┘
WHERE
Use WHERE clauses to further qualify element selection criteria. CA Endevor SCM
uses both the WHERE clause in an action and any preceding SET WHERE clause to
determine the "where" criteria for that action.
A WHERE clause in an action overrides values in a SET WHERE clause that precedes
the action.
If the SET WHERE clause contains values that are not included in the WHERE clause,
CA Endevor SCM uses these values.
WHERE CCID OF ccid
Limits the processing to those elements that match one of the supplied CCIDs. You
can use a name-mask in this field.
CURRENT
Tells CA Endevor SCM to look through the CCID fields in the MCF (Master
Control File) to find a specified CCID(s). This is the default.
ALL
Tells CA Endevor SCM to search both the Master Control File and the SOURCE
DELTA levels for a specified CCID(s). If you have ACM, CA Endevor SCM also
searches the COMPONENT LIST DELTA levels for the specified CCID(s).
RETRIEVE
Tells CA Endevor SCM to use the CCID in the Master Control File's RETRIEVE
CCID field.
If you need to select elements identified under more than one CCID, you can specify
multiple CCIDs by enclosing the CCIDs with parentheses and separating them with
commas. The CCIDs may extend over multiple lines if necessary.
The next examples illustrate the use of this clause.
Example 1: WHERE CCID OF CURRENT (PROJ001, PROJ002, PROJ004)
Example 2: WHERE CCID OF ALL (PROJ00V)
OPTIONS
OPTIONS clauses allow to further specify an action request.
CCID ccid/COMMENT comment
You can enter a 1- to 12- character CCID and/or a 1- to 40-character comment.
CCIDs and/or comments may be required. If you do not provide a required CCID
and/or comment, the GENERATE action fails.
When you specify a CCID and/or comment in a GENERATE action, CA Endevor SCM
updates the CCID and/or COMMENT fields differently, depending on whether you
specify the GENERATE action with or without the COPYBACK option.
When you specify a CCID and/or comment in a GENERATE action without the
COPYBACK option, CA Endevor SCM uses this CCID and/or comment to:
■ Set the generate CCID and/or COMMENT fields.
■ Set the last action CCID and/or COMMENT fields.
■ Set the component list delta CCID and/or COMMENT fields if running the
generate processor creates a change.
When you specify a CCID and/or comment in a GENERATE action with the
COPYBACK option, CA Endevor SCM uses this CCID and/or comment to:
■ Set the generate and component list delta CCID and/or COMMENT fields.
■ Set the last action CCID and/or COMMENT fields.
CA Endevor SCM also uses the CCID and comment associated with the copied-back
element to set the source and source delta CCID and/or COMMENT fields when you
generate that element using the COPYBACK option.
COPYBACK
If you select this option, CA Endevor SCM first copies the current level of the
element back to the FROM stage, then generates the element. CA Endevor SCM
searches for the element first in the current environment, then in other stages
along the map.
If the element currently exists in the FROM stage, CA Endevor SCM ignores the
COPYBACK option and simply generates the element.
COPYBACK cannot be used with NOSOURCE.
SEARCH or NOSEARCH
This option is valid only when you have selected the COPYBACK option. The SEARCH
option tells CA Endevor SCM to look for the element to be generated with copyback
along the map, if it is not in the current environment.
Code NOSEARCH to restrict the search to the current environment.
NOSOURCE
When the target location has a sourced element, the element is generated in place.
When the target location has a sourceless element, the element is generated at the
target location using the source of the first occurance of the element found up the
map.
When the element does not exist at the target location, the element is generated at
the target location using the source of the first occurance of the element found up
the map. The source is not fetched to the target. The MCF element created at the
target location will contain data similiar to a fetched back element except that the
element base and delta name fields will be blank and the record will be marked as a
sourceless element.
NOSOURCE cannot be used with COPYBACK. It is not necessary to specify the
SEARCH option with NOSOURCE, because NOSOURCE implies SEARCH.
OVERRIDE SIGNOUT
If the element has been signed out to a person other than yourself, you must code
this option in order to perform this action. This option updates the SIGNOUT ID at
the appropriate stage with the user ID of the person performing the override. Use
OVERRIDE SIGNOUT with caution to avoid regressing changes made by another
user.
This SCL generates COBOL program PAYRPT01 at Stage 1. The element will be fetched if
it does not already exist at Stage 1.
List Statement
The LIST statement scans elements or members in the Master Control File, an archive
data set, or a library, and generates a list of elements/members that meet your
selection criteria. The LIST action is available in batch only. The WHERE clause supplies
the selection criteria for the LIST action. It selects the elements based on content as
opposed to the names of the elements.
The LIST action searches for elements and/or members in a location defined by the data
you enter in the FROM clause. You can request a LIST action from one of the following:
■ CA Endevor SCM (Master Control File)
■ An archive data set
■ An external library
The processing involved is the same for each type of LIST request. The clauses required,
however, depend on the location being searched. Similarly, the options available
depend on the location of the element or member. This section of the chapter
addresses each type of LIST request separately; the appropriate syntax is illustrated first,
followed by a complete discussion of the associated LIST action rules.
►─┬─────────────────────────────────────────────────────────────┬────────────►
└─ TO ─┬─ SYSOut ◄ ─────────────────────────────────────────┬─┘
├─┬─ FILe ───┬─ dd-name ─────────────────────────────┤
│ └─ DDName ─┘ │
└─ DSName ─ dataset-name ─┬────────────────────────┬─┘
└─ MEMber ─ member-name ─┘
►─ WHEre ─ ¤ ─┬─────────────────────┬─ ¤ ────────────────────────────────────►
├─┤ CCID ├────────────┤
├─┤ GENERATE ├────────┤
├─┤ SPEC ├────────────┤
└─┤ PROCESSOR GROUP ├─┘
►─┬─────────────────────────────────────────────────┬────────────────────────►
└─ BUIld ─ ¤ ─┬─────────────────────────────┬─ ¤ ─┘
├─ ACTion ─┬─ &&Action ◄ ───┬─┤
│ └─ action-name ──┘ │
├─ LEVel ─┬─ CURrent ◄ ─┬─────┤
│ ├─ NONe ──────┤ │
│ └─ ACTual ────┘ │
└─ WITh COMPonent ────────────┘
►─┬────────────────────────────────────────────────────┬─ . ──────────────────┤
└─ OPTion ─ ¤ ─┬───────────────────────────────┬─ ¤ ─┘
├─ REPlace member ──────────────┤
├─ DETail REPort ───────────────┤
├─ SHOw TEXt ─┬───────────────┬─┤
│ └─ PLUs n line ─┘ │
└─┬─ SEArch ─────┬──────────────┘
└─ NOSearch ◄ ─┘
Expansion of CCId
┌─ , ────┐
├──┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ───────────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of GENERATE
├── GENerate ─────────────────────────────────────────────────────────────────►
►─┬─ FAIled ────────────────────────────────────────────────────────┬─────────┤
├─ DATe ─┬─ EQual ◄ ─┬─ date ─┬─────────────────────────────────┬─┤
│ └─ = ───────┘ └─ TIMe ─┬───────────────┬─ date ─┘ │
│ └─ EQual ◄ ─ = ─┘ │
├─┤ FROM ├────────────────────────────────────────────────────────┤
├─┤ THROUGH ├─────────────────────────────────────────────────────┤
└─┤ FROM-THROUGH ├────────────────────────────────────────────────┘
Expansion of FROM
├── FROM ─ DATe ─┬───────────┬─ date ─┬─────────────────────────────┬──────────┤
├─ EQual ◄ ─┤ └─ TIMe ─┬─ EQual ◄ ─┬─ time ─┘
└─ = ───────┘ └─ = ───────┘
Expansion of THRough
├──┬───────────────┬─ DATe ─┬───────────┬─ date ──────────────────────────────►
└─┬─ THRough ─┬─┘ ├─ EQual ◄ ─┤
└─ THRu ────┘ └─ = ───────┘
►─┬──────────────────────┬────────────────────────────────────────────────────┤
└─ TIMe ─┬───────────┬─┘
├─ EQual ◄ ─┤
├─ = ───────┤
└─ time ────┘
Expansion of FROM-THROUGH
├── FROM ─ DATe ─┬─ EQual ◄ ─┬─ date ─┬─────────────────────────────┬─────────►
└─ = ───────┘ └─ TIMe ─┬───────────┬─ time ─┘
├─ EQual ◄ ─┤
└─ = ───────┘
►─┬─ THRough ─┬─ DATe ─┬───────────┬─ date ──────────────────────────────────►
└─ THRu ────┘ ├─ EQual ◄ ─┤
└─ = ───────┘
►─┬─────────────────────────────┬─────────────────────────────────────────────┤
└─ TIMe ─┬───────────┬─ time ─┘
├─ EQual ◄ ─┤
└─ = ───────┘
Expansion of SPEC
├──┬─ TEXt ─┬─ text-spec ───────────────────────────────┬─┬────────────────────┤
│ │ ┌─ , ─────────┐ ┌─ , ─────────┐ │ │
│ └─▼─ text-spec ─┴─┬─ AND ─┬─▼─ text-spec ─┴─┘ │
│ └─ OR ──┘ │
└─ ACM ─┬─ comp-spec ───────────────────────────────┬──┘
│ ┌─ , ─────────┐ ┌─ , ─────────┐ │
└─▼─ comp-spec ─┴─┬─ AND ─┬─▼─ comp-spec ─┴─┘
└─ OR ──┘
►─ . ─────────────────────────────────────────────────────────────────────────┤
TO SYSOUT-
SYSOUT is the default TO location. If you do not provide a TO clause, and no SET TO
information has been coded, CA Endevor SCM writes the action cards to the
Execution Report. The Execution Report appears immediately after the LIST request
and cannot be edited.
TO FILE (DDNAME) dd-name or DSNAME dataset- name
You can tell CA Endevor SCM to write action cards to both the Execution Report and
an external data set by providing a file name (DDname) or a data set name; if you
enter a FILE or DDNAME, be sure the appropriate JCL is coded. Use this option if you
want to edit the action cards.
TO MEMBER member-name
Enter a member name. This clause is valid only if you are not specifying a sequential
file.
■ CA Endevor SCM ignores a member specification if you have coded the TO
SYSOUT option.
■ The action fails if you code a member name along with a file (DDname) or data
set name that is sequential.
If you are using PDSs and do not provide a member name, CA Endevor SCM assigns
a temporary name of TEMPNAME. If you wish to use the temporary naming
capability, do not code multiple list requests to the same external data set.
If you are using a PDS and have multiple list statements with only one member
name on a SET statement, then all lists go to same member name and only first LIST
results are available.
WHERE
Use WHERE clauses to further qualify element selection criteria. CA Endevor SCM
uses both the WHERE clause in an action and any preceding SET WHERE clause to
determine the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that
precedes the action.
■ If the SET WHERE clause contains values that are not included in the WHERE
clause, CA Endevor SCM uses these values.
WHERE GENERATE
This clause allows you to select elements based on the date and, optionally, time
that an element was generated. There are five forms for this clause.
WHERE GENERATE FAILED-
Tells CA Endevor SCM to list only those elements for which the generate processor
failed.
WHERE GENERATE DATE mm/dd/yy [TIME hh:mm ]-
Tells CA Endevor SCM to list only those elements with this date, and optionally,
time stamp.
WHERE GENERATE FROM DATE mm/dd/yy [TIME hh:mm ] -
Tells CA Endevor SCM to list all elements with a date and, optionally, time stamp on
or after the specified date and time stamps.
WHERE GENERATE THROUGH DATE mm/dd/yy [TIME hh:mm ]-
Tells CA Endevor SCM to list all elements with a date and, optionally, time stamp
earlier than and including the specified date and time stamp.
WHERE GENERATE FROM DATE mm/dd/yy [TIME hh:mm ] THROUGH DATE
mm/dd/yy [TIME hh:mm]-
Tells CA Endevor SCM to list only those elements with date, and optionally, time
stamps within the specified range. If you enter a time, you must enter the date with
it.
■ In this example, CA Endevor SCM lists all elements containing the text strings
COPY COPY005 and COPY COPY010 between columns 8 and 40 of the element
source:
WHERE TEXT ((EQ 'COPY COPY005' COLUMN 8 40) AND EQ 'COPY COPY010' COLUMN 8
40))
■ In this example, CA Endevor SCM lists all elements that do not contain the text
string REMARKS between columns 8 and 15 of the element source:
WHERE TEXT DOES NOT CONTAIN 'REMARKS' COLUMN 8 15
■ In this example, CA Endevor SCM lists all elements that contain either the text
string M605SUB or the text string M607SUB and do not contain the text string
M606SUB:
WHERE TEXT (('M605SUB' OR 'M607SUB') AND DOES NOT CONTAIN 'M606SUB')
The WHERE TEXT EQUAL clause cannot be used with the WHERE ACM clauses.
WHERE [ACM] comp spec-
Limits the list to component lists containing the designated component name. Wildcards
are acceptable in the component name specification.
WHERE INPUT COMPONENT
This is the default. It tells CA Endevor SCM to list both input components and
related input components matching your entry.
WHERE RELATED INPUT COMPONENT
Tells CA Endevor SCM to list only related input components matching your
entry.
WHERE OUTPUT COMPONENT
Tells CA Endevor SCM to list both output components and related output
components matching your criteria.
WHERE RELATED OUTPUT COMPONENT
Tells CA Endevor SCM to list only related output components matching your
entry.
WHERE PROCESSOR COMPONENT
Tells CA Endevor SCM to list only processor components matching the criteria.
VERSION version
Tells CA Endevor SCM to list elements containing components with a specific
version number. Acceptable values are 00-99. The version number of the
component may differ from the version number of the element with which it is
associated.
LEVEL level-
Tells CA Endevor SCM to list elements containing components with a specific
level number. Acceptable values are 00-99. The level number of the component
may differ from the level number of the element with which it is associated.
FILE (DDNAME) dd-name-
Tells CA Endevor SCM to list elements whose:
Input components originated from the specified DDname;
Output components were written to the specified DDname;
Components were produced by a processor step specified by and associated
with the designated DDname.
BUILD
Note: You cannot build a generate with copyback request using LIST. This is because
LIST can only build an action for an element when the element exists in the FROM stage.
If you do not enter BUILD information, CA Endevor SCM looks for a SET BUILD clause
containing the appropriate information. If a SET BUILD clause has not been coded, the
system defaults to &&ACTION for BUILD ACTION and to CURRENT for BUILD LEVEL.
The WITH COMPONENTS clause is optional within the BUILD clause; if it is not coded
here or in the SET BUILD statement, component information is not provided in the list.
BUILD ACTION
Determines the action that appears in the LIST action syntax for the specified element.
You can enter either a specific action name or &&ACTION, which indicates that a specific
action will be designated for this element at a later time. This action can be entered
manually or using the SET ACTION statement.
BUILD LEVEL
Indicates whether you want the version and level of the specified element to appear on
the action cards generated by the LIST request:
CURRENT-Tells CA Endevor SCM to include the current version and level of
elements in LIST actions. This is the default if the WHERE COMPONENTS SPEC clause
has not been coded for the action, or no component list exists (CA Endevor SCM
ACM is not installed). If the where component spec clause has been coded for the
action, the default is ACTUAL.
NONE-Tells CA Endevor SCM not to list the current version and level for the
element.
ACTUAL-When building using ACM information, tells CA Endevor SCM to include the
level of the component as recorded in the component list in LIST action statements,
rather than the current level of the element as recorded in the Master Control File.
This is the default if a WHERE COMPONENTS SPEC clause has been coded for the
action.
When building from source level, create action statements using the VERSION and
LEVEL of the source level that matches the WHERE clause.
BUILD WITH COMPONENTS
Indicates that action cards should be generated for every input component that is
associated with the specified element. BUILD WITH COMPONENTS pertains to the
CA Endevor SCM ACM product only, and must be used in conjunction with the
WHERE ACM clause (explained earlier in this section).
OPTIONS
OPTIONS clauses allow you to further specify action requests.
REPLACE MEMBER
When you specify a PDS and member name in the TO clause, list requests fail if the
member already exists. Use the REPLACE MEMBER option if you want to replace the
existing member in the TO location library.
DETAIL REPORT
By default, in the Execution Report, CA Endevor SCM lists only those elements
matching the selection criteria you specify. If you select the DETAIL REPORT option,
every element searched is listed in the report-whether or not a match is found.
►─┬─────────────────────────────────────────────────────────────┬───────────►
└─ TO ─┬─ SYSOut ◄ ─────────────────────────────────────────┬─┘
├─┬─ FILe ───┬─ dd-name ─────────────────────────────┤
│ └─ DDName ─┘ │
└─ DSName ─ dataset-name ─┬────────────────────────┬─┘
└─ MEMber ─ member-name ─┘
►─┬──────────────────────────────────────────────────────┬──────────────────►
└─ WHEre ─ ¤ ─┬──────────────────────────────────┬─ ¤ ─┘
├─┤ CCID ├─────────────────────────┤
├─┤ PRO ├──────────────────────────┤
└─ ARChive ─┬─┤ DATE ├───────────┬─┘
├─┤ FROM ├───────────┤
├─┤ THROUGH ├────────┤
└─┤ FROM - THROUGH ├─┘
►─┬─────────────────────────────────────┬───────────────────────────────────►
└─ BUIld ─ ACTion ─┬─ &&Action ◄ ───┬─┘
└─ action-name ──┘
►─┬───────────────────────────────────────────────────┬─ . ─────────────────►◄
└─ OPTion ─ ¤ ─┬──────────────────────────────┬─ ¤ ─┘
├─ REPlace member ─────────────┤
├─ DETail REPort ──────────────┤
└─ SHOw TEXt ─┬──────────────┬─┘
└─ PLUsnlines ─┘
Expansion of CCID
┌─ , ────┐
├── CCId ─┬─ EQ ─┬─ ( ─▼─ ccid ─┴─ ) ─────────────────────────────────────────┤
└─ = ──┘
Expansion of DATE
├── DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬──────────────────────────┤
└─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──┘
Expansion of FROM
├── FROm ─ DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬───────────────────┤
└─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──┘
Expansion of THROUGH
├──┬─ THRough ─┬─ DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬────────────┤
└─ THRu ────┘ └─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──┘
Expansion of PRO
┌─ , ──────────┐
├── PROcessor GROup ─┬─ EQ ─┬─ ( ─▼─ group name ─┴─ ) ────────────────────────┤
└─ = ──┘
Specifies the location of the element to be listed. You must code a FILE or DDNAME for
the archive data set to be searched for the specified element. Enter this information
first when coding the syntax. The SITE site-id is optional.You must specify an
environment, system, subsystem, type, and stage number (either 1 or 2). The
environment name must be explicit. You can name-mask the system, subsystem, type,
and stage.
The From clause and any preceding Set From statements determine the from
criteria for the action. Specify the from criteria according to the following rules:
■ The from criteria must be fully specified, except for the SITE site-id. This
includes the archive file ddname and all the inventory location specifications
(Environment, System, Subsystem, Stage, Type, and Stage).
■ All the From fields can be specified on a single Set From statement, without the
existence of the FROM clause or any FROM fields within the action syntax.
■ All the From fields can be specified within the action syntax, without the
existence of a Set From statement.
■ To be valid, a Set From statement must specify the archive FILE ddname and
one or more of the inventory location specifications, and no other Set From
statements can exist before the action statement.
■ If the Set From statement is coded correctly, any of the FROM inventory
location field values can be overridden in the action syntax. The FROM clause
on the action must specify any of the criteria missing from the Set From
statement.
In the following cases, an action with an invalid from criteria specification can
complete processing, but list elements from the production inventory, instead of
the archive data set:
■ If more than one Set From statement exists. In this case, only the last
statement is used, but the location defaults to the production environment.
■ If any of the criteria are missing, the location defaults to the production
environment.
Note: If the action executes against the archive file, the following message appears
in the Action Execution Report:
C1G0213I FROM ARCHIVE FILE: ARCHFILE
If the action executed, but you do not see this message, the action was performed
against the production inventory location that is coded on the request. If the
elements exist in the production environment, the action may complete
successfully. However, the list will include elements found in the production
environment, instead of the archive data set. If the elements do not exist in the
production environment, a message is issued that indicates that the ENV env-name
is not found.
Note: For more information about the from criteria and the SET FROM statement,
see Examples: From Criteria Specification for List Element From Archive (see
page 138).
TO
Specifies where the element is to be listed. CA Endevor SCM uses both the TO
clause in an action and any preceding SET TO clause to determine the "to" criteria
for that action.
■ A TO clause in an action overrides values in a SET TO clause that precedes the
action.
■ If the SET TO clause contains values that are not included in the TO clause, CA
Endevor SCM uses these values.
TO SYSOUT-
SYSOUT is the default TO location. If you do not provide a TO clause, and no SET TO
information has been coded, CA Endevor SCM writes the action cards to the
Execution Report. The Execution Report appears immediately after the LIST action
request and cannot be edited.
TO FILE (DDNAME) dd-name or DSNAME dataset-name-
You can tell CA Endevor SCM to write action cards to both the Execution Report and
an external data set by providing a file name (DDname) or a data set name; if you
enter a FILE or DDNAME, be sure the appropriate JCL is coded. Use this option if you
want to edit the action cards.
TO MEMBER member-name-
Enter a member name. This clause is valid only if you are not specifying a sequential
file.
CA Endevor SCM ignores a member specification if you have coded the TO SYSOUT
option.
■ The action fails if you code a member name along with a file (DDname) or data
set name that is sequential.
■ If you are using PDSs and do not provide a member name, CA Endevor SCM
assigns a temporary name of TEMPNAME. If you wish to use the temporary
naming capability, do not code multiple list requests to the same external data
set.
If you are using a PDS and have multiple list statements with only one member
name on a SET statement, then all lists go to same member name and only first LIST
results are available.
WHERE
Use WHERE clauses to further qualify element selection criteria. CA Endevor SCM
uses both the WHERE clause in an action and any preceding SET WHERE clause to
determine the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that
precedes the action.
■ If the SET WHERE clause contains values that are not included in the WHERE
clause, CA Endevor SCM uses these values.
WHERE ARCHIVE-
This clause allows you to select elements based on the date and, optionally, time
that an element was archived. There are four possible forms for this clause:
WHERE ARCHIVE DATE mm/dd/yy [TIME hh:mm ]
This clause tells CA Endevor SCM to list only those elements with this archive date,
and optionally, time stamp.
WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm ]
This clause tells CA Endevor SCM to list all elements with an archive date and,
optionally, time stamp on or after the specified date and time stamps.
WHERE ARCHIVE THROUGH DATE mm/dd/yy [TIME hh:mm]
This clause tells CA Endevor SCM to list all elements with an archive date and,
optionally, time stamp earlier than and including the specified date and time stamp.
WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm ] THROUGH DATE
mm/dd/yy [TIME hh:mm ]
This clause tells CA Endevor SCM to list only those elements with archive date, and
optionally, time stamps within the specified range. If you enter a time, you must
enter the date with it.
WHERE PROCESSOR GROUP group name-
This clause allows you to select elements according to a specified processor group.
You can use a name-mask when specifying the processor group name.
If you need to select elements identified under more than one processor group, you
can specify multiple distinct processor group selectors by enclosing the processor
groups with parentheses and separating them with commas. The processor groups
may extend over multiple lines if necessary.
The next examples illustrate the use of this clause.
Example 1: WHERE PROCESSOR GROUP (COBVS, COBII)
Example 2: WHERE PROCESSOR GROUP (COBV)
The following examples show valid and invalid from criteria specifications for the List
Element From Archive statement.
These examples work as expected to perform the action against the archive location:
■ All the FROM fields can be coded on a single SET statement, as shown next.
SET FROM FILE
ARCHFILE
ENV ENV1
SYS 'P7015'
SUB 'P7015'
TYP 'P7015'
STA NUM 1.
LIST ELEMENT *
TO DDNAME SCLSTMTS MEMBER LIST1
BUILD ACTION &&ACTION
.
■ All the FROM fields can be coded within the action syntax without the existence of a
SET FROM statement containing inventory location information, as shown next:
SET STOPRC 16 .
LIST ELEMENT *
FROM FILE
ARCHFILE
ENV 'ENV1' SYSTEM 'P7015' SUBSYSTEM 'P7015' TYPE 'P7015' STA NUM 1
TO DDNAME SCLSTMTS MEMBER LIST2
BUILD ACTION &&ACTION
.
■ When mixing the FROM fields between a SET statement and the action, the SET
FROM FILE and at least one of the FROM inventory location fields must be specified
in a single SET statement and no other SET statement containing FROM inventory
location information can exist. A valid example is shown next:
SET FROM FILE
ARCHFILE
ENV ENV1
TYP 'P7015'
STA NUM 1.
LIST ELEMENT *
FROM SYSTEM 'P7015' SUBSYSTEM P7015
TO DDNAME SCLSTMTS MEMBER LIST4
BUILD ACTION RESTORE
.
■ When mixing the FROM fields between a SET statement and the action, the SET
FROM FILE and at least one of the FROM inventory location fields must be specified
in a single SET statement and no other SET statement containing FROM inventory
location information can exist. Overrides in the action syntax are supported. A valid
example is shown next:
SET FROM FILE
ARCHFILE
ENV ENVZ
TYP 'ZZZZ'
STA NUM 1.
LIST ELEMENT *
FROM ENV ENV1 SYSTEM 'P7015' SUBSYSTEM P7015 TYPE P7015 STA NUM 2
TO DDNAME SCLSTMTS MEMBER LIST4
BUILD ACTION TRANSFER
.
■ In the following example the BUILD ACTION value is DELETE. This is supported, but
the FROM FILE ddname and WHERE ARCHIVE DATE SCL clauses are suppressed in
the generated SCL so they can be executed against an CA Endevor SCM
Environment instead of an archive file. DELETE is the only action that works this
way.
SET FROM FILE
ARCHFILE
SUBSYSTEM 'P7015' .
LIST ELEMENT *
FROM ENV 'ENV1' SYSTEM P7015 SUBSYSTEM P7015 TYPE 'P7015' STA NUM 1
TO DDNAME SCLSTMTS MEMBER DELETE
BUILD ACTION DELETE.
.
These examples are coded incorrectly and do not perform the action against the archive
location:
■ In the following example, more than one SET FROM statement exists. The second
SET FROM clears the first and CA Endevor SCM assumes the list action is against the
production inventory location instead of an ARCHIVE file. This action may execute
successfully depending on whether elements exist at the production inventory
location, but it is probably not what the request was intended to do. Message
C1G0213I will not be found in the CA Endevor SCM Execution Report associated
with this action.
SET FROM FILE
ARCHFILE.
SET FROM
SUBSYSTEM 'P7015' .
LIST ELEMENT *
FROM ENV 'ENV1' SYSTEM 'P7015' TYPE 'P7015' STA NUM 1
TO DDNAME SCLSTMTS MEMBER DELETES
BUILD ACTION &&ACTION
.
■ In the following example the second SET FROM statement cancels out the first SET
FROM statement. Therefore the SET FROM including the subsystem is ignored and
the action fails due to the missing subsystem specification.
SET FROM FILE
ARCHFILE
SUBSYSTEM 'P7015' .
SET FROM
SYSTEM 'P7015' .
LIST ELEMENT *
FROM ENV 'ENV1' TYPE 'P7015' STA NUM 1
TO DDNAME SCLSTMTS MEMBER TRANSFER
BUILD
.
C1BM4100: E010 SUBSYSTEM REQUIRED ON "FROM" CLAUSE FOR THIS ACTION
■ In the following example the action fails due to the mixed coding (SET and action
syntax) of the FROM information. The action is confused and issues message
C1G0218E that is not very informative as to the actual issue.
SET FROM
ENV ENV1
SYS 'P7015'
SUB 'P7015'
TYP 'P7015'
STA NUM 1
.
LIST ELEMENT *
FROM FILE ARCHIVE
TO DDNAME SCLSTMTS MEMBER BLDMOV
BUILD ACTION MOVE
.
►─┬──────────────────────────────────────────────────┬─ . ───────────────────►◄
└─ OPTion ─ ¤ ─┬─────────────────────────────┬─ ¤ ─┘
├─ REPlace member ────────────┤
├─ DETail REPort ─────────────┤
└─ SHOw TEXt ─┬─────────────┬─┘
└─ PLUsnline ─┘
►►─┬──────────────────────────┬─ text ────────────────────────────────────────►
└─ DOEs NOT ─┬───────────┬─┘
├─ CONTain ─┤
├─ EQual ◄ ─┤
└─ = ───────┘
►─┬────────────────────────────────────┬─────────────────────────────────────►◄
└─┬──────────┬─ start-pos ─ end-pos ─┘
└─ column ─┘
Indicates the member(s) to be listed. Code the required syntax and enter the
appropriate member name. In addition, you can use a name-mask with the member
name.
Indicates that a range of members should be listed, beginning with the member coded
in the LIST MEMBER clause, up to and including the member specified in this statement.
You can use a name-mask with the member name. If you code the THROUGH clause,
you cannot enter a member name in the TO clause.
DSNAME dataset-name
The FROM clause indicates the location of the member being listed. CA Endevor SCM
uses both the FROM clause in an action and any preceding SET FROM clause to
determine the "from" criteria for that action.
■ A FROM clause in an action overrides values in a SET FROM clause that precedes the
action.
■ If the SET FROM clause contains values that are not included in the FROM clause,
CA Endevor SCM uses these values.
If you enter a FILE or DDNAME, be sure the appropriate JCL is coded. The data set you
specify in the FROM clause cannot be a load module library or a sequential file.
TO
The TO clause indicates where the element is to be listed. CA Endevor SCM uses both
the TO clause in an action and any preceding SET TO clause to determine the "to"
criteria for that action.
■ A TO clause in an action overrides values in a SET TO clause that precedes the
action.
■ If the SET TO clause contains values that are not included in the TO clause, CA
Endevor SCM uses these values.
TO MEMBER member-name-Enter a member name. This clause is valid only if you are
not specifying a sequential file.
■ CA Endevor SCM ignores a member specification if you have coded the TO SYSOUT
option.
■ The action fails if you code a member name along with a file (DDname) or data set
name that is sequential.
If you are using PDSs and do not provide a member name, CA Endevor SCM assigns a
temporary name of TEMPNAME. If you wish to use the temporary naming capability, do
not code multiple list requests to the same external data set.
If you are using a PDS and have multiple list statements with only one member name on
a SET statement, then all lists go to same member name and only first LIST results are
available.
WHERE
Use WHERE clauses to further qualify element selection criteria. CA Endevor SCM uses
both the WHERE clause in an action and any preceding SET WHERE clause to determine
the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that precedes
the action.
■ If the SET WHERE clause contains values that are not included in the WHERE clause,
CA Endevor SCM uses these values.
WHERE TEXT text spec-Limits the list to elements that contain (or do not contain) one
or more specified 1- to 70-character text strings.
Examples:
WHERE TEXT 'WO9-LINKAGE'
In this example, CA Endevor SCM lists all elements containing the text string
WO9-LINKAGE.
Where TEXT ('COPY COPY005' COLUMN 7 41 AND 'COPY COPY010' COLUMN 7 41)
In this example, CA Endevor SCM lists all elements containing the text strings COPY
COPY005 and COPY COPY010 between columns 7 and 41 of the element source.
In this example, CA Endevor SCM lists all elements that do not contain the text string
REMARKS between columns 8 and 15 of the element source.
In this example, CA Endevor SCM lists all elements that contain either the text string
M605SUB or the text string M607SUB and do not contain the text string M606SUB.
Determines the action that appears in the LIST action syntax for the specified element. If
you do not enter required BUILD information here, CA Endevor SCM looks for a SET
BUILD clause containing the appropriate information. If a SET BUILD clause has not been
coded, the system defaults to &&ACTION.
You can enter a specific action (for example, ADD or MOVE) in this clause or the variable
&&ACTION. &&ACTION indicates that a specific action will be designated for this
element at a later time. This action can be entered manually or using the SET ACTION
statement.
OPTIONS
REPLACE MEMBER-When you specify a PDS and member name in the TO clause, list
requests fail if the member already exists. Use the REPLACE MEMBER option if you want
to replace the existing member in the TO location library.
DETAIL REPORT-By default, in the Execution Report, CA Endevor SCM lists only those
elements matching the selection criteria you specify. If you select the DETAIL REPORT
option, every element searched is listed in the report-whether or not a match is found.
SHOW TEXT [ PLUS n LINES ]-This option allows you to print the line of source code that
contains a specified text string, plus a designated number of lines of code before and
after the text string.
You must code the WHERE TEXT clause if you use the SHOW TEXT option. Otherwise,
you receive a syntax error.
In the first example, the SCL generates a list of all the elements in the Payroll Reporting
subsystem that contain the text "COPY PAYCOPY1" in columns 7 through 45, inclusive.
SCL will be generated for each element found.
In the second example, the SCL generates a list of all members in PAYROLL.SRCLIB that
begin with "PAYRPT*' and contain the string "COPY PAYCOPY3" in columns 7 through 45,
inclusive. The subsequent report will display the entire line in which the text was found.
Move Statement
The MOVE statement moves elements between inventory locations along a map.
►►─ MOVe ELEment ─ element-name ─┬──────────────────────────────┬─ FROm ──────►
└─┬─ THRough ─┬─ element-name ─┘
└─ THRu ────┘
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of PRO
┌─ , ──────────┐
├── PROcessor GROup ─┬─ EQ ─┬─ ( ─▼─ group name ─┴─ ) ─────────────────────────┤
└─ = ──┘
Indicates the element(s) to be moved. Code the required syntax and enter the
appropriate element name. In addition, you can use a name-mask with the element
name.
Indicates that a range of elements should be moved, beginning with the element coded
in the MOVE ELEMENT statement, up to and including the element specified in this
statement. You can use a name-mask with the element name.
SYSTEM sys-name
SUBSYSTEM subsys-name
TYPE type-name
STAGE stage id
The FROM clause indicates the location of the element being moved. CA Endevor SCM
uses both the FROM clause in an action and any preceding SET FROM clause to
determine the "from" criteria for that action.
■ A FROM clause in an action overrides values in a SET FROM clause that precedes the
action.
■ If the SET FROM clause contains values that are not included in the FROM clause,
CA Endevor SCM uses these values.
You must specify an environment, system, subsystem, type, and stage. You can use a
name-mask with the system, subsystem and type. The environment name and stage
information must be explicit. The stage specification can be either one of the following:
■ STAGE ID-Enter a single alphanumeric stage identifier.
■ STAGE NUMBER-Enter either 1 or 2.
Moving sourceless elements: When the Move element is sourceless, the element’s last
level timestamp is checked against the next sourced element found up the map. If the
timestamps are the same, a sourceless element record will be created at the target
location if no element exists. The processor uses the element source data from the next
sourced element for its GEN process. If the timestamps are not the same, the move
action fails. You will need to take corrective action at this point. You can either delete
the sourceless element or regenerate the sourceless element and then follow this by a
move.
When the target location has a sourceless element, its last level timestamp is compared
with the next sourced element. If the timestamps are not equal, the action fails unless
the SYNC option is used.
WHERE
Use the WHERE clause to further qualify element selection criteria. CA Endevor SCM
uses both the WHERE clause in an action and any preceding SET WHERE clause to
determine the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that precedes
the action.
■ If the SET WHERE clause contains values that are not included in the WHERE clause,
CA Endevor SCM uses these values.
WHERE CCID OF ccid -Limits the processing to those elements that match one of the
supplied CCIDs. You can use a name-mask in this field.
■ CURRENT-Tells CA Endevor SCM to look through the CCID fields in the MCF (Master
Control File) to find a specified CCID(s). This is the default.
■ ALL-Tells CA Endevor SCM to search both the Master Control File and the SOURCE
DELTA levels for a specified CCID(s). If you have ACM, CA Endevor SCM also
searches the COMPONENT LIST DELTA levels for the specified CCID(s). If the
element is sourceless , the source element delta level CCID checks are not done,
because the element source and delta files are not present.
■ RETRIEVE-Tells CA Endevor SCM to use the CCID in the Master Control File
RETRIEVE CCID field.
If you need to select elements identified under more than one CCID, you can specify
multiple CCIDs by enclosing the CCIDs with parentheses and separating them with
commas. The CCIDs may extend over multiple lines if necessary.
WHERE PROCESSOR GROUP group name-This clause allows you to select elements
according to a specified processor group. You can use a name-mask when specifying the
processor group name.
If you need to select elements identified under more than one processor group, you can
specify multiple distinct processor group selectors by enclosing the processor groups
with parentheses and separating them with commas. The processor groups may extend
over multiple lines if necessary.
OPTIONS
CCIDs and/or comments may be required. If you do not provide a required CCID and/or
comment, the MOVE action fails.
When you specify a CCID and/or comment in a MOVE action, CA Endevor SCM updates
the CCID and/or COMMENT fields differently, depending on whether you specify the
MOVE action with history or without history.
When you specify a CCID and/or comment in a MOVE action without history, CA
Endevor SCM uses this CCID and/or comment to set the last action CCID and/or
COMMENT fields. CA Endevor SCM also:
■ Sets the source and generate CCID and/or COMMENT fields to their value at the
source location of the move.
■ Sets the source and component list delta CCID and/or COMMENT fields to their last
value at the source location of the move.
■ Clears the retrieve CCID and/or COMMENT field.
When you specify a CCID and/or comment in a MOVE action using the WITH HISTORY
option, CA Endevor SCM uses this CCID and/or comment to set the last action CCID
and/or COMMENT fields.
When moving with history, if the sync point is found, CA Endevor SCM moves the
element from the FROM location to the TO location, appending the FROM location delta
levels after the sync-point element. If the two levels are different, and SYNC is specified,
CA Endevor SCM first creates a sync level at the target reflecting the differences
between the base level of the FROM element and the target, then moves the element
to the TO location and appends the FROM location delta levels to the target.
WITH HISTORY-The WITH HISTORY option preserves source element change history. If
you request MOVE WITH HISTORY, CA Endevor SCM first ensures that the current level
of the target element is the same as the base level of the source element. It then moves
all levels of the element from source to target, appending the source change history to
the target change history.
If you do not code this option, CA Endevor SCM moves the element(s) without history.
When you move the element without history CA Endevor SCM searches through the
element levels at the source location to find a matching level at the target location. CA
Endevor SCM then compares the two and creates a new level at the target location that
reflects the differences.
If the base level of the source element differs from the current level at the target, the
move fails unless you code the SYNCHRONIZE option.
BYPASS ELEMENT DELETE-This option tells CA Endevor SCM to retain the element in the
source stage after successfully completing the move.
SIGNIN-Default. This option tells CA Endevor SCM to sign in all elements at the target
stage after successfully completing the move. You must code this option to override SET
OPTION RETAIN SIGNOUT or SET OPTION SIGNOUT TO clauses.
RETAIN SIGNOUT-This option tells CA Endevor SCM to retain the source location
signouts for all elements at the target location. This option applies only if the element
was signed out at the target before the MOVE.
If the element was signed out at the target before the MOVE, it will be signed out to
that same ID-at the target-after the MOVE.
If the element was not signed out at the target before the MOVE, it will not be signed
out at the target after the MOVE.
If you do not use this option, the element at the target location is not signed out,
regardless of whether it was signed out at the target before the MOVE took place.
SIGNOUT TO userid-This option tells CA Endevor SCM to sign all elements out to the
specified user ID at the target stage.
JUMP-The JUMP option tells CA Endevor SCM to move elements across environments
even if the element exists at an intermediate stage that is not on the map. If the
element exists at an intermediate stage, the move fails if REQ ELM JUMP
ACKNOWLEDGE=Y at the system level and the JUMP option is not coded.
In either case, CA Endevor SCM issues a message informing you that the element exists
in a non-map stage between the source and target stages of the move.
This SCL moves an element from Stage 1. The element history will be retained at the
target stage.
WITH HISTORY.
Print Statement
The PRINT statement prints selected information about elements or library members,
depending on the data entered in the FROM clause.
Expansion of CCID
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─ ccid ─ ) ────────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of PRO
├── PROcessor GROup ─┬─ EQ ─┬─ ( ─ group name ─ ) ─────────────────────────────┤
└─ = ──┘
Expansion of LISTING
├── LISTING ─┬────────────────────────────────────────────┬────────────────────┤
└─ COMPONENT LIST TEXT STRING ─ text-string ─┘
C1PRINT
Prints to an internal print queue or file. C1PRINT requires the appropriate JCL. If
you print an element with records that are longer than 121 characters, then the
use of C1PRINT can lead to truncation of the output. To avoid this, use the
C1PRTVB ddname. Examples follow:
■ To send your output to the queue, code the following. This is the default:
//C1PRINT DD SYSOUT=*
C1PRTVB
Prints elements that have records that are longer than 121 characters to an
internal print queue or file. You must have previously allocated the C1PRTVB
data set appropriately. The recommended DCB for C1PRTVB is
LRECL=27994,BLKSIZE=0,RECFM=VB. However, if the record size of any record
is longer than 27978, code a larger record length. You must code a sufficiently
long LRECL for the output file. The LRECL size should be at least 16 bytes longer
than the longest record of the element. For example, allocate the data set as
follows:
//C1PRTVB DD DISP=(,CATLG),DSN=my.C1PRTVB,
// SPACE=TRK,(5,5),UNIT=SYSDA,
// DCB=(RECFM=VB,LRECL=27994,BLKSIZE=0)
OPTIONS
OPTIONS clauses allow you to further specify an action request.
NOCC
Suppresses the default printing of a header on each page of output. For the PRINT
ELEMENT MASTER output, other line feed characters in column 1 of the output are
replaced with a blank space.
EXPLODE
Prints the input component information extracted from the ACMQ files (ACMROOT
and ACMXREF), for the specified element.
When Explode is specified, the print action for the element jumps to the top of the
list to be executed. Therefore, any Print actions that use the Explode option are
processed first before other actions are processed in Type sequence order.
Indicates the name of the member(s) to be printed. You can use a name-mask.
Indicates that a range of members should be printed beginning with the member coded
in the PRINT MEMBER statement, up to and including the member specified in this
statement. You can use a name-mask with either name.
The FROM clause indicates the location of the member being printed. CA Endevor SCM
uses both the FROM clause in an action and any preceding SET FROM clause to
determine the "from" criteria for that action.
■ A FROM clause in an action overrides values in a SET FROM clause that precedes the
action.
■ If the SET FROM clause contains values that are not included in the FROM clause,
CA Endevor SCM uses these values.
You must enter a FILE, DDNAME, or DSNAME (enter one and only one); be sure the
appropriate JCL is coded for a FILE or DDNAME. If you enter any other information in the
FROM clause, it is ignored.
TO C1PRINT | C1PRTVB | FILE dd-name | DDNAME dd-name
The TO clause indicates where the element prints.
■ A TO clause in an action overrides values in a SET TO clause that precedes the
action. For more information about the SET TO statement, see Set To Syntax
(see page 70)."
■ If you do not enter any information in the TO clause for the PRINT action, any
preceding SET TO statement information is used.
■ If the SET TO clause contains values that are not included in the TO clause, CA
Endevor SCM uses these values.
■ If you do not enter any information in the TO clause for the PRINT action, and if
a SET TO clause has not been entered, the system defaults to C1PRINT.
C1PRINT
Prints to an internal print queue or file. C1PRINT requires the appropriate JCL. If
you print an element with records that are longer than 121 characters, then the
use of C1PRINT can lead to truncation of the output. To avoid this, use the
C1PRTVB ddname. Examples follow:
■ To send your output to the queue, code the following. This is the default:
//C1PRINT DD SYSOUT=*
C1PRTVB
Prints elements that have records that are longer than 121 characters to an
internal print queue or file. You must have previously allocated the C1PRTVB
data set appropriately. The recommended DCB for C1PRTVB is
LRECL=27994,BLKSIZE=0,RECFM=VB. However, if the record size of any record
is longer than 27978, code a larger record length. You must code a sufficiently
long LRECL for the output file. The LRECL size should be at least 16 bytes longer
than the longest record of the element. For example, allocate the data set as
follows:
//C1PRTVB DD DISP=(,CATLG),DSN=my.C1PRTVB,
// SPACE=TRK,(5,5),UNIT=SYSDA,
// DCB=(RECFM=VB,LRECL=27994,BLKSIZE=0)
In the first example, the SCL prints the current version of element "PAYRPT19." The
output is written to the default DDname (C1PRINT).
The SCL in the second example prints member "PAYRPT12" from the CA Endevor SCM
Listing Library. The output is sent to the default Ddname (C1PRINT).
Restore Statement
The Restore statement restores an element from an archive data set back to CA Endevor
SCM, copying the source as it was before the element was archived or transferred to the
data set. The RESTORE action can restore elements from an unload CA Endevor SCM file.
Expansion of DATE
├── DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬───────────────────────────┤
└─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──┘
Expansion of FROM
├── FROm ─ DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬────────────────────┤
└─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──┘
Expansion of THROUGH
├──┬─ THRough ─┬─ DATe ─┬─ EQ ─┬─ date ─┬────────────────────────┬─────────────┤
└─ THRu ────┘ └─ = ──┘ └─ TIMe ─┬─ EQ ─┬─ time ─┘
└─ = ──
Indicates the element(s) to be restored. Code the required syntax and enter the
appropriate element name. In addition, you can use a name-mask with the element
name.
Indicates that a range of elements should be restored, beginning with the element
coded in the RESTORE ELEMENT statement, up to and including the element specified in
this statement. You can use a name-mask with the element name. If you use the
THROUGH clause, however, you cannot enter a new element name (in the TO clause).
The FROM clause indicates the location of the element being restored. CA Endevor SCM
uses both the FROM clause in an action and any preceding SET FROM clause to
determine the "from" criteria for that action.
■ A FROM clause in an action overrides values in a SET FROM clause that precedes the
action.
■ If the SET FROM clause contains values that are not included in the FROM clause,
CA Endevor SCM uses these values.
Note: For a description of the SET FROM statement, see the chapter "Using Set Clear,
and EOF Statements."
The first clause of the FROM statement must be a FILE or DDNAME, indicating from
which file the element is being restored. It must be followed by environment, system,
subsystem, type, and stage number (either 1 or 2). The environment name must be
explicit. You can use a name-mask with the system, subsystem, type, and stage number.
The FROM file can be either an archive or unload file, or a concatenation of archive files
or unload files. You cannot concatenate archive and unload files in a single RESTORE
action.
Note: If you code more than one RESTORE statement in your SCL, each RESTORE
statement can point to a different DDNAME and a different file type (archive or unload).
Entering a site ID is optional. This field further defines the location of the element being
restored.
TO ENVIRONMENT env-name
SYSTEM system-name
SUBSYSTEM subsys-name
TYPE type-name
STAGE stage-id
STAGE NUMBER stage-no
ELEMENT element-name
The TO clause indicates where the element is being restored. CA Endevor SCM uses both
the TO clause in an action and any preceding SET TO clause to determine the "to"
criteria for that action.
■ A TO clause in an action overrides values in a SET TO clause that precedes the
action.
■ If the SET TO clause contains values that are not included in the TO clause, CA
Endevor SCM uses these values.
If no SET TO clause has been coded, CA Endevor SCM retrieves the required information
from the FROM clause coded for this action. Environment must be coded first in TO.
You must specify an environment, system, subsystem, type, and stage. The stage
specification can be either one of the following:
■ STAGE ID-Enter a single alphanumeric stage identifier.
■ STAGE NUMBER-Enter either 1 or 2.
Remember that you cannot use a name-mask with a TO field name. Enter a different
element name if you want to change the element name specified (that is, the archived
element name) in the RESTORE ELEMENT clause. If you do not enter an element name
here, CA Endevor SCM uses the archived element name.
■ You can enter a new element name only if a full element name was coded in the
RESTORE ELEMENT clause; that is, if you have not used a name-mask.
■ If you enter an element name here, you cannot use the THROUGH clause.
■ If you want to code a different element name, you must do so in the RESTORE
statement. The SET TO MEMBER clause does not apply to this action.
WHERE
Use WHERE clauses to further qualify element selection criteria. CA Endevor SCM uses
both the WHERE clause in an action and any preceding SET WHERE clause to determine
the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that precedes
the action.
■ If the SET WHERE clause contains values that are not included in the WHERE clause,
CA Endevor SCM uses these values.
WHERE CCID ccid -Limits the processing to those elements that match one of the
supplied CCIDs. You can use a name-mask in this field.
If you need to select elements identified under more than one CCID, you can specify
multiple CCIDs by enclosing the CCIDs with parentheses and separating them with
commas. The CCIDs may extend over multiple lines if necessary.
WHERE ARCHIVE-This clause allows you to select elements based on the date and,
optionally, time that an element was archived. There are four possible forms for this
clause:
This clause tells CA Endevor SCM to archive only those elements with this date, and
optionally, time stamp.
This clause tells CA Endevor SCM to archive all elements with a date and, optionally,
time stamp on or after the specified date and time stamps.
This clause tells CA Endevor SCM to archive all elements with a date and, optionally,
time stamp earlier than and including the specified date and time stamp.
This clause tells CA Endevor SCM to archive only those elements with date, and
optionally, time stamps within the specified range.
Note: If you enter a time, you must enter a date with it.
OPTIONS
When you specify a CCID and/or comment in a RESTORE action for an existing element,
CA Endevor SCM uses this CCID and/or comment to:
■ Set the generate and component list delta CCID and/or COMMENT fields if the
generate processor is run. CA Endevor SCM writes this comment to the Master
Control File replacing the comment for that element. CA Endevor SCM does not set
these fields if you code BYPASS GENERATE PROCESSOR.
■ Set the last action CCID and/or COMMENT fields. CA Endevor SCM sets the source,
source delta, and RETRIEVE CCID and/or COMMENT fields based on the archive data
set.
CA Endevor SCM sets the source, source delta, and RETRIEVE CCID and/or COMMENT
fields based on the archive data set.
NEW VERSION version-Tells CA Endevor SCM to assign the specific version number to
the element. Acceptable values are 1-99. If the element exists at the target location or
at a location up the mapped route, the RESTORE action fails.
PROCESSOR GROUP EQ/= group name-Tells CA Endevor SCM which processor group to
associate with the restored element. The keywords PROCESSOR GROUP EQ and BYPASS
GENERATE PROCESSOR are mutually exclusive (you can code one or the other). If both
are coded, the default BYPASS GENERATE PROCESSOR is used.
RETAIN GENERATE HISTORY – Retain the Master Control File last generate information.
This option when used with the Transfer to Archive action can be useful when
converting elements to a new delta type.
This SCL restores all of the COBOL elements from the archive file associated with the
ARCHIN DD statement that you specify in the execution JCL.
You can code any or all of the previous DD statements. If you code one C1WORK DD
statement, then it overrides the equivalent dynamic allocation of datasets. For example,
if a very large element is transferred the regular dynamic allocation of datasets may not
be sufficient for storing element base, element delta, and merger element records. In
this case, you can code the C1WORK04, C1WORK05 and C1WORK06 statements to
override the dynamic allocation of datasets.
Retrieve Statement
The RETRIEVE statement copies an element to a user data set.
├── RETrieve ELEment ─ element-name ─┬──────────────────────────────┬─────────►
└─┬─ THRough ─┬─ element-name ─┘
└─ THRu ────┘
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of PRO
┌─ , ──────────┐
├── PROcessor GROup ─┬─ EQual ─┬─ ( ─▼─ group name ─┴─ ) ──────────────────────┤
└─ = ─────┘
Indicates the name of the element(s) to be retrieved. You can specify the element name
using a name-mask, unless you want to retrieve a specific level of the element.
Indicates that a range of elements should be retrieved, beginning with the element
coded in the RETRIEVE ELEMENT statement, up to and including the element specified in
this statement. You can use a name-mask with the element name.
If you use the THROUGH clause, you cannot enter a member name in the TO clause or a
different level in the LEVEL clause.
Indicates the version and level number you want to retrieve. You must code a full
element name if you want to indicate a version level. You cannot enter this clause if you
use the THROUGH clause. Acceptable version numbers are 1-99. Acceptable level
numbers are 00-99. By default, information for the current version level is retrieved.
VERSION and LEVEL must be specified together. If you enter this clause, you cannot use
the THROUGH clause.
The FROM clause indicates the location of the element being retrieved. CA Endevor SCM
uses both the FROM clause in an action and any preceding SET FROM clause to
determine the "from" criteria for that action.
■ A FROM clause in an action overrides values in a SET FROM clause that precedes the
action.
■ If the SET FROM clause contains values that are not included in the FROM clause,
CA Endevor SCM uses these values.
You must specify an environment, system, subsystem, type, and stage. The environment
name must be explicit. You can use a name-mask with the system, subsystem, type and
stage. The stage specification can be either one of the following:
■ STAGE ID-Enter a single alphanumeric stage identifier.
■ STAGE NUMBER-Enter either 1 or 2.
If you use a name-mask with the stage, CA Endevor SCM begins searching for the
specified element in Stage 1 of the current environment, and retrieves the first element
that matches the specified element name, regardless of its location, version or level.
If the element is sourceless, the source is retrieved from the next sourced element
found up the map. You will get a warning message if the last level timestamp on the
retrieved element is not the same as the sourceless element.
The TO clause indicates where the element is being retrieved. CA Endevor SCM uses
both the TO clause in an action and any preceding SET TO clause to determine the "to"
criteria for that action.
■ A TO clause in an action overrides values in a SET TO clause that precedes the
action.
■ If the SET TO clause contains values that are not included in the TO clause, CA
Endevor SCM uses these values.
You must enter a FILE, DDNAME, DSNAME or PATH in conjunction with HFSFILE (enter
one and only one). If you enter either a FILE or DDNAME, be sure the appropriate JCL is
coded.
Enter a member name if it differs from the element name specified in the RETRIEVE
ELEMENT clause. Remember that you cannot use a name-mask with a TO field name.
If you do not enter a member name, CA Endevor SCM assumes that the element name
and member name are the same. If you code a member name:
■ The RETRIEVE ELEMENT clause must contain a fully qualified element name.
■ You cannot use the THROUGH clause.
The SET TO MEMBER clause does not apply to the RETRIEVE action.
PATH
The USS directory to which you want to retrieve the element. This has a maximum of
768 characters.
HFSFILE
The name of the file for the retrieved element. The file name has a maximum of 255
characters.
WHERE
Use WHERE clauses to further qualify element selection criteria. CA Endevor SCM uses
both the WHERE clause in an action and any preceding SET WHERE clause to determine
the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that precedes
the action.
■ If the SET WHERE clause contains values that are not included in the WHERE clause,
CA Endevor SCM uses these values.
WHERE CCID OF ccid-Limits the processing to those elements that match one of the
supplied CCIDs. You can use a name-mask in this field.
■ CURRENT-Tells CA Endevor SCM to look through the CCID fields in the Master
Control File to find a specified CCID(s). This is the default.
■ ALL-Tells CA Endevor SCM to search both the Master Control File and the SOURCE
DELTA levels for a specified CCID(s). If you have ACM, CA Endevor SCM also
searches the COMPONENT LIST DELTA levels for the specified CCID(s). If the
element is sourceless, the source element delta level CCID checks are not done.
■ RETRIEVE-Tells CA Endevor SCM to use the CCID in the Master Control File
RETRIEVE CCID field.
If you need to select elements identified under more than one CCID, you can specify
multiple CCIDs by enclosing the CCIDs with parentheses and separating them with
commas. The CCIDs may extend over multiple lines if necessary.
WHERE PROCESSOR GROUP group name- This clause allows you to select elements
according to a specified processor group. You can use a name-mask when specifying the
processor group name.
If you need to select elements identified under more than one processor group, you can
specify multiple distinct processor group selectors by enclosing the processor groups
with parentheses and separating them with commas. The processor groups may extend
over multiple lines if necessary.
OPTIONS
When you specify a CCID and/or comment in a RETRIEVE action for an existing element,
CA Endevor SCM uses this CCID and /or comment to set the RETRIEVE CCID and/or
COMMENT fields.
Similarly, if you want to use an element currently signed out to another user, you can
retrieve a copy of it if that user has selected the NO SIGNOUT option.
If you use NO SIGNOUT, any CCIDS and comments are ignored. Consequently, the
Master Control File is not updated
In addition, the type definition for this element must specify an INCLUDE library.
OVERRIDE SIGNOUT-If the element has been signed out to a person other than yourself,
you must code this option in order to perform this action. Use OVERRIDE SIGNOUT with
caution to avoid regressing changes made by another user.
SEARCH/NOSEARCH-The SEARCH option tells CA Endevor SCM to look for the element
to be retrieved along the map, if it is not in the current environment. The default is
SEARCH.
This SCL retrieves Payroll program "PAYRPT23." The map will be searched if the program
is not found at Stage 1.
REPLACE MEMBER .
Signin Statement
►►─ SIGnin ELEment ─ element-name ─┬──────────────────────────────┬─ FROm ────►
└─┬─ THRough ─┬─ element-name ─┘
└─ THRu ────┘
►─ ENVironment ─ env-name ─ SYStem ─ sys-name ─ SUBsystem ─ subsys-name ─────►
►─┬──────────────────────────────┬───────────────────────────────────────────►
└─ WHEre ─ ¤ ─┬──────────┬─ ¤ ─┘
├─┤ CCID ├─┤
└─┤ PRO ├──┘
►─┬────────────────────────────────────────────┬─ . ─────────────────────────►◄
└─ OPTion ─ ¤ ─┬───────────────────────┬─ ¤ ─┘
├─ OVErride SIGNOut ────┤
├─ SIGNOut TO ─ userid ─┤
└─┬─ NOSearch ◄ ─┬──────┘
└─ SEArch ─────┘
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of PRO
┌─ , ──────────┐
├── PROcessor GROup ─┬─ EQ ─┬─ ( ─▼─ group name ─┴─ ) ─────────────────────────┤
└─ = ──┘
Indicates the element(s) to be signed in. Code the required syntax and enter the
appropriate element name. In addition, you can use a name-mask with the element
name.
Indicates that a range of elements should be signed in, beginning with the element
coded in the SIGNIN ELEMENT statement, up to and including the element specified in
this statement. You can use a name-mask with the element name.
SYSTEM system-name
SUBSYSTEM subsys-name
TYPE type-name
STAGE stage-id
The FROM clause indicates the location of the element being signed in. CA Endevor SCM
uses both the FROM clause in an action and any preceding SET FROM clause to
determine the "from" criteria for that action.
■ A FROM clause in an action overrides values in a SET FROM clause that precedes the
action.
■ If the SET FROM clause contains values that are not included in the FROM clause,
CA Endevor SCM uses these values.
You must specify an environment, system, subsystem, type, and stage. The environment
name must be explicit. You can use a name-mask with the system, subsystem, type, and
stage. The stage specification can be either one of the following:
■ STAGE ID-Enter a single alphanumeric stage identifier.
■ STAGE NUMBER-Enter either 1 or 2.
If you use a name-mask with the stage, CA Endevor SCM begins searching for the
specified element(s) in Stage 1 of the current environment, and signs in the first
element that matches the specified element name, regardless of its location, version or
level.
WHERE
Use WHERE clauses to further qualify element selection criteria. CA Endevor SCM uses
both the WHERE clause in an action and any preceding SET WHERE clause to determine
the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that precedes
the action.
■ If the SET WHERE clause contains values that are not included in the WHERE clause,
CA Endevor SCM uses these values.
WHERE CCID OF ccid -Limits the processing to those elements that match one of the
supplied CCIDs. You can use a name-mask in this field.
■ CURRENT-Tells CA Endevor SCM to look through the CCID fields in the MCF (Master
Control File) to find a specified CCID(s). This is the default.
■ ALL-Tells CA Endevor SCM to search both the Master Control File and the SOURCE
DELTA levels for a specified CCID(s). If you have ACM, CA Endevor SCM also
searches the COMPONENT LIST DELTA levels for the specified CCID(s). If the
element is sourceless, the source element delta level CCID checks are not done.
■ RETRIEVE-Tells CA Endevor SCM to use the CCID in the Master Control File
RETRIEVE CCID field.
If you need to select elements identified under more than one CCID, you can specify
multiple CCIDs by enclosing the CCIDs with parentheses and separating them with
commas. The CCIDs may extend over multiple lines if necessary. The following examples
illustrate the use of this clause.
WHERE PROCESSOR GROUP group name-This clause allows you to select elements
according to a specified processor group. You can use a name-mask when specifying the
processor group name.
If you need to select elements identified under more than one processor group, you can
specify multiple distinct processor group selectors by enclosing the processor groups
with parentheses and separating them with commas. The processor groups may extend
over multiple lines if necessary.
OPTIONS
OVERRIDE SIGNOUT-If the element has been signed out to a person other than yourself,
you must code this option in order to perform this action. Use OVERRIDE SIGNOUT with
caution to avoid regressing changes made by another user.
SIGNOUT TO-Enables you to sign out or reassign an element at either stage to another
user. If you have an element signed out to your user ID, you can use this option to
reassign that element to the other user.
Code SEARCH to tell CA Endevor SCM to look for the element to be signed in along the
map, if it is not in the current environment.
This SCL signs in all COBOL elements that begin with “PAYRPT*” at Stage 1 and are
associated with CCID REQ#39934.
Transfer Statement
The TRANSFER statement transfers an element from one location to another. There are
three types of transfers:
■ CA Endevor SCM to CA Endevor SCM transfers elements from one CA Endevor SCM
location to another.
■ CA Endevor SCM to an archive data set transfers elements from CA Endevor SCM to
an archive data set.
■ Archive/unload data set to CA Endevor SCM transfers elements from an archive
data set or an unload tape to CA Endevor SCM.
The TRANSFER action is available in batch only. If the elements have been transferred to
an archive data set, the COPY, LIST, and RESTORE actions can be executed against that
data set.
When the element being transferred has a sourceless element downstream from the
source and the target location is not upstream or is being transferred downstream
before the sourceless element, and no other instance of a sourced element exists
upstream, while the action has the delete source option on, the action fails. This check is
performed before any source management activities occur. If no source exists upstream
for a sourceless element, this would make it impossible to regenerate that element
since the source no longer exists.
You can code any or all of the previous DD statements. If you code one C1WORK DD
statement, then it overrides the equivalent dynamic allocation of datasets. For example,
if a very large element is transferred the regular dynamic allocation of datasets may not
be sufficient for storing element base, element delta, and merger element records. In
this case, you can code the C1WORK04, C1WORK05 and C1WORK06 statements to
override the dynamic allocation of datasets.
Expansion of DEF
├── ENVIronment ─ environment-name ─ SYStem ─ system-name ────────────────────►
►─ SUBSYStem ─ subsystem-name ─ TYPe ─ type-name ────────────────────────────►
►─┬─ STAge ─ stage-id ────────┬───────────────────────────────────────────────┤
└─ STAge NUMber ─ stage-no ─┘
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of PRO
┌─ , ──────────┐
├── PROcessor GROup ─┬─ EQ ─┬─ ( ─▼─ group name ─┴─ ) ─────────────────────────┤
└─ = ──┘
Identifies the elements to be transferred. Code the required syntax and enter the
appropriate element name. In addition, you can use a name-mask with the element
name.
VERSION version LEVEL level
Indicates the version and level number you want to transfer. If you want to indicate a
version and level, code a full element name. If you use the THROUGH clause, you cannot
enter this clause i Acceptable Version numbers are 1-99. Acceptable Level numbers are
00-99. VERSION and LEVEL must be specified together.
If you do not specify a VERSION LEVEL clause, the TRANSFER action transfers all levels to
the target location. If you specify this clause, only the VERSION LEVEL you indicate gets
transferred.
If the specified VERSION LEVEL is not the current level, the generate processor executes
at the target location, regardless of the processor group definition setting.
Indicates a range of elements for transfer. The range begins with the element coded in
the TRANSFER ELEMENT statement, up to and including the element specified in this
statement. You can use a name-mask with the element name.
The FROM clause indicates the location of the element being transferred. CA Endevor
SCM uses both the FROM clause in an action and any preceding SET FROM clause to
determine the "from" criteria for that action.
■ A FROM clause in an action overrides values in a SET FROM clause that precedes the
action.
■ If the SET FROM clause contains values that are not included in the FROM clause,
CA Endevor SCM uses these values.
Specify an environment, system, subsystem, type, and stage. The environment name
must be explicit. You can use a name-mask with the system, subsystem, type, and stage.
The stage specification can be either one of the following:
■ STAGE ID-Enter a single alphanumeric stage identifier.
■ STAGE NUMBER-Enter either 1 or 2.
TO ENVIRONMENT env-name
SYSTEM system-name
SUBSYSTEM subsys-name
TYPE type-name
STAGE stage-id
STAGE NUMBER stage-no
ELEMENT element-name
The TO clause indicates where the element is being transferred. CA Endevor SCM uses
both the TO clause in an action and any preceding SET TO clause to determine the "to"
criteria for that action.
■ A TO clause in an action overrides values in a SET TO clause that precedes the
action.
■ If the SET TO clause contains values that are not included in the TO clause, CA
Endevor SCM uses these values.
■ If no SET TO clause has been coded or is fully wildcarded and the TO clause system,
subsystem, type, or element fields are not coded or are fully wildcarded, these
fields default to the corresponding values coded in the FROM clause.
Enter a different element name if you want to change the element name specified in the
TRANSFER ELEMENT clause. If you do not enter an element name here, CA Endevor SCM
assigns the FROM location element name.
■ You can enter a new element name only if a full element name was coded in the
TRANSFER ELEMENT clause; that is, if you have not used a name-mask.
■ If you want to code a different element name, you must do so in the TRANSFER
statement; the SET TO MEMBER clause does not apply to this action.
WHERE
Use WHERE clauses to further qualify element selection criteria. CA Endevor SCM uses
both the WHERE clause in an action and any preceding SET WHERE clause to determine
the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that precedes
the action.
■ If the SET WHERE clause contains values that are not included in the WHERE clause,
CA Endevor SCM uses these values.
WHERE CCID OF ccid -Limits the processing to those elements that match one of the
supplied CCIDs. You can use a name-mask in this field.
■ CURRENT-Tells CA Endevor SCM to look through the CCID fields in the MCF (Master
Control File) to find a specified CCID(s). This is the default.
■ ALL-Tells CA Endevor SCM to search both the Master Control File and the SOURCE
DELTA levels for a specified CCID(s). If you have ACM, CA Endevor SCM also
searches the COMPONENT LIST DELTA levels for the specified CCID(s).
■ RETRIEVE-Tells CA Endevor SCM to use the CCID in the Master Control File's
RETRIEVE CCID field.
If you need to select elements identified under more than one CCID, you can specify
multiple CCIDs by enclosing the CCIDs with parentheses and separating them with
commas. The CCIDs may extend over multiple lines if necessary.
WHERE PROCESSOR GROUP group name-This clause allows you to select elements
according to a specified processor group. You can use a name-mask when specifying the
processor group name.
If you need to select elements identified under more than one processor group, you can
specify multiple distinct processor group selectors by enclosing the processor groups
with parentheses and separating them with commas. The processor groups may extend
over multiple lines if necessary.
OPTIONS
CCIDs and/or comments may be required. If you do not provide a required CCID and/or
comment, the TRANSFER action fails.
When you specify a CCID and/or comment in a TRANSFER action, CA Endevor SCM
updates CCID and/or COMMENT fields differently, depending on whether you specify
the TRANSFER request without history, with history, or with synchronization.
When you specify a CCID and/or comment in a TRANSFER action without history, CA
Endevor SCM uses this CCID and/or comment to:
■ Set the generate and component list delta CCID and/or COMMENT fields if the
generate processor is run.
■ Set the last action CCID and/or COMMENT fields.
When you specify a CCID and/or comment in a TRANSFER action using the WITH
HISTORY option, CA Endevor SCM uses the CCID and/or comment to:
■ Set the generate and component list delta CCID and/or COMMENT fields if the
generate processor is run.
■ Set the last action CCID and/or COMMENT fields.
When you specify a CCID and/or comment in a TRANSFER action using the
SYNCHRONIZE option, CA Endevor SCM uses this CCID and/or comment to:
■ Clear the retrieve CCID and/or COMMENT fields.
■ Set the current source CCID and/or COMMENT fields from their value in the
previous stage.
■ Set the source delta CCID and/or COMMENT fields from their value at the target of
the transfer, with a sync flag.
If you use BYPASS GENERATE PROCESSOR, the TRANSFER action will not set the
generate or component list delta CCID and/or COMMENT field.
NEW VERSION version-By default, the version number of the FROM location element-at
the time it is transferred-is assigned to the TO location element. Use this option to
assign a different version number to the TO location element; simply enter the number
(1-99) inclusive, leading zeros optional) that you want to use.
CA Endevor SCM allows only one version of an element at each location. Therefore, if
the element currently exists at the target location, you cannot update it with another
version. For example, if you try to transfer Version 2 of an element to a target location
that already has an existing Version 1, you must archive or delete the current Version 1
before you transfer the Version 2. If the element exists at the target location or at a
location up the mapped route, the TRANSFER action fails.
IGNORE GENERATE FAILED-This option applies to the *FAILED* flag previously set for
the element. If the TRANSFER action is unsuccessful, you receive a message indicating
that "the generate failed." Processing for the action normally is terminated at this point.
If you enter this option, however, you can perform the action whether or not the
element was previously generated or moved successfully.
PROCESSOR GROUP EQ/= group name-Select this option to specify a predefined group
of processors. If you do not specify a processor group, CA Endevor SCM defaults to the
processor group last used for this element. However, the keywords PROCESSOR GROUP
EQ and BYPASS GENERATE PROCESSOR are mutually exclusive (you can code one or the
other). If both are coded, the default BYPASS GENERATE PROCESSOR is used.
If the FROM element is associated with a processor group that does not specify BYPASS
GENERATE PROCESSOR, the processor group may be overridden with the processor
group clause. Otherwise, a message will be issued saying that the processor group
cannot be overridden.
OVERRIDE SIGNOUT-If the element has been signed out to a person other than yourself,
you must code this option in order to perform the this action. Use OVERRIDE SIGNOUT
with caution to avoid regressing changes made by another user.
BYPASS ELEMENT DELETE-This option tells CA Endevor SCM to retain the element in the
FROM location after it is transferred. When you select this option, the delete processor
is also bypassed.
BYPASS DELETE PROCESSOR-If you select this option, CA Endevor SCM does not execute
the delete processor.
WITH HISTORY-The WITH HISTORY option preserves source element change history. If
you request TRANSFER WITH HISTORY, CA Endevor SCM first ensures that the current
level of the target element is the same as the base level of the source element. It then
transfers all levels of the element from source to target, appending the source change
history to the target change history.
If you do not code this option, CA Endevor SCM transfers the element(s) without history.
When you transfer the element without history CA Endevor SCM searches through the
element levels at the source location to find a matching level at the target location. CA
Endevor SCM then compares the two and creates a new level at the target location that
reflects the differences.
If the base level of the source element differs from the current level at the target, the
TRANSFER fails unless you code the SYNCHRONIZE option.
SIGNIN-This option tells CA Endevor SCM to sign in all elements at the target stage after
successfully completing the move. Use this option to override SET OPTION RETAIN
SIGNOUT or SET OPTION SIGNOUT TO clauses.
RETAIN SIGNOUT-This option tells CA Endevor SCM to retain the source location
signouts for all elements at the target location. This option applies only if the element
was signed out at the source before the TRANSFER.
■ If the element was signed out at the source before the TRANSFER, it will be signed
out to that same ID-at the target-after the TRANSFER.
■ If the element was not signed out at the source before the TRANSFER, it will not be
signed out at the target after the TRANSFER.
■ If you do not use this option, the element at the target location is not signed out,
regardless of whether it was signed out at the target before the TRANSFER took
place.
SIGNOUT TO userid-This option tells CA Endevor SCM to sign all elements out to the
specified user ID at the target stage.
When the action has the delete source option on, it fails if the action’s source element
has a sourceless element downstream and no sourced element upstream from itself.
The action fails before any source management activities.
►►─ TRAnsfer ELEment ─ element-name ─┬─────────────────────┬──────────────────►
└─ VERsion ─ version ─┘
►─┬─────────────────┬─┬──────────────────────────────┬─ FROm ─┤ DEF ├────────►
└─ LEVel ─ level ─┘ └─┬─ THRough ─┬─ element-name ─┘
└─ THRU ────┘
Expansion of DEF
├── ENVironment ─ environment-name ─ SYStem ─ system-name ────────────────────►
►─ SUBSYStem ─ subsystem-name ─ TYPe ─ type-name ────────────────────────────►
►─┬─ STAge ─ stage-id ────────┬───────────────────────────────────────────────┤
└─ STAge NUMber ─ stage-no ─┘
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of PRO
┌─ , ──────────┐
├── PROcessor GROup ─┬─ EQ ─┬─ ( ─▼─ group name ─┴─ ) ─────────────────────────┤
└─ = ──┘
Indicates the element(s) to be transferred. Code the required syntax and enter the
appropriate element name. In addition, you can use a name-mask with the element
name.
VERSION
Identifies the version (1-99) of the element you want to transfer. If you use this clause
you must specify a full element name.
LEVEL
Identifies the level (00-99) of the element you want to transfer. If you use the LEVEL
clause you:
■ Cannot use the THROUGH clause.
■ Must specify a full element name.
If you do not specify a LEVEL clause, the Transfer action transfers all levels to the target
location. If you specify this clause, CA Endevor SCM only transfers the level you indicate.
If the specified level is not the current level, the execution of the generate processor at
the target location is forced, regardless of the setting specified by the processor group
definition.
THROUGH (THRU) element-name
Indicates that a range of elements should be transferred, beginning with the element
coded in the TRANSFER ELEMENT statement, up to and including the element specified
in this statement. You can use a name-mask with the element name.
The FROM clause indicates the location of the element being transferred. CA Endevor
SCM uses both the FROM clause in an action and any preceding SET FROM clause to
determine the "from" criteria for that action.
■ A FROM clause in an action overrides values in a SET FROM clause that precedes the
action.
■ If the SET FROM clause contains values that are not included in the FROM clause,
CA Endevor SCM uses these values.
Note: For more information, see the description of the SET FROM statement in the
chapter "Using Set, Clear, and EOF Statements (see page 49)."
You must specify an environment, system, subsystem, type, and stage. The environment
name must be explicit. You can use a name-mask with the system, subsystem, type, and
stage. The stage specification can be either one of the following:
■ STAGE ID—Enter a single alphanumeric stage identifier.
■ STAGE NUMBER—Enter either 1 or 2.
TO FILE (DDNAME) dd-name
The TO clause indicates the file or DDname to which the element is being transferred.
CA Endevor SCM uses both the TO clause in an action and any preceding SET TO clause
to determine the "to" criteria for that action.
■ A TO clause in an action overrides values in a SET TO clause that precedes the
action.
■ If the SET TO clause contains values that are not included in the TO clause, CA
Endevor SCM uses these values.
Note: For more information, see the description of the SET TO statement in the chapter
"Using Set, Clear, and EOF Statements (see page 49)."
Note: The DCB must specify variable blocked records (RECFM=VB), and the DSORG
should be PS. The minimum LRECL should be 2940 or the TYPE-LENGTH plus (+) 14,
whichever is greater. When archiving to disk, the recommended block size is one-half a
track and the recommended LRECL is one-half a track minus (-) 4 unless the previous
rule requires a bigger LRECL/BLKSIZE. When archiving to tape, the recommended block
size is 32760 and the recommended LRECL is 32756.
WHERE
Use WHERE clauses to further qualify element selection criteria. CA Endevor SCM uses
both the WHERE clause in an action and any preceding SET WHERE clause to determine
the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that precedes
the action.
■ If the SET WHERE clause contains values that are not included in the WHERE clause,
CA Endevor SCM uses these values.
WHERE CCID OF ccid —Limits the processing to those elements that match one of the
supplied CCIDs. You can use a name-mask in this field.
■ CURRENT—Tells CA Endevor SCM to look through the CCID fields in the MCF
(Master Control File) to find a specified CCID(s). This is the default.
■ ALL—Tells CA Endevor SCM to search both the Master Control File and the SOURCE
DELTA levels for a specified CCID(s). If you have ACM, CA Endevor SCM also
searches the COMPONENT LIST DELTA levels for the specified CCID(s).
■ RETRIEVE—Tells CA Endevor SCM to use the CCID in the Master Control File
RETRIEVE CCID field.
If you need to select elements identified under more than one CCID, you can specify
multiple CCIDs by enclosing the CCIDs with parentheses and separating them with
commas. The CCIDs may extend over multiple lines if necessary.
WHERE PROCESSOR GROUP group name—This clause allows you to select elements
according to a specified processor group. You can use a name-mask when specifying the
processor group name.
If you need to select elements identified under more than one processor group, you can
specify multiple distinct processor group selectors by enclosing the processor groups
with parentheses and separating them with commas. The processor groups may extend
over multiple lines if necessary.
OPTIONS
When you specify a CCID and/or comment in a TRANSFER action, CA Endevor SCM
updates CCID and/or COMMENT fields differently depending on whether you specify the
TRANSFER request without history, with history, or with synchronization.
When you specify a CCID and/or comment in a TRANSFER action without history, CA
Endevor SCM uses this CCID and/or comment to:
■ Set the generate and component list delta CCID and/or COMMENT fields if the
generate processor is run.
■ Set the last action CCID and/or COMMENT fields.
■ CA Endevor SCM also:
– Clears the retrieve CCID and/or COMMENT fields.
– Sets the source CCID and/or COMMENT fields from their value in the previous
stage.
– Sets the source delta CCID and/or COMMENT fields from their last delta value
in the previous stage.
When you specify a CCID and/or comment in a TRANSFER action using the WITH
HISTORY option, CA Endevor SCM uses this CCID and/or comment to:
■ Set the generate and component list delta CCID and/or COMMENT fields if the
generate processor is run.
■ Set the last action CCID and/or COMMENT fields.
■ CA Endevor SCM also:
– Clears the retrieve CCID and/or COMMENT fields.
– Sets the source CCID and/or COMMENT fields from theirvalue in the previous
stage.
– Moves source delta CCIDs and COMMENTS with their respective delta levels.
When you specify a CCID and/or comment in a TRANSFER action using the
SYNCHRONIZE option, CA Endevor SCM uses this CCID and/or comment to:
■ Set the retrieve CCID and/or COMMENT fields.
■ Set the source CCID and/or COMMENT fields from their value in the previous stage.
■ Set the source delta CCID and/or COMMENT fields from their value at the target of
the TRANSFER with a sync flag.
BYPASS ELEMENT DELETE—This option tells CA Endevor SCM to retain the element in
the FROM location after it is transferred. When you select this option, the delete
processor is also bypassed.
BYPASS DELETE PROCESSOR—If you select this option, CA Endevor SCM does not
execute the delete processor.
IGNORE GENERATE FAILED—This option applies to the *FAILED* flag previously set for
the element. If the TRANSFER action is unsuccessful, you receive a message indicating
that "the generate failed." Processing for the action normally is terminated at this point.
If you enter this option, however, you can perform the action whether or not the
element was previously generated or moved successfully.
OVERRIDE SIGNOUT—If the element has been signed out to a person other than
yourself, you must code this option in order to perform this action. Use OVERRIDE
SIGNOUT with caution to avoid regressing changes made by another user.
Transfer From Archive Data Set or Unload Tape to CA Endevor SCM Statement
The ARCHIVE/UNLOAD DATA SET TO CA Endevor SCM statement transfers elements
from an archive data set or an unload tape to CA Endevor SCM.
Expansion of DEF
├── ENVIronment ─ environment-name ─ SYStem ─ system-name ────────────────────►
►─ SUBSYStem ─ subsystem-name ─ TYPe ─ type-name ────────────────────────────►
►─┬─ STAge ─ stage-id ────────┬───────────────────────────────────────────────┤
└─ STAge NUMber ─ stage-no ─┘
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
Expansion of PRO
┌─ , ──────────┐
├── PROcessor GROup ─┬─ EQ ─┬─ ( ─▼─ group name ─┴─ ) ─────────────────────────┤
└─ = ──┘
If no SET TO clause has been coded or is fully wildcarded and the TO clause system,
subsystem, type, or element fields are not coded or are fully wildcarded, these
fields will default to the corresponding values coded in the FROM clause.
Note: The target environment and stage values must be explicitly coded in the TO
clause or SET TO clause. Partial wildcarding and name-masking are not allowed for
any of the TO clause fields.
You must specify an environment, system, subsystem, type, and stage. The stage
specification can be either one of the following:
■ STAGE ID—Enter a single alphanumeric stage identifier.
■ STAGE NUMBER—Enter either 1 or 2.
Remember that you cannot use a name-mask with a TO field location.Enter a
different element name if you want to change the element name specified in the
TRANSFER ELEMENT clause. If you do not enter an element name here, CA Endevor
SCM uses the archived element name.
■ You can enter a new element name only if a full element name was coded in
the TRANSFER ELEMENT clause; that is, if you have not used a name-mask.
■ If you want to code a different element name, you must do so in the TRANSFER
statement; the SET TO MEMBER clause does not apply to this action.
WHERE
Use WHERE clauses to further qualify element selection criteria. CA Endevor SCM
uses both the WHERE clause in an action and any preceding SET WHERE clause to
determine the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that
precedes the action.
■ If the SET WHERE clause contains values that are not included in the WHERE
clause, CA Endevor SCM uses these values.
WHERE CCID ccid
Limits the processing to those elements that match one of the supplied CCIDs.
You can use a name-mask in this field.
If you need to select elements identified under more than one CCID, you can
specify multiple CCIDs by enclosing the CCIDs with parentheses and separating
them with commas. The CCIDs may extend over multiple lines if necessary.
The next example illustrates the use of this clause.
WHERE CCID EQ PROJ4)
WHERE ARCHIVE
This clause allows you to select elements based on the date and, optionally,
time that an element was archived. There are four possible forms for this
clause:
WHERE ARCHIVE DATE mm/dd/yy [TIME hh:mm]
This clause tells CA Endevor SCM to archive only those elements with this
date, and optionally, this time stamp.
WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm]
This clause tells CA Endevor SCM to archive all elements with a date and,
optionally, a time stamp on or after the specified date and time stamps.
WHERE ARCHIVE THROUGH DATE mm/dd/yy [TIME hh:mm]
This clause tells CA Endevor SCM to archive all elements with a date and,
optionally, a time stamp earlier than and including the specified date and
time stamp.
WHERE ARCHIVE FROM DATE mm/dd/yy [TIME hh:mm] THROUGH DATE
mm/dd/yy [TIME hh:mm]
This clause tells CA Endevor SCM to archive only those elements with a
date, and optionally, a time stamp within the specified range. If you enter
a time, you must enter the date with it.
WHERE PROCESSOR GROUP group name
This clause is not valid when transferring from an archive data set. This clause
allows you to select elements according to a specified processor group. You can
use a name-mask when specifying the processor group name
If you need to select elements identified under more than one processor group,
you can specify multiple distinct processor group selectors by enclosing the
processor groups with parentheses and separating them with commas. The
processor groups may extend over multiple lines if necessary.
The next examples illustrate the use of this clause.
WHERE PROCESSOR GROUP (COBVS, COBII)
OPTIONS
OPTIONS clauses allow you to further specify action requests.
WITH HISTORY
The WITH HISTORY option preserves source element change history. If you
request TRANSFER WITH HISTORY, CA Endevor SCM first ensures that the
current level of the target element is the same as the base level of the source
element. It then transfers all levels of the element from source to target,
appending the source change history to the target change history.
If you do not code this option, CA Endevor SCM transfers the element without
history. When you transfer the element without history CA Endevor SCM
searches through the element levels at the source location to find a matching
level at the target location. CA Endevor SCM then compares the two and
creates a new level at the target location that reflects the differences.
If the base level of the source element differs from the current level at the
target, the transfer fails unless you code the SYNCHRONIZE option.
SYNCHRONIZE
When transferring either with or without history, the SYNCHRONIZE option
compensates for differences between the base level of a source element and
the current level of a target element.
If these levels differ, the SYNCHRONIZE option tells CA Endevor SCM to create a
new level at the target that reflects the differences. After creating the sync
level, CA Endevor SCM transfers the element(s), either with or without history.
SIGNIN
This option tells CA Endevor SCM to sign in all elements at the target stage. Use
this option to override SET OPTION RETAIN SIGNOUT or SET OPTION SIGNOUT
TO clauses.
RETAIN SIGNOUT
This option tells CA Endevor SCM to retain the source location signouts for all
elements at the target location. This option applies only if the element was
signed out at the source before the TRANSFER.
■ If the element was signed out at the source before the TRANSFER, it will be
signed out to that same ID—at the target—after the TRANSFER.
■ If the element was not signed out at the source before the TRANSFER, it
will not be signed out at the target after the TRANSFER.
■ If you do not use this option, the element at the target location is not
signed out, regardless of whether it was signed out at the target before the
TRANSFER took place.
SIGNOUT TO userid
This option tells CA Endevor SCM to sign all elements out to the specified user
ID at the target stage.
The following is an example of TRANSFER SCL. This SCL transfers all of the "PAYRPT*"
COBOL elements to the NEWREPRT subsystem. All element history will be retained, and
the signout status can be overridden, if necessary.
Update Statement
The UPDATE statement updates an element in the entry stage, thereby creating a new
level for the element in the entry stage. The entry stage for the environment is defined
through the C1DEFLTS table. Elements are updated only if there are differences
between the incoming source in the FROM location and the target entry stage source.
If the element at the entry stage is a sourceless element, the sourced element from up
the map is fetched back prior to the update. Before the fetch, CA Endevor SCM checks
the last level timestamps between the sourceless and sourced elements. If both are the
same, the action continues. If not, the action fails. If the action fails, the user needs to
determine the corrective action.
├── UPDate ELEment ─ element-name ─┬──────────────────────────────┬─────────►
└─┬─ THRough ─┬─ element-name ─┘
└─ THRu ───┘
►─ FROm ─┬─┬─ FILe ───┬─ dd-name ──────────────────────────────┬───────────►
│ └─ DDName ─┘ │
├─ DSName ─ dataset-name ─┬─────────────────────────┬─┤
│ └─ MEMber ─ member-name ──┘ │
└─ PATH ─ usspath ─ HFSFILE ─ filename ───────────────┘
►──TO ─ ENVironment ─ env-name ─ SYStem ─ sys-name ────────────────────────►
►─ SUBsystem ─ subsys-name ─ TYPe ─ type-name ─────────────────────────────►
►─┬──────────────────────────────────────────────────────────────────────┬─►
└─ OPTion ─ ¤ ─┬────────────────────────────────────────────────┬─ ¤ ──┘
├─ CCId ─ ccid ──────────────────────────────────┤
├─ COMment ─ comment ────────────────────────────┤
├─ DELete input source ──────────────────────────┤
├─ OVErride SIGNOut ─────────────────────────────┤
├─┬─ BYPass GENerate PROcessor ────────────────┬─┤
│ └─ PROcessor GROup ─┬─ EQual ─┬─ group name ─┘ │
│ └─ = ─────┘ │
└─ AUTogen ─┬───────────────────┬────────────────┘
├─ SPAN NONe ───────┤
├─ SPAN ALL ────────┤
├─ SPAN SYStems ────┤
└─ SPAN SUBsystems ─┘
►─ .──────────────────────────────────────────────────────────────────────►◄
You must enter a FILE, DDNAME, DSNAME, or PATH in conjunction with the HFSFILE
(enter one and only one). If you enter a FILE or DDNAME, be sure the appropriate
JCL is coded. Enter a member name (up to 255 characters) if it differs from the
element name specified in the UPDATE ELEMENT clause; you can use a name-mask
with this entry. If you do not enter a member name, Endevor assumes that the
element name and member name are the same.
■ You can enter a member name only if a full element name has been coded in
the UPDATE ELEMENT clause; that is, if you have not used a name-mask.
■ If you want to code a member name, you must do so in the UPDATE statement;
the SET FROM clause does not contain a member name entry. If you do enter a
member name, you cannot enter a THROUGH clause.
■ If you are working with a sequential file, the MEMBER clause is ignored
PATH
The USS directory where the element source file resides.
HFSFILE
The file in the USS directory that you want to put under the control of CA
Endevor SCM.
TO ENVIRONMENT env-name
SYSTEM sys-name
SUBSYSTEM subsys-name
TYPE type-name
The TO clause indicates where the element is being updated. CA Endevor SCM uses
both the TO clause in an action and any preceding SET TO clause to determine the
"to" criteria for that action.
■ A TO clause in an action overrides values in a SET TO clause that precedes the
action.
■ If the SET TO clause contains values that are not included in the TO clause, CA
Endevor SCM uses these values.
You must specify an environment, system, subsystem, and type. Remember that
you cannot use a name-mask with a TO field location.
OPTIONS
OPTIONS clauses allow you to further specify action requests.
CCID ccid COMMENT comment
You can enter a one- to twelve-character CCID, a one- to forty-character
comment. CCIDs, or both. CCIDs and comments may be required. If you do not
provide a required CCID or comment, the UPDATE action fails. When you
specify a CCID or comment in an UPDATE action for an existing element, CA
Endevor SCM uses this CCID or comment to:
■ Set the source and source delta CCID or COMMENT fields, if the CCID or
comment has changed.
■ Set the generate CCID or COMMENT fields, if the generate processor is run.
■ Set the component list delta CCID or COMMENT fields, if running the
generate processor creates a change.
■ Set the last action CCID or COMMENT fields.
CA Endevor SCM also clears the entry stage retrieve CCID or COMMENT fields
when you update an element. If you use the BYPASS GENERATE PROCESSOR,
the UPDATE action will not set the generate or component delta CCID or
COMMENT fields.
DELETE INPUT SOURCE
After an element has been successfully updated in CA Endevor SCM, you can
use this option to remove the member from the library in which it originated. If
you input a sequential file, this option deletes that file.
OVERRIDE SIGNOUT
If the element has been signed out to a person other than yourself, you
must code this option in order to perform this action. Use OVERRIDE
SIGNOUT with caution to avoid regressing changes made by another user.
BYPASS GENERATE PROCESSOR
Use this option if you do not want the generate processor executed for the
element. Otherwise, CA Endevor SCM looks for and executes the generate
processor for the element when it is updated.
PROCESSOR GROUP group name
Use this option to specify a predefined named group of processors. If you do
not specify a processor group, CA Endevor SCM defaults to the processor group
last used for this element.
AUTOGEN | SPAN NONE| SPAN ALL | SPAN SYSTEMS | SPAN SUBSYSTEMS
Applicable for Add, Update, and Generate actions in batch requests. This option
cannot be used in packages and the option does not work if Bypass Generate
Processor is set. The Global Type Sequencing batch processing method must be
enabled. Autogen only acts on components whose Types are listed in the Global
Type Sequencing table. If the component's Type is not listed in the Global Type
Sequencing table, the Autogen request is ignored. In addition, your site must have
purchased and activated the CA Endevor Automated Configuration. Autogen can be
specified alone or with various Span keyword options. "Autogen Span" is not a valid
option. Valid options follow:
AUTOGEN
Generates all elements that use the component that is the target of the action.
These using elements are generated at the target location that is specified in
the SCL statement. If they do not exist at the target location, they are brought
back to the target location as sourceless elements. An administrator can
change the behavior of the Autogen feature, by activating AUTOGEN_SOURCE
in the Optional Features Table (ENCOPTBL). When this option is activated, the
Generate actions for the using elements are built with the Copyback, instead of
the NoSource, option. For more information about sourceless elements, see
the NoSource option description in Generate Syntax (see page 116).
Note: Using elements are elements that use the element that is the target of
an Add , Update, or Generate action. For example, if Autogen is specified for
copybook, COPYA, then the programs that use that copybook are known as
using elements.
AUTOGEN SPAN NONE
Generates all elements that use the component being acted upon. This option
has the exact same effect as the option "AUTOGEN."
The following is an example of UPDATE SCL. This SCL modifies the Payroll Reporting
program "PAYRPT23." After the update is complete, the source member will be deleted.
UPDATE ELEMENT 'PAYRPT23'
TO ENVIRONMENT 'PROD'
SYSTEM 'PAYROLL'
SUBSYSTEM 'REPORTS'
TYPE 'COBOL'
FROM DSNAME 'PAYROLL.SRCLIB'
OPTIONS DELETE INPUT SOURCE
CCID REQ#42976
COMMENT 'CHANGES FOR NEW REPORTING REQUIREMENTS' .
Validate Statement
The Validate statement checks to make sure that elements were generated correctly, no
synchronization errors are detected, and that all the components exist and are valid. By
specifying the Element Master, Component Validation, and Synchronization options in
the SCL statement, you can choose to perform all or some of these Validate checks. The
Validate action can be performed at any time, enabling developers to ensure the
integrity of elements before including them in a package. The advantage of this feature
is that you do not have to create a package and attempt to cast it in order to perform
these tasks. (Casting a package also performs these actions.) The Validate command
can only be specified in batch and can not be part of package SCL statements.
The Validate action supports long name elements. Long name elements are not
available for ISPF dialog processing, but the long name location information can be
manually coded in the SCL.
►►─ VALidate ELEment ─ element-name ─FROm ─ ENVironment ─ env-name ───────────►
►─ SYStem ─ sys-name ─ SUBsystem ─ subsys-name ─ TYPe ─ type-name ──────────►
►─┬─ STAge ─ stage-id ────────┬─┬──────────────────────────────┬─────────────►
└─ STAge NUMber ─ stage-no ─┘ └─ WHEre ─ ¤ ──┤ CCID ├──── ¤ ─┘
►►─ OPTions ─ ¤ ─┬─ ELEment ─┬──────────┬──────────────────────┬─ ¤ ─ . ─────►◄
│ └─ MASter ─┘ │
├─ SYNCHRONIZAtion ───────────────────────────┤
├─ COMPonent ─┬──────────────┬───────────────┤
│ └─ VALIDATIon ─┘ │
└─ TERse ───┬────────────┬────────────────────┘
└─ MESsages ─┘
►─ .─────────────────────────────────────────────────────────────────────────►◄
Expansion of CCID
┌─ , ────┐
├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤
└─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤
├─ ALL ───────┤ └─ = ───────┘
└─ RETrieve ──┘
(Optional) Use WHERE clauses to further qualify element selection criteria. CA Endevor
SCM uses both the WHERE clause in an action and any preceding SET WHERE clause to
determine the "where" criteria for that action.
■ A WHERE clause in an action overrides values in a SET WHERE clause that precedes
the action.
■ If the SET WHERE clause contains values that are not included in the WHERE clause,
CA Endevor SCM uses these values.
Limits the processing to those elements that match one of the supplied CCIDs. You can
use a name-mask in this field.
■ CURRENT-Tells CA Endevor SCM to look through the CCID fields in the MCF (Master
Control File) to find a specified CCID(s). This is the default.
■ ALL-Tells CA Endevor SCM to search both the Master Control File and the SOURCE
DELTA levels for a specified CCID(s). If you have ACM, CA Endevor SCM also
searches the COMPONENT LIST DELTA levels for the specified CCID(s).
■ RETRIEVE-Tells CA Endevor SCM to use the CCID in the Master Control File
RETRIEVE CCID field.
If you need to select elements identified under more than one CCID, you can specify
multiple CCIDs by enclosing the CCIDs with parentheses and separating them with
commas. The CCIDs may extend over multiple lines if necessary.
Although the foreground SCL Generation panel allows you to filter the selection list by
using a single CCID, the SCL supports multiple CCIDs.
OPTIONS
OPTIONS clauses allow you to further specify action requests. The Validate Action
statement requires at least one of the options Element Master, Synchronization, or
Component Validation. If none of these are coded, then a warning message is
issued to inform you of this situation and the action is processed assuming all three
options are enabled.
ELEMENT MASTER
Checks to make sure the element is generated correctly. If this option is
enabled the following checks are performed. If any of these conditions are
detected, error messages are issued.
■ If the processor is unknown, an error message is issued. This condition may
occur when the last action is a RESTORE and the NOGEN option was
specified.
■ If the element is not generated or the last generate failed, an error
message is issued. An exception to this rule is if the last processor is a
delete processor.
■ If this element is currently locked in a package, an error message is issued.
SYNCHRONIZATION
Checks to make sure that an out-of synch condition is not caused by the action
being performed. If this option is enabled, the following checks are performed;
■ A check is performed to determine if a second copy of this element exists
up the logical map.
■ If a second copy of this element exists up the logical map, the two copies
of the element are used as input for the synchronization check processing.
The location of the second copy of the element will be displayed in the
C1MSGS messages file along with synchronization messages to indicate the
results of the check.
■ If the synchronization check is performed, an additional check is also
performed to see if another copy of the element exists at a physical
location in-between the two copies that were used as input in the
synchronization checking. If a copy is found at an in-between location
information messages are written to the C1MSGS report file.
The synchronization logic for this feature looks up the logical map for another
copy of this element, starting at the inventory location specified in the action. It
ignores other parallel maps that are defined in the C1DEFLTS table.
The synchronization logic determines if a second copy of this element resides
up the logical map. If a second copy is not found, an informational message is
written to the report and the synchronization logic is complete. The physical
map is not searched.
COMPONENT VALIDATION
Checks to make sure that all the components exist and are valid. The CA
Endevor SCM Automated Configuration option must be installed at your site in
order to use the component validation option. If this option is enabled, the
following checks are performed:
■ The components of the element (parent) specified in the action are
obtained and added to the list of elements that must be validated.
■ The footprints of each component element are compared against the
actual location of that element to ensure the latest copy of each
component is included in the parent element and that the component
exists.
Footprint error messages are issued for any component found to be in error.
Totals are displayed as to how many components were verified and how many
contained errors.
TERSE MESSAGES
Limits the amount of message detail that is written to the C1MSGS1 report file
for those messages that result from the Validate action. All action output
produced by the VALIDATE action is written to the C1MSGS1 report file. The
terse messages option controls the amount of message detail that is written to
that file. It will only write key I level messages and non-I level messages to the
C1MSGS report file. If this option is not specified, then all messages are written
to the C1MSGS report file.
This Validate action SCL validates all the inventory located in the DEV environment
PAYROLL sandbox subsystem. All available action options are specified.
When you wildcard a package ID, CA Endevor SCM selects packages against which you
are authorized to perform actions. It is possible that a package ID matches the wildcard
you specify but is not selected for the following reasons:
■ The package is in the wrong state for the action selected.
■ The package is non-sharable and you are not the owner of the package.
■ The package has one or more approver groups associated with it and you are not a
member of any of those approver groups.
Note: For more information about SCL coding conventions, see the chapter "Using SCL
(see page 39)."
DD Statement Descriptions
ENPSCLIN
Defines the Batch Package Facility control statements. The DD statement can refer
to instream data, a sequential data set, or a partitioned data set with an explicit
member.
Where a partitioned data set option is used, only one archive action permitted. You
may archive multiple packages, however it must be done in the same command. If
you use a separate archive action for each package being archived, only the last
package in the PDS member will appear. For example:
Archive Package to DDN ddname
Options where older than N days will archive all eligible packages to a PDS member.
Whereas the SCL:
Archive Package A to DDN ddname
Archive Package B to DDN ddname
The following is an example of APPROVE PACKAGE SCL. The SCL approves the package
called PAYROLLPKGO1.
You can use the ARCHIVE action against a package that has a status of Executed or
against a package that has a status of Committed. If the status is Executed, you cannot
use the ARCHIVE action with the delete option against any package that has backout
members.
Note: When you archive a package to a partitioned data set (PDS), you can generate
reports only from individual members of the data set and not the complete data set. For
more information, see the Reports Guide.
The ARCHIVE PACKAGE clause identifies the package you are archiving. You can either
fully specify, partially wildcard or fully wildcard the package ID. If you wildcard the
package ID and specify the OPTIONS DELETE AFTER ARCHIVE clause, you must specify
the WHERE OLDER THAN clause. If you fully specify the package ID, the WHERE OLDER
THAN clause is ignored.
You can include imbedded spaces in the package ID. If the package ID contains an
imbedded space or comprises only numeric characters (for example, 12345) then
enclose the package ID in either single or double quotation marks.
TO DDNAME ddname
DSNAME dsname
MEMBER member-name
REPLACE
The TO clause identifies the data set to which you are archiving the package. You must
enter either a DDname or a data set name. Specify only one of the two statements. The
archive package file must be defined with variable length records and have a minimum
record length of 4200. The data set blocksize must be 4 bytes greater than the record
length. We recommend that you define a blocksize of 0 and let the system default to the
optimum block size
Note: When coding mulitple ARCHIVE PACKAGE statements with the TO DDNAME
clause, use a DISP=MOD to assure that all data is retained.
The TO DSNAME clause identifies the name of an existing, catalogued data set. If the
data set is a partitioned data set, you can use the member clause to specify a member
name to be created. If you do not specify a MEMBER clause, the member name created
is TEMPNAME. The REPLACE clause replaces an existing, like-named member. You can
use the REPLACE clause is only if the MEMBER clause is specified.
OPTIONS
WHERE OLDER THAN number DAYS-This clause allows you to specify the minimum age
of the package you are archiving. The package must be older than the number of days
you specify in order for it to be archived. For example, if you specify WHERE OLDER
THAN 30 DAYS and the current date is January 31, only packages executed successfully
or committed on or before January 1 are archived. There is no default value for the
WHERE OLDER THAN clause. You must specify the WHERE OLDER THAN clause if you
wildcard the package ID and specify the OPTIONS DELETE AFTER ARCHIVE clause. If you
fully specify the package ID, the WHERE OLDER THAN clause is ignored. The WHERE
OLDER THAN value must be between 0 and 999, inclusive. You receive an error message
if you specify a value outside this range.
DELETE AFTER ARCHIVE-This option deletes the package after the package definitions
are successfully archived. If this is a promotion package, all versions of the package are
deleted.
The following is an example of ARCHIVE PACKAGE SCL. The SCL archives all packages
that begin with PAYROLLPKG and are older than 30 days. The packages are deleted after
they have been archived.
The clauses BACKIN PACKAGE, STATEMENT NUMBER, and ELEMENT can be specified in
any order. Name-masking cannot be used for any variable in the statement.
BACKIN PACKAGE package-id
The BACKIN PACKAGE clause identifies the package you are backing-in. You must
use a fully specified package ID. You can include imbedded spaces in the package ID.
If the package ID contains an imbedded space or if the ID comprises only numeric
characters (for example, 12345), then enclose the package ID in either single or
double quotation marks.
STATEMENT NUMBER nnnnn ELEMENT element-name
Specifies the SCL statement number and the element name for the element action
you want to back in. This clause limits the BACKIN PACKAGE clause by enabling you
to specify the element actions you want to back in. If you want to back in all the
element actions in the package, do not use this clause. The NUMBER keyword is
optional. For each element action backed out, a separate BACKIN package action
statement with PACkage, STATEment NUMber and ELEment clauses must be
provided; only one package element action can be backed in per statement. Valid
values for nnnnn are 1 – 65535. This batch syntax does not support long-named
elements. You can backout or backin an individual long-named element in
foreground.
The following is an example of BACKIN PACKAGE SCL. The SCL backs in the package
called PAYROLLPKG01.
The following is an example of BACKOUT PACKAGE SCL. The SCL backs out the package
called PAYROLLPKG01.
Expansion of FROM TO
├── FROmfrom-datefrom-time ─┬────────────────────┬─────────────────────────────┤
└─ TOto-dateto-time ─┘
The CAST PACKAGE clause identifies the package you are casting. The package ID can be
either fully specified, partially wildcarded or fully wildcarded.
You can include imbedded spaces in the package ID. If the package ID contains an
imbedded space or if the ID is comprised of only numeric digits (for example, 12345)
then enclose the package ID in either single or double quotation marks.
OPTIONS
The VALIDATE COMPONENTS clause causes the action to fail if component validation
fails. The VALIDATE COMPONENTS WITH WARNING clause generates a warning if
component validation fails. For information on component validation see the Packages
Guide.
NOTES-Use the NOTES clause to add remarks to the package definition. Enclose the note
text in either single or double quotation marks. If you use multiple text lines, enclose
each text line in quotation marks and separate by commas. You can specify a maximum
of 8 note text lines of up to 60 characters each. This text replaces any text that is already
associated with the package.
The following is an example of CAST PACKAGE SCL. The SCL casts a package called
PAYROLLPKG01.
The COMMIT PACKAGE clause identifies the package you are committing. You can use a
fully specified, partially wildcarded or fully wildcarded package ID. If you wildcard the
package ID, you must specify the WHERE OLDER THAN clause. If you fully specify the
package ID, the WHERE OLDER THAN clause is ignored.
You can include imbedded spaces in the package ID. If the package ID contains an
imbedded space or comprises only numeric digits (for example, 12345), enclose the
package ID in either single or double quotation marks.
OPTIONS
WHERE OLDER THAN number DAYS-This clause allows you to specify the minimum age
of the package you are committing. A package must be older than the number of days
you specify in order to commit it. For example, if you specify WHERE OLDER THAN 30
DAYS and the current date is January 31, only packages executed successfully on or
before January 1 are committed. There is no default value for the WHERE OLDER THAN
clause. If you wildcard the package ID you must specify the WHERE OLDER THAN clause.
The WHERE OLDER THAN value must be between 0 and 999, inclusive. You receive an
error message if you specify a value outside this range.
DELETE PROMOTION HISTORY-This option is for promotion packages and it deletes all
the promotion history associated with previous versions of the package.
The following are two examples of SCL for the COMMIT PACKAGE action. The first
example commits a specific package called PAYROLLPKG01. The second example
commits all packages that begin with PAYROLLPKG and are more than 30 days old.
Example One
Example Two
Note: If you are using the DEFINE PACKAGE action to update an existing package and do
not specify a DESCRIPTION, IMPORT SCL FROM, COPY PACKAGE or any OPTIONS, you
will receive a caution-level message indicating that the update will not be performed
because no information was provided to update the package.
Expansion of OPTIONS
├── ¤ ─┬─┬─ STANdard ◄ ─┬─┬───────────┬────────┬─ ¤ ───────────────────────────┤
│ └─ EMErgency ──┘ └─ PACkage ─┘ │
├─┬─ NONsharable ◄ ─┬─┬───────────┬─────┤
│ └─ SHArable ──────┘ └─ PACkage ─┘ │
├─┬─ BACKOut ─┬──────┬ ─ ENAbled ◄ ───┬─┤
│ │ └─ IS ─┘ │ │
│ └─ BACKout ─┬──────┬ ─ NOT ENAbled ─┘ │
│ └─ IS ─┘ │
├─ EXECUTion WINdow ─┤ FROM TO ├ ───────┤
│ ┌─ , ─────────┐ │
├─ NOTEs ─ = ─ ( ─▼─ note_text ─┴─ ) ───┤
├─ DO NOT VALIDATE SCL ─────────────────┤
└─┬─ NONPromotion ◄ ─┬─┬───────────┬────┘
└─ PROMotion ──────┘ └─ PACkage ─┘
Expansion of FROM TO
├── FROm ─ from-date ─ from-time ─┬──────────────────────────┬─────────────────┤
└─ TO ─ to-date ─ to-time ─┘
The DEFINE PACKAGE clause identifies the package you are creating or updating. An
update occurs if the package ID exists and a create occurs if it does not exist.
You must use a fully specified non-blank package ID. If you specify a blank package ID
and have the GENPKGID exit defined, the GENPKGID exit invokes to generate a new
package ID. If you do not have the GENPKGID exit installed or if the GENPKGID exit does
not supply a package ID, an error message generates and the DEFINE PACKAGE action
fails.
To specify a blank package ID place one or more blanks in single or double quotation
marks as the DEFINE PACKAGE package-id statement. A blank package ID implies that
the package is to be created.
Note: For more information about the GENPKID exit function, see the Exits Guide.
The COPY FROM PACKAGE clause directs the DEFINE action to copy the SCL from the
package you specify into the package you are creating or updating. You must use a fully
specified package ID.
If you are creating a new package you must specify either the COPY FROM PACKAGE or
the IMPORT SCL FROM clause. If you are updating an existing package, the clauses are
optional.
The IMPORT SCL FROM clause directs the DEFINE action to copy the SCL from the DD
statement or data set name you specify into the package you are creating or updating.
If you are creating a new package you must specify either the COPY FROM PACKAGE or
the IMPORT SCL FROM clause. If you are updating an existing package, the clauses are
optional.
The APPEND clause indicates whether to append the SCL you are adding to the existing
package SCL or to replace it. You can only use the clause if you specify the COPY
PACKAGE or IMPORT SCL FROM clauses. The default is DO NOT APPEND.
DESCRIPTION
The DESCRIPTION clause allows you to associate a 50-character description with the
package. You must specify this clause if you are creating a new package. If you are
updating an existing package the clause is optional. If the description text contains
imbedded spaces enclose it in single quotation marks. The description text you enter is
not converted to uppercase. Lowercase characters remain in lowercase.
OPTIONS
If you specify the from-date, you must also specify the from-time. If you specify neither
the from-date nor the from-time and you are creating a new package, the from-date
and the from-time default to the current date and time, respectively.
If you specify the to-date, you must also specify the to-time. If you specify neither the
to-date nor the to-time and you are creating a new package, the to-date and the to-time
default to 31DEC79 and 00:00, respectively.
NOTES-Use the NOTES clause to add remarks to the package definition. Enclose the note
text in either single or double quotation marks. If you use multiple text lines, enclose all
the lines in parentheses () and enclose each text line in single quotation marks,
separated with a comma. You can specify up to 8 text lines of up to 60 characters each.
A note line cannot be split across syntax lines (that is, the beginning and ending quote
must be on the same line). The text including the last quote cannot exceed column 72.
The text replaces any text which is already associated with the package.
DO NOT VALIDATE SCL-If you specify the DO NOT VALIDATE SCL option, the package
components are not validated while creating or updating a package.
The following is an example of DEFINE PACKAGE SCL. The SCL defines a new package
called PAYROLLPKG01, to be used to implement a new payroll system. The SCL is copied
from the data set specified by the IMPORT SCL FROM DSNAME clause.
The DELETE PACKAGE clause identifies the package you are deleting. You can use a fully
specified, partially wildcarded or fully wildcarded package ID. If you wildcard the
package ID, you must specify the WHERE PACKAGE STATUS IS clause. If you use a fully
specified package ID, the WHERE PACKAGE STATUS IS and the WHERE OLDER THAN
clauses are ignored.
OPTIONS
WHERE OLDER THAN number DAYS-Use this clause to specify the minimum age of the
packages you are deleting. A package must be older than the number of days you
specify in order to delete it. This number of days is compared against the create date of
the package to determine if the package meets the criterion of the WHERE OLDER THAN
clause.
WHERE PACKAGE STATUS-This clause specifies the statuses of the packages you are
deleting. You can only use this clause when you wildcard the package ID. If you do not
specify the WHERE PACKAGE STATUS clause, the DELETE PACKAGE action deletes
packages of any status type.
The following is an example of DELETE PACKAGE SCL. The SCL deletes all packages that
begin with PAYROLLPKG, are older than 30 days, and are in the In-edit status.
The DENY PACKAGE clause identifies the package you wish to deny. You must use a fully
specified package ID.
OPTIONS
NOTES-You can use the NOTES clause to add remarks to the package definition. Enclose
the note text in either single or double quotation marks. If you use multiple text lines,
enclose each text line in quotation marks, and separate by commas. You can specify up
to 8 text lines of up to 60 characters each. The text replaces any text that is already
associated with the package.
The following is an example of DENY PACKAGE SCL. The SCL denies the package called
PAYROLLPKG01 and replaces any package notes associated with the package.
Expansion of FROM TO
├── FROmfrom-datefrom-timeTOto-dateto-time ────────────────────────────────────┤
The EXECUTE PACKAGE clause identifies the package you want to execute. You can use a
fully specified, partially wildcarded, or fully wildcarded package ID. When the package-id
is fully specified, the WHERE PACKAGE STATUS clause will be ignored and the parser will
issue a warning message.
OPTIONS
Specifies the time frame within which to execute the package. Specify date values in
DDMMMYY format and the time values in HH:MM format. If you specify the from-date,
you must also specify the from-time. If you specify the to-date, you must also specify
the to-time. You can only use the EXECUTION WINDOW clause if the package is fully
qualified and the existing execution window is closed.
Specifies the statuses of the packages you want to execute. You can only use this clause
when you wildcard the package-id. The default is to execute packages that have a status
of Approved. Use the WHERE PACKAGE STATUS IS EXECFAILED clause to re-execute
packages that have previously failed. Use the OR clause to indicate that packages of
either status should be executed.
The following is an example of EXECUTE PACKAGE SCL. The SCL executes the package
called PAYROLLPKG01.
The EXPORT PACKAGE clause identifies the package you are exporting. You must use a
fully specified package ID.
TO DDNAME ddname
DSNAME dsname
MEMBER member-name
REPLACE
The TO clause identifies where to write the package SCL. Enter either a DDname or a
data set name, not both. The data set defined by the TO DDNAME/DSNAME clause must
be allocated with either fixed or variable length records. If fixed, the record length must
be 80. If variable, the record length must be at least 84.
The TO DSNAME clause identifies the name of an existing catalogued data set. If the
data set is a partitioned data set, you can use the member clause to specify a member
name to be created. If you do no specify a MEMBER clause, the member name created
is TEMPNAME. The REPLACE clause replaces an existing like-named member. You can
only use the REPLACE clause if the MEMBER clause is specified.
The following is an example of EXPORT PACKAGE SCL. The SCL exports the package SCL
to the data set called PAY.PACKAGE.SCL. The MEMBER clause specifies a member to be
created called PAYPKGO1. It replaces any like-named member.
The INSPECT PACKAGE clause identifies the package you are inspecting. You can use a
fully specified, partially wildcarded, or fully wildcarded package ID. If you partially or
fully wildcard the package ID, CA Endevor SCM only inspects packages that have a status
of in-approval, approved, or execution failed.
The RESET PACKAGE clause identifies the package you are resetting. You must use a fully
specified package ID. The RESET PACKAGE action resets a package of any status type.
The following is an example of RESET PACKAGE SCL. The SCL resets the package called
PAYROLLPKGO1 back to the status of In-edit.
Note: For more information about ENBP1000 and the SUBMIT PACKAGE action, see the
Packages Guide.
The SUBMIT PACKAGE clause identifies the package you are submitting for execution.
You can use a fully specified, partially wildcarded, or fully wildcarded package ID. When
the package-id is fully specified, the WHERE PACKAGE STATUS clause will be ignored and
the parser will issue a warning message.
DDNAME ddname
DSNAME dsname
MEMBER member-name
The JOBCARD clause identifies the location of the data set that contains the JCL jobcard.
The location be either a DDname or data set name. If you do not specify the JOBCARD
clause, the JCLIN DD statement is used by default as the JCL jobcard location. If you
specify this clause, the clause must identify either a sequential or a partitioned data set
with an explicitly specified member name. The data set must have fixed length records
and the record length (LRECL) must be exactly 80.
CA7
If the TO CA7 clause is specified, neither the MULTIPLE JOBSTREAMS nor the
INCREMENT JOBNAME parameters may be specified.
If the TO CA7 clause is not specified, any specifications for CA7 options will be ignored.
OPTIONS
WHERE PACKAGE STATUS -Specifies the statuses of the packages you want to submit.
You can only use this clause when you wildcard the package-id. The default is to submit
packages that have a status of Approved. Use the WHERE PACKAGE STATUS IS
EXECFAILED clause to re-execute packages that have previously failed. Use the OR
clause to indicate that packages of either status should be submitted.
Note: C1BM6000 has been replaced by the Batch Facility (ENBP1000). Users of
C1BM6000 must migrate from C1BM6000 to ENBP1000.
You can also use the INCREMENT JOBNAME clause when you submit a single job stream
and more than 200 eligible packages are found. If an additional job stream is created,
the INCREMENT JOBNAME clause controls whether the additional job names are
incremented. The SUBMIT action uses the following rules when incrementing the last
character in the job name:
■ If the character is numeric, the next number is selected with wrap-around to '0'.
■ If the character is alphabetic, the next letter is selected with wrap-around to 'A'.
■ If the character is neither numeric nor alphabetic, it is not incremented.
JCL PROCEDURE NAME-The JCL PROCEDURE NAME clause identifies the name of the JCL
procedure you wish to invoke in the SUBMIT PACKAGE action JCL. The name must be
one to eight characters long and constructed to accept the package ID as the only parm.
The symbolic to pass the package ID is PKGID. For example:
If you do not specify the JCL procedure name the SUBMIT PACKAGE action creates JCL to
invoke the ENDEVOR procedure. A sample JCL procedure is supplied in
iprfx.iqual.CSIQJCL member ENDEVOR. Copy this procedure into an existing PROCLIB
defined to JES on your system, or use it as a model for your own JCL batch package
PROC.
DEPENDENT JOB Specifies a single predecessor job which must complete while
demanded job is waiting.
For example: CA7 OPTIONS DEPENDENT JOB CICSDOWN-This means that package
ENDEVOR will not run until jobname cicsdown is successfully completed.
SCL Example:
SUBMIT PACKAGE 'ENDEVOR'
JOBCARD DSNAME 'BST.ENDEVOR.JCLLIB'
MEMBER 'JOBCARD'
TO CA7
OPTIONS WHERE PACKAGE STATUS IS APPROVED
JCL PROCEDURE NAME IS ENDEVOR
CA7 OPTIONS DEPENDENT JOB CICSDOWN.
CA7 translates the above SCL into CA7 syntax similar to this:
DEMAND,JOB=PILRO01C,DEPJOB=CICSDOWN,
SET=NDB,JCLLIB=&ENDEVOR.
Note: For more information about CA 7 DEMAND, see the CA7 commands manual or
contact you local CA7 Support.
The following is an example of SUBMIT PACKAGE SCL. The SCL submits for execution all
packages that begin with PAYROLLPKG. Each package will have a unique jobstep, the
jobname will not be incremented.
┌─ OUTput ──┐
►─ OPTion ─┤───────────┤───────┬──────────────────┬─── . ────────────────►◄
└─ BACkout ─┘ └─ PREfix ─ prefix ┘
If you choose to enable the Package Ship facility, you will need to define the Package
Ship objects: Package Shipment Destinations, Package Shipment Map Rules, and
Package Shipment Map Rules for USS supported files. However, the Package Ship
objects are not defined to a particular Environment.
As an administrator, you can manage the Environment objects and Package Ship objects
in batch processing mode using the Batch Environment Administration facility (Batch
Admin). Most of the objects can be created, updated, or deleted in batch. Alternatively,
you can manage the objects using the foreground panels. However, Batch Admin is
more efficient. Batch Admin eliminates the need to navigate multiple screens, lets you
build new objects based on existing ones, and supports name-masking on object values
which automatically expands a single statement into multiple actions.
In addition to managing Environment objects, you can use Batch Admin to create a new
Environment based on an existing Environment, including its inventory structure and
associated objects.
Batch Admin enables you to manage Environment objects in batch by executing the
following types of SCL statements:
■ Build statements— Create Define statements from an existing object and its
subordinates.
■ Define statements— Create a new, or update an existing, object. You can create
Define statements for a single Environment object (for example, a System,
Subsystem, or Type) or for an entire Environment structure (for example, all the
objects for the Production Environment).
■ Delete statements— Delete an existing object.
You can execute multiple Define, Build, and Delete statements in the same Batch Admin
job or even the same job step. However, if you execute a Build statement, which creates
a Define statement, you will need to execute Batch Admin again to execute the Define
statement. For example, if you execute a Build statement for a subsystem in order to
define a new subsystem, you would: 1) execute the build in one job; 2) edit the Define
statement to change the subsystem object name to the new name; and then 3) execute
Batch Admin again to execute the modified Define statement.
Suppose you want to start a new release of a software application. You need a new
inventory location for the new code. Since you already have a System defined for the
prior release, you can easily create a new System from the old one. The following
example shows how to do this:
1. Code the Build SCL for System statement.
The following is an example of the Build SCL for System statement. The example
builds Define SCL for the System ACCT using Environment DEVEL. The optional
clause Include Subordinates is specified. Therefore, Define SCL is built for all
inventory definitions associated with System ACCT. The SCL is written to the PDS
data set named ENDEVOR.SCLOUT in member SYSACCT. The Replace clause will
replace the contents of the member if the member already exists in the PDS. If you
do not use this clause and the member already exists in the PDS, you will get an
error.
BUILD SCL FOR SYSTEM "ACCT"
FROM ENVIRONMENT "DEVEL"
INCLUDE SUBORDINATES
TO DSNAME "ENDEVOR.SCLOUT"
MEMBER "SYSACCT"
REPLACE .
2. Update the ENESCLIN DD statement in the Batch Admin job. Sample JCL is located in
the iprfx.iqual.CSIQJCL installation library, member name ENBE1000. Add the
statement instream or reference the data set where the Build SCL for System
statement is located. Execute the job.
Define SCL statements for the ACCT System along with Define statements for all the
ACCT subordinates (Subsystems, Types, Processor Groups, and so on) are written to
ENDEVOR.SCLOUT(SYSACCT).
3. Edit the Define SCL statements that were built and perform a global change of the
old System name to the new System name for the new release. Update the
ENESCLIN DD statement in Batch Admin JCL ENBE1000 to reference the location of
the Define SCL statements, ENDEVOR.SCLOUT(SYSACCT). Execute the job.
The new Environment objects are now defined to CA Endevor SCM. Other
considerations such as data set naming conventions and data set allocations must
be addressed.
Code the Build, Define, or Delete statement syntax for the object that you want to
create, update, or delete. The Batch Admin job can refer to the SCL statements as
instream data, a sequential data set, or a partitioned data set. To create the SCL, you
can use the following methods:
■ Write the SCL statements following the syntax rules. For more information, see
Build Statements (see page 250), Define Statements (see page 266), or Delete
Statements (see page 305).
■ Use the ISPF/PDF edit macros to create model Build, Define, and Delete statements
defined with default values. Then, edit the default values as appropriate. For more
information about the edit macros, see Batch Admin Edit Macros (see page 247).
Code the SCL as appropriate to perform the task you want to perform. The following
tasks can be performed for the Environment objects: Approver Groups, Approver
Relations, Systems, Subsystems, Types, Processor Groups, Processor Symbols,
Environments, and Type Sequence:
■ To create a new Environment object based on an existing object definition, code the
Build statement for the existing definition. After the job has run and created the
Define SCL, edit the Define statements to specify the name of the new definitions.
Also, update any data set names as appropriate for the new definitions.
■ To update an existing Environment object definition, code the Build statement for
the definition you want to update. After the job has run and created the Define SCL,
edit the Define statements to specify the change you want to make.
3. (Optional) Code the validate mode instead of execute mode. To do this, change the
PARM= statement on the sample JCL to PARM='ENBE1000VALIDATE'.
Validate mode enables you check the syntax of your SCL statements before
submitting them for execution. In validate mode, the statements specified in the
ENESCLIN DD statement are parsed, but not executed.
4. Add a job card and execute the ENBE1000 job.
5. See the return code and execution reports. The job can result in the following
return codes and execution reports:
■ The Batch Environment Administration facility passes one of the following
return codes after execution is complete:
0— All actions were performed successfully.
4— One or more actions completed with a warning message.
8— One or more actions completed with a caution message.
12— One or more actions completed with an error message. The action may
not have completed successfully.
16— An unrecoverable error occurred.
20— The C1MSGS1 DD statement was not allocated or the C1MSGS1 file could
not be initialized.
■ As the Batch Environment Administration facility is processing, CA Endevor
SCM writes a report to the C1MSGS1 DD statement. The report is divided into
the following sections:
The Statement Summary Report— When you submit batch Environment
definition actions, CA Endevor SCM validates the SCL syntax and assigns a
statement number to each SCL statement. The Statement Summary Report lists
your SCL statements and error messages. If no errors are detected, processing
continues and the Action Execution Report and the Action Summary Report are
produced. If any errors do exist, processing terminates.
The Action Execution Report— Lists the messages generated by each action
during its processing.
The Action Summary Report— Summarizes the actions performed by the
Batch Environment Administration facility. The report contains one line for
each Environment object processed by each action. The report line identifies
the action, the Environment object, and the action return code. The Stmt
Number refers to the number this statement is assigned in the Action Summary
Report. The Action Number refers to the action number assigned to this
request in the Execution Report. If specified, this report is written to the
C1MSGS2 data set.
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:
■ SCL actions that contain optional clauses with default values are generated
using the default value. For example, the Define System action includes the
optional clause Comments Not Required.
■ SCL actions that contain required clauses are generated with a place holder in
which you can enter the appropriate information. The place holder is a string of
question marks ('?'). For example, the ENBUILD command generates the
following To Dsname clause: TO DSNAME ????????? .
■ There is one SCL clause on each data record. If necessary, an SCL clause can
span multiple lines.
■ The ENDEFINE command and the ENBUILD command generate the Stage
Number, instead of the Stage ID, on the To clause.
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 Environment Definition Created Valid for Valid for Valid for
Abbreviations ENDEFINE ENDELETE 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
Object_Name
(Optional.) Names the environment definition for which you are creating SCL.
The macro substitutes the object_name into the SCL generated.
The following examples show how to code Batch Admin edit macro commands in an
ISPF/PDF edit session to create SCL statements.
■ To create Define SCL for a System, enter one of the following:
– ENDEFINE SYSTEM
– ENDEFINE SYS
The result is a model Define System statement coded with default options. All
variable values are indicated by question marks to indicate where you must specify
a value. You can change the default options.
DEFINE SYSTEM '????????'
TO ENVIRONMENT '????????'
DESCRIPTION '???????? '
NEXT SYSTEM '????????'
COMMENTS NOT REQUIRED
CCID NOT REQUIRED
DUPLICATE ELEMENT CHECK IS NOT ACTIVE
DUPLICATE PROCESSOR OUTPUT CHECK IS NOT ACTIVE
ELEMENT JUMP ACKNOWLEDGMENT REQUIRED
SIGNOUT IS NOT ACTIVE
SIGNOUT DATASET VALIDATION IS NOT ACTIVE
STAGE ONE LOAD LIBRARY IS
'???????? '
STAGE ONE LIST LIBRARY IS
'???????? '
STAGE TWO LOAD LIBRARY IS
'???????? '
STAGE TWO LIST LIBRARY IS
'???????? '
■ To create a Delete statement for a Subsystem named SUB1, enter one of the
following:
– ENDELETE SUBSYSTEM SUB1
– ENDELETE SUB SUB1
The result is a model Delete Subsystem statement coded with the Subsystem name
you specified. The Environment and System names need to be added. Also, you can
edit the object name SUB1, if you decided on another name.
DELETE SUBSYSTEM 'SUB1'
FROM ENVIRONMENT '????????'
SYSTEM '????????'
Build Statements
Use BUILD statements to create DEFINE statements from an existing Environment. You
can create DEFINE statements for a single Environment definition (for example a
System, Subsystem, or Type) or for an entire Environment structure (for example the
Production Environment). The statements are written to a sequential data set or a
partitioned data set member. You can modify the data set that the BUILD action creates.
Note: You can use name-masking to specify some variable values. A name-masked value
is not explicit, because it includes a full (*) or partial (for example, ENV*) wildcard,
multiple placeholders (%), or both. For more information about name-masking, see
Name-Masking (see page 23).
BUILD SCL FOR APPROVER GROUP group-name
Builds DEFINE statements for the specified approver groups. The FOR keyword is
optional. You can specify a name-masked approver group name.
The following is an example of BUILD SCL FOR APPROVER GROUP SCL. The example
builds DEFINE SCL using the approver group called ACCTPAY1. The SCL is written to the
data set named ENDEVOR.SCLOUT. The member ACCTSPAY replaces any existing
like-named member.
Note: You can use name-masking to specify some variable values. A name-masked value
is not explicit, because it includes a full (*) or partial (for example, ENV*) wildcard,
multiple placeholders (%), or both. For more information about name-masking, see
Name-Masking (see page 23).
BUILD SCL [FOR] APPROVER RELATION
Builds DEFINE statements that relate an approver group to a particular inventory
area. The FOR keyword is optional.
FROM ENVIRONMENT Environment-name APPROVER GROUP group-name
Indicates the approver group and the Environment where that approver group is
located.
ENVIRONMENT Environment-name
Specifies the Environment location of the approver group from which you are
building DEFINE SCL. You can specify a name-masked Environment name.
APPROVER GROUP group-name
Specifies the approver group associated with the Environment. You can specify a
name-masked approver group name.
TO DDNAME ddname | DSNAME dsname [MEMBER member-name REPLACE]
Indicates where you want the BUILD SCL written to. The data set defined by this
clause must be allocated with either fixed or variable length records. If fixed, the
record length must be 80. If variable, the record length must be at least 84. Specify
either the DDNAME parameter or the DSNAME parameter, but not both.
DDNAME ddname
Identifies the name of an allocated DD statement. The DD statement must
define a sequential data set or a partitioned data set with an explicit member.
The following is an example of the BUILD SCL FOR APPROVER RELATION SCL. The
example builds DEFINE SCL that relates the ACCTPAY1 approver group to Environment
DEVEL. The SCL is written to DD statement SCLOUT.
Note: You can use name-masking to specify some variable values. A name-masked value
is not explicit, because it includes a full (*) or partial (for example, ENV*) wildcard,
multiple placeholders (%), or both. For more information about name-masking, see
Name-Masking (see page 23).
BUILD SCL [FOR] ENVIRONMENT Environment-name
Builds DEFINE statements for the specified Environment. You can specify a
name-masked environment name. The FOR keyword is optional.
TO DDNAME ddname | DSNAME dsname [MEMBER member-name REPLACE]
Indicates where you want the BUILD SCL written to. The data set defined by this
clause must be allocated with either fixed or variable length records. If fixed, the
record length must be 80. If variable, the record length must be at least 84. Specify
either the DDNAME parameter or the DSNAME parameter, but not both.
DDNAME ddname
Identifies the name of an allocated DD statement. The DD statement must
define a sequential data set or a partitioned data set with an explicit member.
DSNAME dsname [MEMBER member-name REPLACE]
Identifies the name of an existing catalogued data set. If the data set name
contains imbedded periods, enclose it in quotation marks. If the data set is a
partitioned data set, you can use the MEMBER clause to define a member
name to be created.
MEMBER member-name
(Optional) Names the member to be created, if the data set is a partitioned
data set. If the data set is partitioned data set and you do not specify the
MEMBER clause, the member name created is TEMPNAME.
REPLACE
(Optional) Indicates that an existing like-named member will be replaced.
REPLACE is valid only if you specify the MEMBER clause.
This example builds DEFINE SCL for an Environment called DEVEL. The SCL is written to
the data set named ENDEVOR.SCLOUT. The member DEVEL replaces any existing
member named DEVEL.
►─┬────────────────────────┬─────────────────────────────────────────────────►
└─ INCLUDE SUBOrdinates ─┘
Note: You can use name-masking to specify some variable values. A name-masked value
is not explicit, because it includes a full (*) or partial (for example, ENV*) wildcard,
multiple placeholders (%), or both. For more information about name-masking, see
Name-Masking (see page 23).
BUILD SCL [FOR] PROCESSOR GROUP group-name
Builds DEFINE statements for the specified processor group. You can specify a
name-masked processor group name. The FOR keyword is optional.
FROM ENVIRONMENT environment-name SYSTEM system-name TYPE type-name
STAGE ID stage-id | STAGE NUMBER stage-no [INCLUDE SUBORDINATES]
Specifies the inventory location of the processor group. You must specify an
environment, system, type, and stage. You can use a name-mask with the
environment, system, type, and stage ID. The stage specification can be either one
of the following:
STAGE ID
Enter a single alphanumeric stage identifier. Name-masking is supported.
STAGE NUMBER
Enter either 1 or 2. Name-masking is not supported.
INCLUDE SUBORDINATES
(Optional) Create DEFINE SCL for the processor symbols associated with the
processor group.
The following is an example of the BUILD SCL FOR PROCESSOR GROUP SCL. The example
builds DEFINE SCL for the processor group called COBNBL1. The optional clause INCLUDE
SUBORDINATES is specified, therefore, DEFINE SCL is built for all the processor symbols
associated with the processor group. The SCL is written to the data set named
ENDEVOR.SCLOUT. The member PROCGR1 replaces any existing like-named member.
Note: You can use name-masking to specify some variable values. A name-masked value
is not explicit, because it includes a full (*) or partial (for example, ENV*) wildcard,
multiple placeholders (%), or both. For more information about name-masking, see
Name-Masking (see page 23).
BUILD SCL FOR PROCESSOR SYMBOL
Builds DEFINE statements for processor symbols. You must specify this clause.
FROM ENVIRONMENT environment-name SYSTEM system-name TYPE type-name
STAGE ID stage-id | STAGE NUMBER stage-no PROCESSOR GROUP group-name
Specifies the inventory location of the processor symbols. You must specify an
environment, system, type, processor group, and stage. You can use a name-mask
with the environment, system, type, processor group, and stage ID. The stage
specification can be either one of the following:
STAGE ID
Enter a single alphanumeric stage identifier. Name-masking is supported.
STAGE NUMBER
Enter either 1 or 2. Name-masking is not supported.
TO DDNAME ddname | DSNAME dsname [MEMBER member-name REPLACE]
Indicates where you want the BUILD SCL written to. The data set defined by this
clause must be allocated with either fixed or variable length records. If fixed, the
record length must be 80. If variable, the record length must be at least 84. Specify
either the DDNAME parameter or the DSNAME parameter, but not both.
DDNAME ddname
Identifies the name of an allocated DD statement. The DD statement must
define a sequential data set or a partitioned data set with an explicit member.
This example builds DEFINE SCL for processor symbols using the processor group
COBNBL1. DEFINE SCL for all symbols associated with the processors in processor group
COBNBL1 is built. The SCL is written to the data set named ENDEVOR.SCLOUT. The
member PROCSYM1 replaces any existing like-named member.
The following is an example of the BUILD SCL FOR SHIPMENT DESTINATION SCL. The
example builds DEFINE SCL for a shipment destination called DEST001. The SCL is
written to the DD statement SCLOUT.
Note: You can use name-masking to specify some variable values. A name-masked value
is not explicit, because it includes a full (*) or partial (for example, ENV*) wildcard,
multiple placeholders (%), or both. For more information about name-masking, see
Name-Masking (see page 23).
BUILD SCL[FOR] SUBSYSTEM subsystem-name
Identifies the 1- to 8-character name of the subsystem from which you are building
DEFINE SCL. The FOR keyword is optional. You can specify a name-masked
subsystem name.
FROM ENVIRONMENT environment-name
SYSTEM system-name
Identifies the inventory location of the subsystem from which you are building
DEFINE SCL. You must also enter the name of the system to which the subsystem is
defined. You can use name-masking to specify the environment name and the
system name.
TO DDNAME ddname | DSNAME dsname [MEMBER member-name REPLACE]
Indicates where you want the BUILD SCL written to. The data set defined by this
clause must be allocated with either fixed or variable length records. If fixed, the
record length must be 80. If variable, the record length must be at least 84. Specify
either the DDNAME parameter or the DSNAME parameter, but not both.
DDNAME ddname
Identifies the name of an allocated DD statement. The DD statement must
define a sequential data set or a partitioned data set with an explicit member.
DSNAME dsname [MEMBER member-name REPLACE]
Identifies the name of an existing catalogued data set. If the data set name
contains imbedded periods, enclose it in quotation marks. If the data set is a
partitioned data set, you can use the MEMBER clause to define a member
name to be created.
MEMBER member-name
(Optional) Names the member to be created, if the data set is a partitioned
data set. If the data set is partitioned data set and you do not specify the
MEMBER clause, the member name created is TEMPNAME.
REPLACE
(Optional) Indicates that an existing like-named member will be replaced.
REPLACE is valid only if you specify the MEMBER clause.
The following is an example of the BUILD SCL FOR SUBSYSTEM SCL. The example builds
DEFINE SCL for all subsystems using environment DEVEL and system ACCT. The SCL is
written to the DD statement SCLOUT.
Note: You can use name-masking to specify some variable values. A name-masked value
is not explicit, because it includes a full (*) or partial (for example, ENV*) wildcard,
multiple placeholders (%), or both. For more information about name-masking, see
Name-Masking (see page 23).
BUILD SCL [FOR] SYSTEM system-name
Identifies the one- to eight-character name of the system from which you wish to
build DEFINE SCL. The FOR keyword is optional. You can specify a name-masked
system name.
FROM ENVIRONMENT environment-name [INCLUDE SUBORDINATES]
Identifies the environment location of the system from which you are building
DEFINE SCL. You can specify a name-masked environment name.
INCLUDE SUBORDINATES
(Optional) Create DEFINE SCL for the subsystem, type, type sequence,
processor group, and processor group symbolic definitions associated with this
system.
The following is an example of the BUILD SCL FOR SYSTEM SCL. The example builds
DEFINE SCL for the system ACCT using environment DEVEL. The optional clause INCLUDE
SUBORDINATES is specified, therefore, DEFINE SCL is built for all inventory definitions
associated with system ACCT. The SCL is written to the data set named
ENDEVOR.SCLOUT. The member SYSACCT replaces any existing like-named member.
Note: You can use name-masking to specify some variable values. A name-masked value
is not explicit, because it includes a full (*) or partial (for example, ENV*) wildcard,
multiple placeholders (%), or both. For more information about name-masking, see
Name-Masking (see page 23).
BUILD SCL [FOR] TYPE type-name
Specifies the one- to eight-character name of the type from which you are building
DEFINE SCL. The FOR keyword is optional. You can specify a name-masked type
name.
FROM ENVIRONMENT environment-name SYSTEM system-name STAGE ID stage-id |
STAGE NUMBER stage-no [INCLUDE SUBORDINATES]
Specifies the inventory location of the type. You must specify an environment,
system, and stage. You can use a name-mask with the environment, system, type,
and stage ID. The stage specification can be either one of the following:
■ STAGE ID— Enter a single alphanumeric stage identifier. Name-masking is
supported.
■ STAGE NUMBER— Enter either 1 or 2. Name-masking is not supported.
INCLUDE SUBORDINATES
(Optional) Creates DEFINE SCL for the processor group and processor group
symbol definitions associated with the type.
TO DDNAME ddname | DSNAME dsname [MEMBER member-name REPLACE]
Indicates where you want the BUILD SCL written to. The data set defined by this
clause must be allocated with either fixed or variable length records. If fixed, the
record length must be 80. If variable, the record length must be at least 84. Specify
either the DDNAME parameter or the DSNAME parameter, but not both.
DDNAME ddname
Identifies the name of an allocated DD statement. The DD statement must
define a sequential data set or a partitioned data set with an explicit member.
The following is an example of the BUILD SCL FOR TYPE SCL. The example builds DEFINE
SCL for all types using environment DEVEL, system ACCT, and stage number 1. The SCL is
written to the DD statement SCLOUT.
Note: You can use name-masking to specify some variable values. A name-masked value
is not explicit, because it includes a full (*) or partial (for example, ENV*) wildcard,
multiple placeholders (%), or both. For more information about name-masking, see
Name-Masking (see page 23).
BUILD SCL FOR TYPE SEQUENCE
Create DEFINE SCL from an existing type sequence definition. You must specify this
clause.
FROM ENVIRONMENT environment-name SYSTEM system-name STAGE ID stage-id |
STAGE NUMBER stage-no
Specifies the inventory location of the type sequence. You must specify an
environment, system, and stage. You can use a name-mask with the environment,
system, type, and stage ID. The stage specification can be either one of the
following:
■ STAGE ID— Enter a single alphanumeric stage identifier. Name-masking is
supported.
■ STAGE NUMBER— Enter either 1 or 2. Name-masking is not supported.
TO DDNAME ddname | DSNAME dsname [MEMBER member-name REPLACE]
Indicates where you want the BUILD SCL written to. The data set defined by this
clause must be allocated with either fixed or variable length records. If fixed, the
record length must be 80. If variable, the record length must be at least 84. Specify
either the DDNAME parameter or the DSNAME parameter, but not both.
DDNAME ddname
Identifies the name of an allocated DD statement. The DD statement must
define a sequential data set or a partitioned data set with an explicit member.
DSNAME dsname [MEMBER member-name REPLACE]
Identifies the name of an existing catalogued data set. If the data set name
contains imbedded periods, enclose it in quotation marks. If the data set is a
partitioned data set, you can use the MEMBER clause to define a member
name to be created.
MEMBER member-name
(Optional) Names the member to be created, if the data set is a partitioned
data set. If the data set is partitioned data set and you do not specify the
MEMBER clause, the member name created is TEMPNAME.
REPLACE
(Optional) Indicates that an existing like-named member will be replaced.
REPLACE is valid only if you specify the MEMBER clause.
The following is an example of the BUILD SCL FOR TYPE SEQUENCE SCL. The example
builds DEFINE SCL for a type sequence using environment DEVEL, system ACCT, and
stage ID U. The SCL is written to the data set named ENDEVOR.SCLOUT. The member
ACCTSEQ1 replaces any existing like-named member.
Define Statements
Use DEFINE statements to create or update environment definitions. An environment
definition is created if it does not exist. An update occurs if the environment definition
exists.
►─┬────────────────────────────────────────────────────────────────────┬─ . ─►◄
│ ┌────────────── , ───────────────────┐ │
└─ APProver ─┬─ EQ ─┬─ ( ─▼─ ( ─ id ──, ─┬─ REQuired ─────┬ ) ─┴─ ) ─┘
└─ = ──┘ └─ NOT REQuired ─┘
The DEFINE APPROVER GROUP clause identifies the up to sixteen-character name of the
approver group you are creating or updating. You can specify a partially or fully
wildcarded approver group name. A wildcarded approver group name updates all
matching approver group definitions.
TO ENVIRONMENT environment-name
The TO ENVIRONMENT clause identifies the environment to which you are defining the
approver group. You must use a fully specified and non-wildcarded environment name.
TITLE title-text
The TITLE clause identifies a 1- to 50-character description of the approver group you
are creating or updating. You must specify the TITLE clause if are creating an approver
group. The clause is optional if you are updating an approver group. If the text contains
imbedded spaces, enclose it in single or double quotation marks.
The QUORUM SIZE CLAUSE IS clause specifies the minimum number of approvers who
must approve a package before it can be executed. The quorum size is optional when
both creating and updating an approver group definition. If you specify this clause, the
value must between 0 and 16. If you do not specify this clause, the default is 0.
The APPROVER clause specifies whether the approver ID is required to approve the
package. The clause contains two fields, the approver ID field and the REQUIRED or NOT
REQUIRED field. If you specify more than one approver ID, enclose the fields in
parentheses and separate by commas. For example, to define IDs USER01 and USER02
as required approvers, the APPROVER clause would be specified as:
APPROVER=((USER01,REQUIRED),(USER02,REQUIRED))
The following is an example of the DEFINE APPROVER GROUP SCL. The example creates
an Approver Group named ACCTPAY. This group contains five User IDs. Two of the five
User IDs are required for approval. There is a quorum size of three which means that
one of the not required users must also approve the package.
The DEFINE APPROVER RELATION clause indicates that you are creating a new approver
relation definition. You must specify this clause.
The FOR APPROVER GROUP clause identifies the 1- to 16-character name of the
approver group for which an inventory relationship is being built. You must use a fully
specified and non-wildcarded approver group name.
TO ENVIRONMENT environment-name
SYSTEM system-name
SUBSYSTEM subsystem-name
TYPE type-name
STAGE ID stage-id
STAGE NUMBER stage-no
The TO clause identifies the inventory location to which you are defining the approver
relation. You must specify a fully qualified environment name.
The TO SYSTEM, SUBSYSTEM, TYPE, and STAGE clauses you specify can be either fully
qualified or fully wildcarded. You cannot use partially wildcarded names.
You must use the STAGE ID clause if you wild card the stage. Values specified in a
wildcarded STAGE clause are not expanded. The approver group relationship is built
with the wildcarded values.
TYPE IS STANDARD/EMERGENCY
The TYPE IS STANDARD/EMERGENCY clause specifies the approver type for this
approver group. You must specify this clause when creating an approver group relation
definition.
The following is an example of the DEFINE APPROVER RELATION SCL. The example
creates an Approver Relation for Approver Group ACCTPAY. This Approver Relation is for
the environment DEVEL, system ACCT, subsystem ACCTPAY, type COBOL, stage number
1.
Expansion of Option
├── processor-name ─┬─────────────────────────────────────┬────────────────────┤
├─ ALLow FOREground EXEcution ◄ ──────┤
└─ DO NOT ALLow FOREground EXEcution ─┘
The DEFINE PROCESSOR GROUP clause identifies the 1- to 8-character name of the
processor group you are creating or updating. The can specify a partially or fully
wildcarded processor group name. A wildcarded processor group name updates all
matching processor group definitions.
TO ENVIRONMENT environment-name
SYSTEM system-name
TYPE type-name
STAGE ID stage-id
STAGE NUMBER stage-no
The TO clause identifies the inventory location to which the processor group is defined
or is to be defined. Names you specify in the TO clause must all be fully specified.
DESCRIPTION description
Use the DESCRIPTION clause to enter text of up to 50 characters in length describing the
processor group. If the text contains embedded spaces, enclose it in either single or
double quotation marks. The description clause is required when creating a processor
group definition and optional when updating a processor group definition.
The NEXT PROCESSOR GROUP clause identifies the name of the processor group at the
next map location. If you do not specify the NEXT PROCESSOR GROUP clause, the clause
defaults to the name of the processor group that you are defining.
The PROCESSOR OUTPUT TYPE designates the kind of output in this processor group.
The character default of 16 is concatenation of type names and processor group names.
This is used with the element registration feature and can be user defined. Any string of
16 characters is allowed; however, the string cannot start with leading spaces and must
be contained within double quotes.
If you do not specify the clause, the processor name defaults to *NOPROC*. If the
processor name identifies one of CA Endevor SCM's reserved processor names
(GPPROCSS, DPPROCSS, BASICGEN or BASICDEL), the processor name converts to
*NOPROC*. You cannot use the clauses MOVE ACTION USES or TRANSFER ACTION USES
with *NOPROC*.
The following is an example of the DEFINE PROCESSOR GROUP SCL. The example
updates processor group COBNBL1. It updates the transfer action so that the TRANSFER
action uses the move processor instead of the generate processor.
The DEFINE PROCESSOR SYMBOL clause indicates that you are to define or update
symbols in processors. You must specify this clause.
TO ENVIRONMENT environment-name
SYSTEM system-name
TYPE type-name
STAGE ID stage-id
STAGE NUMBER stage-no
PROCESSOR GROUP group-name
PROCESSOR TYPE EQ/= GENERATE/MOVE/DELETE
The TO clause identifies the inventory location of the processor group to which the
processor symbols are defined or are to be defined, the processor group, and a
processor type within the group.
You must fully specify the environment name, system name, and type name.
You can fully specify, partially wildcard or fully wildcard the processor group name. A
wildcarded processor group name updates matching processor symbolic definitions. The
processor group name cannot be '*NOPROC*'. Specify either a generate, move, or
delete processor type.
The SYMBOL clause identifies the one- to eight-character name of the processor symbol
you are modifying. The symbol must be defined in the processor.
The override value identifies the up to 65-character override value to be associated with
the symbol. If the override value contains imbedded single quotation marks enclose the
field in double quotation marks. Likewise, if it contains imbedded double quotation
marks enclose it in single quotation marks. The override value cannot contain both
single and double quotation marks. You can specify multiple symbolic values by
repeating the SYMBOL clause as many times as needed.
The following is an example of the DEFINE PROCESSOR SYMBOL SCL. The example
updates processor symbols for processor group COBNBL1. The symbols for the generate
processor are updated.
Expansion of JOBCARD
├── ( ─ 'jobcard1' ┬───────────────────────────────────────────────────┬─ ) ──┤
└─ ,'jobcard2' ─┬─────────────────────────────────┬─┘
└─ ,'jobcard3' ─┬───────────────┬─┘
└─ ,'jobcard4' ─┘
Important! You must specify the TRANSMISSION METHOD clause when creating a
package shipment destination. The clause is optional when updating a package
shipment destination.
TRANSMISSION METHOD method-name
Defines the transmission method that is to be used to ship the package to the
remote destination. The following transmission methods are valid, but you must
specify the method that corresponds to the transmission utility enabled at your
site.
BDT
Specifies the transmission method for the transmission utility Bulk Data
Transfer version 2 or above.
BDTNJE
Specifies the transmission method for the transmission utility Bulk Data
Transfer version 1 (NJE).
LOCAL
Specifies the transmission method for the transmission utility IEBCOPY.
NDM
Specifies the transmission method for the transmission utility Network
DataMover
NETVIEWFTP
Specifies the transmission method for the transmission utility NetView File
Transfer Program
XCOM
Specifies the transmission method for the transmission utility XCOM
Note: For the LOCAL and BDTNJE transmission methods, the REMOTE NODENAME and
IPNAME are ignored and, therefore, are not required for those transmission methods.
REMOTE NODENAME nodename
Specifies the 1-to 16-character site name to which package outputs are to be
shipped. You must specify the REMOTE NODENAME clause when creating a
shipment destination. The clause is optional when updating a shipment destination.
For the XCOM transmission method, you can specify the VTAM NODENAME or a
TCP/IP IPNAME address, but not both.
REMote IPName ipname IPPort ipport
Specifies the TCP/IP address to which the package outputs are to be shipped. This
option is only valid with the XCOM transmission method. For the XCOM
transmission method, you can specify a REMOTE NODENAME or a REMOTE
IPNAME, but not both. If IPNAME is specified, then IPPORT is required.
IPName ipname
Specifies the 1- to 63- character TCP/IP IPNAME shipment destination address
for a shipment performed using the XCOM transmission method. If the value
contains special characters, which it usually does, it must be enclosed in single
quotes. If IPNAME is specified, then IPPORT is required.
IPPort ipport
Specifies the one to five character IPPORT number within the IPNAME address.
The IPPORT value must be in the range of 1 to 65535. This parameter must
match the XCOM SERVPORT specification of the target server. If IPNAME is
specified, then IPPORT is required.
SHIP/DO NOT SHIP COMPLEMENTARY DATASET
Indicates whether or not data sets can be shipped along with package shipments.
The default is DO NOT SHIP COMPLEMENTARY DATASET.
HOST DATASET PREFIX value
Defines the 1 to 14 character prefix to be assigned to the staging data sets that are
created at the host node. You must specify the HOST DATASET PREFIX clause when
creating a package shipment destination. The clause is optional when updating a
package shipment destination.
HOST DISPOSITION DELETE/KEEP
Specifies the disposition of the host staging data sets after the package shipment
utility is complete. The default disposition is DELETE.
HOST UNIT SYSDA/value
Specifies the 1 to 8 character alpha-numeric unit type on which the staging data set
is allocated. The default value is SYSDA. The utility does not verify that the value
you specify is defined to the system.
HOST VOLUME SERIAL value
Identifies the 1 to 6 character volume on which the host staging data sets will be
allocated. The utility does not verify that the volume serial you specify is defined to
the system.
Note: For the LOCAL transmission method, the REMOTE DATASET PREFIX, DISPOSITION,
UNIT AND VOLUME SERIAL are ignored if coded and, therefore, are not required for that
transmission method.
REMOTE DATASET PREFIX value
Defines the prefix to be assigned to the staging data sets that are created at the
remote node. It can be any number of data set name qualifiers of up to 14
characters in length. The clause is required when creating a package shipment
destination and optional when updating a package shipment destination.
The following example shows an invalid path name specification, because it contains
both a single and double quote character:
The following is an example of the DEFINE SHIPMENT DESTINATION SCL. The example
creates a shipment destination named BOSTNDM. The transmission method is Network
DataMover (NDM).
This Define Destination Shipment SCL defines a shipment destination named JPMXCOM
for the XCOM transmission method. The REMOTE IPNAME and IPPORT define the TCP/IP
address to which the package outputs will be shipped.
DEFINE SHIPMENT DESTINATION 'JPMXCOM'
DESCRIPTION 'LOCAL XCOM TO AB31'
TRANSMISSION METHOD 'XCOM'
REMOTE NODENAME 'XCPS'
REMOTE IPNAME
'VERY.LONG.REMOTE.IPNAME.AAAA.BBBB.CCCC.DDDD.EEEE.FFFF.GGGG.23'
IPPORT 8044
HOST DATASET PREFIX 'PUBLIC'
HOST DISPOSITION DELETE
REMOTE DATASET PREFIX 'PUBLIC'
REMOTE DISPOSITION DELETE
REMOTE JOBCARD EQ
("//USER02S JOB 108300000,PSHIPXCM,USER=USERR02,",
"// REGION=6M,MSGCLASS=X,NOTIFY=&SYSUID ",
"/*JOBPARM SYSAFF=AB31 ",
"//* " )
►─┬────────────────────────────────────────────────────┬──────────────── . ─►◄
├─ MAPS TO ─┬─────────────────────────────┬──────────┤
│ └─ REMote DATASet ─ 'dsname' ─┘ │
└─ EXClude ──────────────────────────────────────────┘
EXCLUDE
Use the EXCLUDE clause if you do not want to transmit the package outputs of a
data set. You can only use the EXCLUDE clause if you do not specify the MAPS TO
REMOTE DATASET clause. The two clauses are mutually exclusive.
The following is an example of the DEFINE SHIPMENT MAPPING RULE SCL. The example
creates a shipment rule for the shipment destination named BOSTNDM.
The following is an example of the Define Subsystem SCL. The example creates a
Subsystem named GENLEDG for System ACCT.
►─┬────────────────────────────────────────────────────┬─────────────────────►
└─ STAge TWO LISt LIBRARY ─┬──────┬─ 'dataset-name' ─┘
└─ IS ─┘
►─┬───────────────────────────────────┬─ . ──────────────────────────────────►◄
├─┤ RETain ELEment LEVel BY AGE ├───┤
└─┤ RETain COMPOnent LEVel BY AGE ├─┘
Expansion of error
├──┬───────────────────────────────────────┬───────────────────────────────────┤
└─ error ─ SEVerity LEVel ─ is ─ W|E|C ─┘
The Define System statement includes the following clauses and options.
DEFINE SYSTEM system-name
Specifies the one- to eight-character name of the System you are creating or
updating. Name maskName-masking is allowed. A name-masked System name
updates all matching System definitions.
TO ENVIRONMENT environment-name
Specifies the Environment to which you are defining the System. The Environment
name you specify must be fully qualified; name-masking is not allowed.
DESCRIPTION description
Describes this System with text of up to 50 characters in length. If the text contains
embedded spaces, enclose it in single or double quotation marks. This clause is
required when you create a System definition. The clause is optional, when you
update a System definition.
NEXT SYSTEM system-name
Specifies the name of the System in the next Environment. If you do not specify this
clause, the value defaults to the name of the System you are creating or updating.
COMMENTS REQUIRED | NOT REQUIRED
Specifies whether comments are required for actions against elements in this
System. The default is COMMENTS NOT REQUIRED.
CCID REQUIRED | NOT REQUIRED
Specifies whether CCIDs are required for actions against elements in this System.
The default is CCID NOT REQUIRED.
RETAIN ELEMENT LEVEL BY AGE | DO NOT RETAIN ELEMENT LEVEL BY AGE | RETAIN
ELEMENT LEVEL FOR nnn MONTHS
Optional. Specifies whether old element delta levels are retained and for how many
months they are retained.
When creating a system, the clause has the following effect:
■ If you do not code any of the options, then the default is DO NOT RETAIN
ELEMENT LEVEL BY AGE.
■ You can code RETAIN ELEMENT LEVEL BY AGE alone or with RETAIN ELEMENT
LEVEL FOR nnn MONTHS.
– If you code RETAIN ELEMENT LEVEL BY AGE alone, then the retention time
defaults to 999 months.
– If you code RETAIN ELEMENT LEVEL FOR nnn MONTHS alone, then RETAIN
ELEMENT LEVEL BY AGE is assumed.
When updating a system, the clause has the following effect:
■ If the existing system is coded with DO NOT RETAIN ELEMENT LEVEL BY AGE
and you want to enable the retention feature, then you must code RETAIN
ELEMENT LEVEL BY AGE. If you want to specify a retention time less than 999
months, you must also code RETAIN ELEMENT LEVEL FOR nnn MONTHS.
■ If the existing system is coded with RETAIN ELEMENT LEVEL BY AGE and you
want to specify a retention time less than 999 months, then you only need to
code RETAIN ELEMENT LEVEL FOR nnn MONTHS.
■ If the existing system is coded with RETAIN ELEMENT LEVEL BY AGE and you
want to turn off the retention feature, you must code DO NOT RETAIN
ELEMENT LEVEL BY AGE.
RETAIN ELEMENT LEVEL BY AGE
Specifies that aged delta level retention for elements is in effect. If this clause is
specified, but the RETAIN ELEMENT LEVEL FOR nnn MONTHS clause is not, then
elements are retained for 999 months.
DO NOT RETAIN ELEMENT BY AGE
Specifies that aged delta level retention of element is not in effect. This clause
is the default if neither RETAIN ELEMENT LEVEL BY AGE nor RETAIN ELEMENT
LEVEL FOR nnn MONTHS are specified.
RETAIN ELEMENT LEVEL FOR nnn MONTHS
Specifies that aged delta level retention for elements is in effect and the
number of months that element levels are retained. Valid values are 1 through
999. This clause can be specified alone or with RETAIN ELEMENT LEVEL BY AGE.
When used either way the effect is the same.
In this example DEFINE SYSTEM statement, a System named ACCT is created in the
DEVEL environment. When a user performs an action against any element in this
System, the user must enter a comment. In addition, CA Endevor SCM signin/signout
processing and signout data set validation are active for this System. This statement also
specifies the location of the optional Stage One and Stage Two List libraries.
►─┬─────────────────────────────────────────────┬────────────────────────────►
└─ SOUrce OUTput LIBRARY ─┬──────┬─ 'dsname' ─┘
└─ IS ─┘
►─ DEFAult PROcessor GROup ─┬──────┬─┬─ *NOPROC* ◄ ─┬────────────────────────►
└─ IS ─┘ └─ group-name ─┘
►─┬─────────────────────────────────────────────────┬────────────────────────►
└─ ELEment DELTa FORMat ─┬──────┬─┬─ FORWard ◄ ─┬─┘
└─ IS ─┘ ├─ REVerse ───┤
├─ IMAge ─────┤
└─ LOG ───────┘
►─┬────────────────────────────┬─────────────────────────────────────────────►
└─┬─ COMPRess BASe ◄ ──────┬─┘
└─ DO NOT COMPRess BASe ─┘
►─┬──────────────────────────────────────────────────────────────┬───────────►
└─ REGression PERCentage ─┬─────────────┬─┬──────┬─┬─ 50 ◄ ──┬─┘
└─ THReshold ─┘ └─ IS ─┘ └─ value ─┘
►─┬──────────────────────────────────────────────────┬───────────────────────►
└─ REGression SEVerity ─┬──────┬─┬─ CAUtion ◄ ───┬─┘
└─ IS ─┘ ├─ INFormation ─┤
├─ WARning ─────┤
└─ ERRor ───────┘
►─┬────────────────────────────────────────┬─────────────────────────────────►
├─ CONsolidate ELEment ─┬──────────┬─ ◄ ─┤
│ └─ LEVels ─┘ │
└─ DO NOT CONsolidate ELEment LEVels ────┘
►─┬────────────────────────────────────────────┬─────────────────────────────►
└─ CONsolidate ELEment AT LEVels ─┬─ 96 ◄ ──┬┘
└─ value ─┘
►─┬───────────────────────────────────────────────────────┬──────────────────►
└─ NUMber OF ELEment LEVELS TO CONsolidate ─┬─ 50 ◄ ──┬─┘
└─ value ─┘
►─┬────────────────────────────────────┬─────────────────────────────────────►
└─ DATa FORMat ─┬──────┬─┬─TEXt ◄ ─┬─┘
└─ IS ─┘ └─BINary──┘
►─┬────────────────────────────────────┬─────────────────────────────────────►
└─ ELEment RECfm IS─┬── FIXed ──────┬┘
├─ VARiable ────┤
└─ NOT DEFINED ─┘
►─┬────────────────────────────────────────────┬─────────────────────────────►
└─ FILe EXTension ─┬──────┬─ file-extension ─┘
└─ IS ─┘
►─┬─────────────────────────────────────────┬────────────────────────────────►
├─ CONsolidate COMPOnent ─┬──────────┬ ◄ ─┤
│ └─ LEVELS ─┘ │
└─ DO NOT CONsolidate COMPOnent LEVELS─ ──┘
►─┬───────────────────────────────────────────────────┬──────────────────────►
└─ COMPOnent DELTa FORMat ─┬──────┬─┬─ FORWard ◄ ─┬─┘
└─ IS ─┘ └─ REVerse ───┘
►─┬──────────────────────────────────────────────┬───────────────────────────►
└─ CONsolidate COMPOnent AT LEVel ─┬─ 96 ◄ ──┬─┘
└─ value ─┘
►─┬─────────────────────────────────────────────────────────┬────────────────►
└─ NUMber OF COMPOnent LEVELS TO CONsolidate ─┬─ 50 ◄ ──┬─┘
└─ value ─┘
►─┬─────────────────────────────┬─ . ────────────────────────────────────────►◄
└─ HFS RECFM ─ IS ─┬─ NL ◄ ─┬─┘
├─ F ───┤
├─ CR ──┤
├─ CRLF ─┤
├─ LF ───┤
├─ COMP ─┤
└─ V ────┘
HFS RECFM
Identifies the record delimiter used in a HFS file. A record delimiter is necessary due
to the nature of HFS files. HFS files contain one large data stream; therefore, a
delimiter is used to identify individual records within that data stream. If a delimiter
is not specified, the system defaults to NL.
Acceptable delimiter values are:
■ COMP – Variable length records compressed by CA Endevor SCM
■ CR – Carriage return. ASCII and EBCDIC value "CR". The hex value is '0D'.
■ CRLF – EBCDIC carriage return \ line feed. The hex value is '0D25'.
■ CRNL – ASCII carriage return \ new line. The hex value is '0D0A'.
■ F – Fixed Length
■ LF – EBCDIC line feed. The hex value is '25'.
■ NL – Default. EBCDIC new line character. This is the delimiter is used by the
OEDIT and OBROWS Eeditor.
■ V – Variable. The first two bytes of the record contain the RDW (record
descriptor word). The RDW contains the length of the entire record, including
the RDW.
LANGUAGE IS language-name
The LANGUAGE clause defines the source language of the type. You can use any
alphanumeric string of up to eight characters in length. You must specify the
LANGUAGE clause when creating a type definition. The clause is optional when
updating a type definition.
If the language you specify in the LANGUAGE IS clause is one of the languages in the
following table, the values you specify in the COMPARE FROM clause are compared
to determine if they fall within the following ranges.
The following table lists acceptable names for CA Librarian as well as values within
which the names must fall for the COMPARE FROM clause.
The following is an example of the DEFINE TYPE SCL. The example creates a type named
COBOL.
Rules for Using Symbolics in Data Set Names in Type Definition Parameters
Endevor symbols (&C1) and user-symbols (&#) can be used in the data set definitions for
the TYPE definition parameters BASE LIBRARY, DELTA LIBRARY, INCLUDE LIBRARY, and
SOURCE OUTPUT LIBRARY. In addition, Endevor symbols and user-defined symbols can
be nested to form a valid user-defined symbol name that is resolved at run time. A
character string beginning with &# can also be concatenated with one or more Endevor
symbols to form a valid user-defined symbol name that is resolved at run time.
Be careful when coding both nested and concatenated User defined and Endevor
defined symbols. When using these coding techniques the data set name is not finally
resolved until run time. If an incorrect data set name is specified the result could be an
allocation error at run time.
This example shows an Endevor symbol (&C1) in the BASE LIBRARY IS dataset-name.
IPRFX.IQUAL.&C1SUBSYS.BASE
IPRFX.IQUAL.&#USERVAL.BASE
This example shows nested user-defined symbol that forms a valid user-defined symbol
name that will be resolved at run time.
IPRFX.IQUAL.&#&SUBSYS.BASE
In this example &#&C1SUBSYS would be resolved at run time to &#PAY which would
then be resolved to the value defined for the User symbol #PAY.
This example shows a character string beginning with &# can also be concatenated with
one or more Endevor symbols to form a valid User defined symbol name that will be
resolved at run time.
IPRFX.IQUAL.&#DIV&SUBSYS.BASE
symbol #DIVPAY.
Note: It is not possible to create a type sequence using the DEFINE TYPE SEQUENCE
action. The type sequence definition is automatically created when you define a new
system.
The DEFINE TYPE SEQUENCE action merges the existing type sequence information
with the sequence information you specify in the DEFINE TYPE SEQUENCE action.
The merged information is used to create the new type sequence record. The
existing type sequence numbers are assigned 10 and are incremented by 10. For
example, assume the type sequence record for system Payroll is defined as follows:
COPYBOOK, MACRO, COBOLPGM, ASSEMPGM, JCL.
The COPYBOOK type is assigned sequence number 10, MACRO is assigned 20,
COBOLPGM is assigned 30 and so on. Further, assume that the DEFINE TYPE
SEQUENCE action specified the following SEQUENCE clause:
SEQUENCE=((COBOLPGM,35),(ASSEMPGM,25)).
The following is an example of the DEFINE TYPE SEQUENCE SCL. The example updates
the type sequence for system ACCT.
LINK = 5
COBOL = 15
ASM = 25
JCL = 35
LINK = 10
COBOL = 20
ASM = 30
JCL = 40
Delete Statements
Use DELETE statements to delete existing environment definitions. The DELETE action
will not delete an environment definition if any elements are defined to the
environment definition. For example, you cannot delete a system if any subsystems or
types are defined to that system. You must delete the subsystems and types before you
can delete the system.
Note: There is no action to delete a type sequence definition. The DELETE SYSTEM
action deletes the type sequence definitions.
■ Environment names you specify in the FROM clause must all be fully specified.
■ Names cannot include embedded spaces, non-alphabetical, non-numeric, or
non-national characters.
The DELETE APPROVER GROUP clause identifies the up to sixteen character name of the
approver group you are deleting. You can use a partially or fully wildcarded approver
group name.
The FROM clause identifies the environment location of the approver group you are
deleting. You must specify a fully qualified environment name.
The APPROVER clause identifies one or more approver user IDs to be deleted from the
Approver Group definition. If you specify more than one user ID, enclose the IDs in
parentheses and separate by commas. If you do not specify the APPROVER clause, CA
Endevor SCM deletes the entire Approver Group definition.
The following is an example of the DELETE APPROVER GROUP SCL. The example deletes
certain approvers from the approver group named ACCTPAY1. Using the DELETE
statement in this way acts like an update. The list of users that are currently in approver
group ACCTPAY1 are (USER001, USER002, USER003, USER004, USER005). This example
removes USER001 and USER004 from the Approver Group.
The DELETE APPROVER RELATION clause indicates that you are deleting a approver
relation definition. You must specify this clause.
Specifies the name of the approver group associated with the approver relationship.
You can specify a name-masked approver group name. If the value is name-masked, the
value expands during processing and all matching references are deleted.
The FROM clause identifies the inventory location to which the approver group is
related. You must use a fully specified environment name. You can fully specify or fully
wildcard the system name, subsystem name, and type name. They cannot be partially
wildcarded. The stage number must be 1 or 2. The stage ID can be explicit or an asterisk
(*) wildcard to indicate both stages.
TYPE IS STANDARD/EMERGENCY
The TYPE IS clause identifies the approver type for this approver group. An approver
group designated as standard can only approve standard packages. Likewise, an
approver group designated as emergency can only approve emergency packages. The
default is TYPE IS STANDARD.
The following is an example of the DELETE APPROVER RELATION SCL. The example
deletes an approver relation for approver group ACCTPAY1.
Note: You cannot delete a processor group if the processor group is associated with an
element at that stage.
The DELETE PROCESSOR GROUP clause identifies the up to eight character name of the
processor group you are deleting. You can partially or fully wildcard the processor group
name.
The FROM clause identifies the inventory location to which the processor group you are
deleting is defined. Names you use in the FROM clause must be fully specified.
The following is an example of the DELETE PROCESSOR GROUP SCL. The example deletes
all processor groups in environment DEVEL, system ACCT, type COBOL, and stage ID "U".
The DELETE PROCESSOR SYMBOL clause indicates that you are deleting symbols in
processors. You must specify this clause.
The FROM clause identifies the inventory location of the processor group to which the
processor symbols are defined, the processor group name, and a processor type within
the group. The environment name, system name, and type name you specify in the
FROM clause must all be fully specified.
You can fully specify, partially wildcard or fully wildcard the processor group name. The
processor group must exist in the processor load library. The processor group name
cannot be '*NOPROC*. Specify either a generate, move, or delete processor type for this
processor symbol.
The SYMBOL clause identifies one or more symbol names that are to be deleted from
the symbol override. If you specify more than one name, enclose the symbol names in
parentheses and separate by commas. Deleted symbols revert to the defaults specified
in the processor definition. If you omit the SYMBOL clause, all the symbols associated
with the processor group are deleted.
The following example deletes all generate processor symbols from processor group
COBNBL1 in environment DEVEL, system ACCT, and stage ID U:
This example deletes generate processor symbols SYMBOL1 and SYMBOL2 from
processor group COBNBL1 in environment DEVEL, system ACCT, and stage ID U:
This example also deletes generate processor symbols SYMBOL1 and SYMBOL2 from
processor group COBNBL1 in environment DEVEL, system ACCT, and stage ID U:
Note: The DELETE SHIPMENT DESTINATION clause also deletes all the mapping rules
that are associated with the destination. Data set mapping rules and USS mapping rules
are deleted.
An example of the DELETE SHIPMENT DESTINATION SCL statement follows. The example
deletes the shipment destination named "BOSTNDM".
The FROM DESTINATION clause identifies the up to seven character name of an existing
package shipment destination from which you are deleting a mapping rule. You must
use a fully specified value.
This clause identifies the up to 44 character name or mask of the host data set name.
The following is an example of the DELETE SHIPMENT MAPPING RULE SCL. The example
deletes a shipment mapping rule from shipment destination named "BOSTNDM".
Specifies the name of an existing package shipment destination from which you are
deleting a mapping rule. Name-masking is not supported.
Note: You cannot delete a subsystem if any elements are associated with the subsystem
at either Stage 1 or Stage 2.
The DELETE SUBSYSTEM clause identifies the 1- to 8-character name of the subsystem
you are deleting. You can partially or fully wildcard subsystem name.
The FROM clause identifies the inventory location to which the subsystem is defined.
Names you use in the FROM clause must be fully specified.
The following is an example of the DELETE SUBSYSTEM SCL. The example deletes all
subsystems using environment DEVEL, and system ACCT.
Note: You cannot delete a system if any subsystems or types are associated with it at
either Stage 1 or Stage 2.
The DELETE SYSTEM clause identifies the 1- to 8-character name of the system you are
deleting. You can partially or fully wildcard the system name.
The FROM ENVIRONMENT clause identifies the environment to which the system is
defined. You must use fully specified environment name.
The following is an example of the DELETE SYSTEM SCL. The example deletes a system
named ACCT from environment DEVEL.
Note: You cannot delete a type definition if there are any elements associated with it at
the stage specified.
The DELETE TYPE clause indicates that you are deleting a type definition. You can specify
a name-masked type name.
The FROM clause identifies the inventory location to which the type is defined. The
environment and stage must be explicitly specified. You can specify a name-masked
system name.
The following is an example of the DELETE TYPE SCL. The example deletes all types using
environment DEVEL, system ACCT, and stage ID U.