The DEFCMD, DEFENV, DEFMSG, DEFPOOL, DEFRULE and DEFSMF statements
can use a special statement name to establish parameter defaults. When $DEFAULT is specified, the rule compiler uses the specified parameters to modify the parameter defaults for the related statement. All statement definitions that follow the $DEFAULT statement will use the new defaults.
For example, a DEFSMF $DEFAULT statement can be used to establish the default value for an SMF record number. All DEFSMF statements that follow need not specify the SMFRID parameter.
DEFSMF $DEFAULT “ “ SMFRID(234)
The $DEFAULT parameters establish defaults for the current rule member, and any included PDS members. The defaults will not be passed to other rule members that are invoked with the CALLRULES or USERULES statements. To globally establish defaults with $DEFAULT statements, build a PDS member that contains the $DEFAULT statement, and include the PDS member in the appropriate rules.