This format of the FILE command defines the physical attributes of a CA Datacom/DB input table. The command is coded as follows:
►►─ filename: ─┬─ INPUT ─┬─ DATACOM ─ RECORD=nnn ─┬───────────────┬───────────► └─ FILE ──┘ └─ NAME=dbname ─┘ ►─┬─────────────┬────────────────────────────────────────────────────────────►◄ └─ DBID=dbid ─┘
Is a unique identifier within the Reporting Facility program. The Reporting Facility automatically generates a one-character alphanumeric field with the same name as the table name. It is used as a return code in conjunction with the GET command.
Indicates the combined size of all the elements to be retrieved from the CA Datacom/DB table, plus an additional 300 characters used for communication with CA Datacom/DB. The system reserves the 300 characters of control information as the first 300 characters of the I/O record area.
The subsequent Format 1 DEFINE commands must define all data to be returned as being relative to position 301. The reserved 300-character area has a specific format, and you must complete it prior to any access to the database.
The following details the format of the I/O area as required by the CA Datacom/DB Interface program:
5-character CA Datacom/DB command
5-character key name by which access is requested
Maximum 180-character key value for specific key requests
Maximum 15-element list, specifying the CA Datacom/DB elements to be returned
7-character CA Datacom/DB record ID, in the format FFTTTRL
Filler, reserved for future use
Returned elements
Specifies the three-character CA Datacom/DB table name for the CA Datacom/DB table to be accessed. This parameter is optional. If omitted, the first three characters of the filename are used.
Note: For partitioned tables, the CA Datacom/DB Reporting Facilitysupports full parent tables orthe child (table partition) tables.
Specifies the numeric database ID in which the table to be accessed resides. If coded, it must specify a positive integer in the range 1—5000.
Note the following:
|
GSETL |
LOCKL |
LOCNK |
REDKL |
REDKY has been superseded by REDKX, REDLE is no longer required as a priming read, and REDID should not be used if the URI option is elected. The first GETITs will read the next record in key sequence unless and until another GSETL is encountered. The KEY= value in bytes 11—190 of the I/O area must accompany those commands that require a key value. Supply the key name in positions 6—10 of the I/O area for all CA Datacom/DB requests. It must match the key name defined in the Control File.
Example
xxxxxs....
A five-character element name.
A one-character security code.
Both are defined in the Control File.
Note the following:
|
Copyright © 2014 CA.
All rights reserved.
|
|