The DISPLAY/PUNCH VIEW statement displays or punches a view.
To issue a DISPLAY VIEW statement, you must either own the SQL schema where the view is defined or hold the DISPLAY privilege on the named view.
►►─┬─ DISplay ┬─ VIEw ──┬──────────────┬─view-name────┬───────────────┬──────► └─ PUNch ──┘ └ schema-name.─┘ └FULl┬─────────┬┘ └PHYsical ┘ ►─┬───────────────────────────────────────────────────────────────┬──────────► └──┬─ WITh ─────────┬──┬─ ALL ──────────┬───┬─ AS COMments ◄──┬─┘ ├─ WITHOut ──────┤ ├─ NONe ─────────┤ └─ SYNtax ────────┘ ├─ ALSo WITh ────┤ ├─ DETails ──────┤ └─ ALSo WITHOut ─┘ ├─ HIStory ──────┤ └─ TIMestamp ────┘ ►─┬───────────────────────┬──────────────────────────────────────────────────►◄ └─ VERb ─┬─ CREate ◄──┬─┘ ├─ DISplay ──┤ ├─ DROp ─────┤ └─ PUNch ────┘
In IDD Record Format with COBOL Elements
►►─┬─ DISplay ─┬──── VIEW ─┬────────────────┬─ view-name ─────────────────────► └─ PUNch ───┘ └─ schema-name. ─┘ ►─── LIKe RECord ────────────────────────────────────────────────────────────► ►─┬──────────────────────────────────────────────────────────────────┬───────► └──┬─ WITh ─────────┬──┬─ ALL ─────────────┬───┬─ AS COMments ◄──┬─┘ ├─ WITHOut ──────┤ ├─ null INDIcators ─┤ └─ SYNtax ────────┘ ├─ ALSo WITh ────┤ ├─ record ELEments ─┤ └─ ALSo WITHOut ─┘ └─ record SYNonyms ─┘ ►─┬───────────────────────┬──────────────────────────────────────────────────►◄ └─ VERb ─┬─ CREate ◄──┬─┘ ├─ ALTer ────┤ ├─ DISplay ──┤ ├─ DROp ─────┤ └─ PUNch ────┘
Specifies the name of the view to display or punch.
Identifies the SQL schema associated with the named view.
If you do not specify schema-name, it defaults to the current schema associated with your SQL session, if the statement is entered through the command facility or executed dynamically.
Directs CA IDMS to display all attributes of the view except physical attributes.
Directs CA IDMS to display all attributes of the view including its physical attributes. This includes the view's synchronization timestamp.
Lists the requested information, in addition to the information that is always included, such as the entity occurrence name.
Does not list the specified options. Other options in effect through the WITH or ALSO WITH clauses in the current DISPLAY statement are displayed.
Lists the requested information, in addition to the information requested in previously issued DISPLAY WITH and DISPLAY ALSO WITH statements for the named entity.
Does not list the specified options.
Specifies the display of all the information associated with the requested entity occurrence.
Specifies the display of the name of the requested entity occurrence. NONE is meaningful only when the WITH clause is specified.
Specifies the display of entity-specific descriptions; for example, the length of a table.
Specifies the display of the chronological account of an entity's existence, including PREPARED/REVISED BY specifications, date created, and date last updated.
Specifies the display of the synchronization timestamp for the view.
Outputs view syntax as comments with the characters *+ preceding the text of the statement. AS COMMENTS is the default.
Outputs view syntax which can be edited and resubmitted to the command facility.
Specifies the verb with which the entity statement is to be displayed or punched. For example, if VERB CREATE is specified, the output of the DISPLAY/PUNCH statement is a CREATE statement; if VERB ALTER is specified, the output is an ALTER statement; and so on. The default is VERB CREATE.
With COBOL Elements Parameters
Specifies that you want IDD RECORD syntax, with its columns as COBOL elements, listed for the named view. For sample uses, see "Usage" later in this section.
Specifies the display of COBOL elements defining NULL indicators for nullable columns.
Specifies the display of elements for the record syntax for the named view.
Specifies the display of record synonyms for the record syntax for the named view.
Using the LIKE RECORD Parameter
The LIKE RECORD parameter produces IDD record syntax for the named view.
You can use this syntax to define a record definition for a view in the dictionary. CA ADS dialogs can then include it as a work record definition for the view. This same record definition can be included in a map definition.
|
Copyright © 2014 CA.
All rights reserved.
|
|