An element contains one or more contiguous fields. Because elements are the units of data transferred between the database and programs, define elements that contain groups of fields that are accessed together by your programs.
You can define an ELEMENT occurrence by using one of the following procedures:
When you select the ADD option on the ELEMENT Structure Functions panel, you receive the following prompter panel:
=> => => 1-DDOL000196A - CMPP - PLEASE COMPLETE REQUIRED INFORMATION FOR COMMAND ------------------------------------------------------------------------------- FILE Structure Maintenance TACF ADD ELEMENT ________________________________ ADD ELM (name) TO RECORD ________________________________ in STATUS ____ TO REC (name) STA (status) with PASSWORD using LOCK 0 LIKE ________________________________ PSWD (pswd) LOC (lock) LIKE (name) PF1=HELP PF2=END PF3=CLARIFY PF4=PROCESS PF5=MENU PF6=STATUS PF7=SCB PF8=SCF PF9=APPLY PF10=PATH PF11=NEXT PF12=INPUT
The following list describes each field, the valid entries, and the default (if one exists). Fields that require an entry are highlighted on your terminal. Fields which are not highlighted indicate that an entry is optional.
(Required) Specify the name for the occurrence you are adding.
1- to 32-character name
(No default)
(Required) Specify the name of the existing occurrence.
1- to 32-character name
(No default)
(Required) Specify the status of the existing occurrence.
T001—T999
(No default)
(Optional) Specify a password to protect this occurrence from unauthorized updates. See the section on protecting definitions in the CA Datacom Datadictionary User Guide.
1 to 4 alphanumeric characters
(No default)
(Optional) Specify a lock level to restrict access to this occurrence. For more information, see the section about protecting definitions in the CA Datacom Datadictionary User Guide.
0, 1, 2
0
(Optional) Specify the name of an existing ELEMENT occurrence in the same status to use as the model for the occurrence you are adding.
Note: Any aliases or descriptors assigned to the existing occurrence are not duplicated for the new occurrence. Define these separately.
1- to 32-character name
(No default)
When you press Enter, the ELEMENT definition panel appears. FIELD occurrences must be defined to the RECORD before they can appear on this definition panel. The definition panel can be used to define fields as components of an element in either of two methods, the implicit method or the explicit method.
|
Copyright © 2014 CA.
All rights reserved.
|
|