Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 1 Using TIBCO Object Service Broker Utilities : S6BSMFAK (Add Key to SMF Records)

S6BSMFAK (Add Key to SMF Records)
S6BSMFAK modifies TIBCO Object Service Broker Data Object Broker SMF records to relocate or copy their job identification to the standard offset.
Use S6BSMFAK to modify SMF subtype records (for example, SMF30) that do not have their job identification at the standard offset used by original-format job records.
S6BSMFAK modifies SMF records where necessary so that their job identification appears at the standard offset. Job identification within most SMF records is by Jobname and Reader-Start Date and Time. Non-job records receive a dummy job identification of Z9999999 to make them sort last. When job identification is inserted or relocated, this is indicated by setting bits in the first byte of SMF##TME. The maximum correct value for SMF##TME is X’0083D5FF’.
After modifying these SMF records, you can sort them by job identification and time. Do not use the first byte of SMF##TME for sorting.
After sorting, use S6BSMFDK to restore the records modified by S6BSMFAK to their original layout. For more information about S6BSMFDK, refer to S6BSMFDK (Remove Key Added by S6BSMFAK).
Invocation
The S6BSMFAK member of the JCL data set distributed with TIBCO Object Service Broker contains sample JCL required to run S6BSMFAK, SORT, and S6BSMFDK. This sample is provided as a reference only; modify the JCL for your needs.
Files //SMFIN, //SORTIN, //SORTOUT, and //SMFOUT can be in any variable length format: VBS, VB, or V.
This job runs in the following order:
SORT FIELDS sorts the data by job identification, and by date and time within job identification. Because S6BSMFAK uses bits from the first byte of the SMF##TME field to indicate job-ID key insertion, you should SORT on 3 bytes at SMF##TME+1 (last sort field).
Return Codes
S6BSMFAK can issue the following return codes:

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved