►►─ ARChive ELEment ─ element-name ─┬──────────────────────────────┬─ FROm ───►
└─┬─ THRough ─┬─ element-name ─┘
└─ THRu ────┘
►─ ENVironment ─ env-name ─ SYStem ─ sys-name ─ SUBsystem ─ subsys-name ─────►
►─ TYPe ─ type-name ─┬─ STAge ─ stage-id ────────┬─ TO ──────────────────────►
└─ STAge NUMber ─ stage-no ─┘
►─┬─ FILe ───┬─ dd-name ─┬──────────────────────────────┬────────────────────►
└─ DDName ─┘ └─ WHEre ─ ¤ ─┬──────────┬─ ¤ ─┘
├─┤ CCID ├─┤
└─┤ PRO ├──┘
►─┬──────────────────────────────────────────────┬─ . ───────────────────────►◄
└─ OPTion ─ ¤ ─┬─────────────────────────┬─ ¤ ─┘
├─ CCId ─ ccid ───────────┤
├─ COMment ─ comment ─────┤
├─ OVErride SIGNOut ──────┤
└─ BYPass ELEment DELete ─┘
►─┬──────────────────────────────────────────────┬─ . ───────────────────────►◄
└─ OPTion ─ ¤ ─┬─────────────────────────┬─ ¤ ─┘
├─ CCId ─ ccid ───────────┤
├─ COMment ─ comment ─────┤
├─ OVErride SIGNOut ──────┤
└─ BYPass ELEment DELete ─┘
Expansion of CCID
┌─ , ────┐ ├── CCId ─┬──────────────────────┬─┬───────────┬─ ( ─▼─ ccid ─┴─ ) ────────────┤ └─ OF ─┬─ CURrent ◄ ─┬─┘ ├─ EQual ◄ ─┤ ├─ ALL ───────┤ └─ = ───────┘ └─ RETrieve ──┘
Expansion of PRO
┌─ , ──────────┐ ├── PROcessor GROup ─┬─ EQ ─┬─ ( ─▼─ group name ─┴─ ) ─────────────────────────┤ └─ = ──┘
Indicates the element(s) to be archived. 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 archived, beginning with the element coded in the ARCHIVE ELEMENTS 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 archived. 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.
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:
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.
The DCB must specify variable blocked records (RECFM=VB), and the DSORG should be PS.
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.
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 examples illustrate the use of this clause.
Example 1: WHERE CCID OF CURRENT (PROJ001, PROJ002, PROJ004) Example 2: WHERE CCID OF ALL (PROJ00V)
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)
OPTIONS clauses allow you to further specify requests.
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.
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.
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.
Example: Archive SCL
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.
ARCHIVE ELEMENT '*'
FROM ENVIRONMENT 'PROD'
SYSTEM 'PAYROLL'
SUBSYSTEM 'REPORTS'
TYPE 'COBOL'
STAGE NUMBER 1
TO DDNAME ARCHOUT
OPTIONS CCID REQ#44145
COMMENT 'ARCHIVE REPORTING SUBSYSTEM PROGRAMS'
OVERRIDE SIGNOUT .
|
Copyright © 2014 CA.
All rights reserved.
|
|