Previous Topic: When the Product Creates SMF RecordsNext Topic: OPSSMF Function Return Codes


Create Your Own SMF Records

The OPSSMF function of OPS/REXX enables you to create your own SMF records. You can use this function only in AOF rules. The format for the OPSSMF function is:

var = OPSSMF(subtype,data)

subtype

This argument is a numeric value between 1000 and 32767.

data

This argument is the portion of the SMF record following the standard 40-byte header section. The maximum length of the data is 344 bytes. CA OPS/MVS truncates longer records and issues a warning message.

You can test rules using the OPSSMF function in the AOF test environment. When you do so, the function arguments are syntax checked and CA OPS/MVS returns a value of 0 but writes no SMF records.