SEND TABLE stores information from the current or named report file as an ASF table.
Access mode:The syntax below is invalid when the access switch is set to IDMS.
The columns that make up the new ASF table are derived from existing fields in the current report file.
Syntax:
►►─── SENd TABle ─┬─────┬─ asf-table-name ────────────────────────────────────► └─ = ─┘ ►─┬───────────────────────────────────────────────────────────────┬──────────► └─ REPort ─┬─────┬─ report-name ─┬────────────────────────────┬─┘ └─ = ─┘ └─ USEr ─┬─────┬─ user-name ─┘ └─ = ─┘ ►─┬─────────────────────────────┬────────────────────────────────────────────► └─ OWNer ─┬─────┬─ user-name ─┘ └─ = ─┘ ►─┬─────────────────────────────────────┬────────────────────────────────────► └─ CATalog ─┬─────┬─ dictionary-name ─┘ └─ = ─┘ ►─┬──────────────────────────────────────┬───────────────────────────────────► └─ LOCation ─┬─────┬─ dictionary-node ─┘ └─ = ─┘ ►─┬─────────────────────────────────┬────────────────────────────────────────► └─ TYPe ─┬─────┬─┬─ CREate ─────┬─┘ └─ = ─┘ ├─┬─ APPend ─┬─┤ │ └─ ADD ────┘ │ └─ REPlace ────┘ ►─┬─────────────────────────────┬────────────────────────────────────────────► └─ ONLine ─┬─────┬─┬─ NO ◄ ─┬─┘ └─ = ─┘ └─ YES ──┘ ►─┬────────────────────────────┬─────────────────────────────────────────────► └─ AREa ─┬─────┬─ area-name ─┘ └─ = ─┘ ►─┬──────────────────────────────────────────┬───────────────────────────────► └─┬─ MODify ─┬─ access ─┬─────┬─┬─ NO ◄ ─┬─┘ └─ ERase ──┘ └─ = ─┘ └─ YES ──┘ ►─┬─────────────────────────────────────────┬────────────────────────────────► └─ STOrage sequence ─┬─────┬─┬─ NEXt ◄ ─┬─┘ └─ = ─┘ ├─ PRIor ──┤ ├─ LASt ───┤ └─ FIRst ──┘ ►─┬────────────────────────────────────────────────────────────────────────┬─► │ ┌────────────────────────────────────────────────────┐ │ │ │ ┌──────────────┐ │ │ └─ INDices ─┬───┬─▼─ ( ─▼─ field-name ─┴─ ) ┬─────────────────────────┬┴─┘ └ = ┘ │ ┌─────────────────────┐ │ └─v┬─┬─ ASCending ◄ ─┬─┬┴─┘ │ └─ DEScending ──┘ │ ├─┬─ LASt ◄ ──────┬─┤ │ ├─ FIRst ───────┤ │ │ └─ NOT ALLowed ─┘ │ ├─ DISPlay ─────────┤ └─ STOrage ─────────┘ ►─┬───────────┬──────────────────────────────────────────────────────────────► ├─ SUMmary ─┤ └─ DETail ──┘ ►─┬─────────────────────────────────────────────────────┬────────────────────►◄ └─ COLumns ─┬─────┬─ ( ─┬─ MAXimum ─────────────┬─ ) ─┘ └─ = ─┘ │ ┌───────────────────┐ │ └─▼─ field-reference ─┴─┘
Parameters:
The name of the ASF table to be saved in CA IDMS or CA IDMS/DB.
Identifies the saved report containing the columns that define the ASF table. Report-name names a report that was created with the SAVE REPORT command. If REPORT=report-name is not specified, the ASF table is defined by using columns from the current report.
Identifies the user who saved the named report. If USER=user-name is not specified, the report is retrieved from the current user's directory.
Specifies the user ID for the owner of the ASF table. If user-name is not specified, the ASF table is saved under the current user's ID.
Specifies the name of the IDB or ASF dictionary where the catalog entry to the named ASF table is added.
Specifies the name of the Distributed Database System (DDS) node controlling the named dictionary.
Specifies whether the named ASF table is being created, added to, or replaced. Type can be:
Note: When either TYPE=APPEND/ADD or TYPE=REPLACE is specified, the columns in the current report must be the same as the columns in the existing table definition.
Specifies whether a map and dialog are built for the ASF table. The default is NO.
Names an alternative area to store the ASF table. Users must have DBA authority to specify this option.
Specifies whether or not individual rows in the stored ASF table can be modified through ASF. The default is NO. A logical record MODIFY path is not built in the table subschema.
Specifies whether or not individual rows in the stored ASF table can be deleted through ASF. The default is NO.
Specifies how data is added to the database:
The STORAGE SEQUENCE cannot be specified if the STORAGE parameter is specified in the INDICES statement.
Notes:
Defines characteristics of the index set for the ASF table.
Note: You can specify STORAGE and DISPLAY only once each for any table. You cannot specify STORAGE SEQUENCE= and STORAGE for the same table.
Specifies that summary report lines only be included in the ASF table.
Note: In addition to specifying SUMMARY, you can create a table which contains summary information only by specifying DISPLAY SUMMARY or by selecting SUMMARY ONLY from the Sort screen in menu mode. Any subsequent SEND TABLE will contain only the summary information.
Specifies that all detail report lines be included in the ASF table.
Specifies the report file columns included in the ASF table. Columns can be:
Considerations:
When an ASF table is created, the names of the field columns in the report file are assigned to the columns in the table definition.
If CA OLQ headers have been assigned to any report fields, these headers are retained as column names; both dynamic headers and CA OLQ headers retrieved from the data dictionary can be assigned to columns in an ASF table.
For multiple line headers, CA OLQ uses the field name for the internal name.
Examples:
Send Table
The SEND TABLE command can be used to instruct CA OLQ to replace all data previously associated with an ASF table with new data occurrences from the current report file. The following example replaces the EMP-HOSPITAL table with a single record:
send table=emp-hospital owner=bdm catalog=asfdict type=replace OLQ 102017 TABLE PROCESSING HAS BEEN SUCCESSFULLY COMPLETED
Send Table Indices
This example presents the use of INDICES to define the characteristics of the index set for the ASF table:
send table=emp-salary online=yes indices=(emp-id-0415) not allowed (emp-last-name-0415, emp-first-name-0415)
|
Copyright © 2013 CA.
All rights reserved.
|
|