CA Common Services for z/OS EARL Service provides five methods for accessing VMF and ALOG record information. The desired access or run type (TYPRUN) is specified using a SET statement. The coding example on Executing z/OS EARL Service illustrates the use of the SET statement. Each of the access types is listed below.
TYPRUN = 'CHAINED' access of the VMF returns records in BASE VOL and file sequence order. The BASE VOLs (or first volumes of a chain) are returned beginning with file sequence one followed by any additional files and/or volumes which are chained to it. Then the next BASE VOL and its chain are returned.
TYPRUN = 'FILE' access of a flat file. Data can be in the common format or any that TLMS2COM can convert, like VMF base records, transaction records or log records.
The order is not known for REPORT and FILE. Record length can vary (minimum by record type) with extension data passed after the record data, 768 bytes (record and extension) will be passed to the CA Common Services for z/OS EARL Service code. CA Common Services for z/OS EARL Service code expects 768 bytes, 512 byte DB record plus 256 byte extension padded with blanks.
When the source is transaction log, the SMF information is placed in the last 14 bytes (754-768) to allow extension data to follow the DB record.
TYPRUN = 'REPORT' access of a flat file (sequential file) with the tape data in the common format with other data which varies by the report appended to it.
TYPRUN = 'SEQUENTIAL' access of the VMF returns records in sequential order by volser and file sequence within volser. Volumes which have no files return the volume information with null values for the data set information. For volumes with multiple files, one record is returned for each file sequence in the volume. This is the default for TYPRUN.
TYPRUN = 'VOLUME' access of the VMF returns records in sequential order by volser. One record is returned for each volume. It contains the volume information and the first data set for that volume, if one is present.
For all methods, a record is returned for each volume regardless of its service/scratch status. It is up to your CA Common Services for z/OS EARL Service program to select or consolidate these records.
|
Copyright © 2014 CA.
All rights reserved.
|
|