The SMFWRITE macro writes a user-defined SMF record (SMS record on VOS3 systems).
Parameters: SMFWRITE Macro
Can be used to test the macro.
If the test mode is OFF, the macro writes the specified record to the SMF (or SMS) data set. If the test mode is ON, the macro sends the specified record to the activity log.
Specifies the record subtype. The 9xxx subtypes are reserved for these user-defined records.
Enter a hexadecimal value. The subtype is constructed by prefixing the specified value with 9.
Specifies the data in each field of the record. This field may contain constant or variable data (data contained in variables).
Specifies the length of a data field in bytes.
Example: SMFWRITE Macro
In the following example, the SMFWRITE macro writes a record that indicates when a service starts.
--------- Automation Services : SMFWRITE Macro Parameter Definition ----------- Command ===> Function=BROWSE .- SMF Parameters ------------------------------------------------------------. | | | Test Mode ... OFF | | Subtype ..... FFF | | | | SMF Data Length | | START 6 | | &SERVICE 12 |
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |