Previous Topic: Display AttributesNext Topic: Display Descriptors


Display Copybook

Use the DISPLAY COPYBOOK option to display a copybook for a TABLE, RECORD, KEY, or ELEMENT occurrence. Before you receive the Selection Criteria panel, CA Datacom Datadictionary presents the following menu where you can choose to display the copybook for COBOL, ASSEMBLER, PL/I, or the CA Datacom/DB Reporting Facility.

=> => => ---------------------------------------------------------------------------- DATADICTIONARY Entity Display P03M Enter desired option number ===> 1_ (There are 04 options on this menu) 1. COBOL (COB) Display Cobol copybook 2. ASSEMBLER (ASM) Display Assembler copybook 3. PL1 Display PL1 copybook 4. DATAREPORTER (DR) Display Datareporter copybook

After you enter your specifications on the Selection Criteria panel, you receive a Copybook Display panel similar to the following example:

=> => => ----------------------------------------------------------------------------- DDOL: ANCHORED OCCURRENCE FOR COPYBOOK DISPLAY T04D TYPE OCCURRENCE STA VER REC ALIAS H 001 ----------------------------------------------------------------------------- Copybook Display ====== ========================== T O P ====================================== 000001 02 ALIAS. 000002 03 STATS. 000003 04 STATUS PICTURE X(1). 000004 88 PROD VALUE 'P'. 000005 88 TEST VALUE 'T'. 000006 88 HIST VALUE 'H'. 000007 04 NATIVE-SEQ-KEY. 000008 05 ENTITY-NAME 000009 PICTURE X(15). 000010 05 ENTITY-VER 000011 PICTURE 9(4) PF1=HELP PF2=END PF3=CLARIFY PF4=PROCESS PF5=MENU PF6=STATUS MORE.... PF7=SCB PF8=SCF PF9=APPLY PF10=PATH PF11=NEXT PF12=INPUT

When the display is longer than the screen, you can use the scroll commands or PF keys to move backward and forward through the display.

The following table describes the name CA Datacom Datadictionary displays when you request a copybook for COBOL, PL/I, ASSEMBLER, or the CA Datacom/DB Reporting Facility. The first-level of a copybook for the TABLE (or RECORD), ELEMENT, or KEY entity-type is represented by the term group level.

Entity-Type/ Level


COBOL


PL/I


ASSEMBLER

CA Datacom/DB Reporting Facility

TABLE
group level

CA Datacom Datadictionary occurrence name

CA Datacom Datadictionary occurrence name

Unlabeled storage

CA Datacom Datadictionary occurrence name

fields

CA Datacom Datadictionary occurrence name

CA Datacom Datadictionary occurrence name

Unlabeled storage

CA Datacom Datadictionary occurrence name

RECORD
group level

CA Datacom Datadictionary occurrence name

CA Datacom Datadictionary occurrence name

Unlabeled storage

CA Datacom Datadictionary occurrence name

fields

CA Datacom Datadictionary occurrence name

CA Datacom Datadictionary occurrence name

Unlabeled storage

CA Datacom Datadictionary occurrence name

ELEMENT
group level

CA Datacom Datadictionary occurrence name

CA Datacom Datadictionary occurrence name

CA Datacom Datadictionary occurrence name

CA Datacom Datadictionary occurrence name

fields

Compiler name if present,
if not present, CA Datacom Datadictionary occurrence name

Compiler name if present,
if not present, CA Datacom Datadictionary occurrence name

Assembler name if present,
if not present, unlabeled storage

Assembler name if present,
if not present, CA Datacom Datadictionary occurrence name

KEY
group level

CA Datacom Datadictionary occurrence name

CA Datacom Datadictionary occurrence name

Assembler name if present,
if not present, unlabeled storage

CA Datacom Datadictionary occurrence name

fields

Compiler name if present,
if not present, CA Datacom Datadictionary occurrence name

Compiler name if present,
if not present, CA Datacom Datadictionary occurrence name

Unlabeled storage

CA Datacom Datadictionary occurrence name