The DISPLAY/PUNCH CALC KEY statement displays or punches a CALC key definition in the dictionary.
To issue a DISPLAY/PUNCH CALC KEY statement, you must either own or have the ALTER privilege on the table on which the CALC key is defined.
►►─┬─ DISplay ─┬─── CALc key ON ──┬────────────────┬── table-name ────────────► └─ PUNch ───┘ └─ schema-name. ─┘ ►─┬─────────────────────────────────────────────────────────────────────┬────► └──┬─ WITh ─────────┬──┬─ ALL ───────────────┬── AS ─┬─ COMments ◄──┬─┘ ├─ WITHOut ──────┤ ├─ NONe ──────────────┤ └─ SYNtax ─────┘ ├─ ALSo WITh ────┤ ├─ DETails ───────────┤ └─ ALSo WITHOut ─┘ └─ HIStory ───────────┘ ►─┬───────────────────────┬──────────────────────────────────────────────────►◄ └─ VERb ─┬─ CREate ◄──┬─┘ ├─ DISplay ──┤ ├─ DROp ─────┤ └─ PUNch ────┘
Identifies the schema associated with the named table.
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.
Specifies the name of the table on which the CALC key is defined. Table-name must be the name of a table defined in the dictionary.
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 CALC key.
Specifies the display of the name of the CALC key. NONE is meaningful only when the WITH clause is specified.
Specifies the display of CALC key-specific descriptions.
Specifies the display of the date the CALC key was defined.
Outputs CALC key syntax as comments with the characters *+ preceding the text of the statement. AS COMMENTS is the default.
Outputs CALC key 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.
|
Copyright © 2014 CA.
All rights reserved.
|
|