►►─ 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 ──┘
Indicates the element to be validated.
The FROM clause indicates the location of the element being validated. A check is performed to ensure the element exists at the location specified in the action. If not, an E level message is issued.
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:
Note: 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.
(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.
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.
Although the foreground SCL Generation panel allows you to filter the selection list by using a single CCID, the SCL supports multiple CCIDs.
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 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.
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.
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;
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.
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:
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.
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.
Example: Validate Action Syntax with All Options
This Validate action SCL validates all the inventory located in the DEV environment PAYROLL sandbox subsystem. All available action options are specified.
VALIDATE ELEMENT 'PAYRPT17' FROM ENVIRONMENT 'DEV' SYSTEM 'FINANCE' SUBSYSTEM 'PAYROLL' TYPE * STAGE NUMBER * OPTIONS ELEMENT MASTER SYNCHRONIZATION COMPONENT VALIDATION TERSE .
|
Copyright © 2014 CA.
All rights reserved.
|
|