Previous Topic: NEWS User Exit

Next Topic: How the NEWS Exit Is Called


Sample NEWS Exits

Two sample NEWS exits are supplied as working models that can be modified as required. The exits are members of the ?dsnpref.NMC1.CC2ASAMP library distributed on the installation tape.

NEWSEXIT

NEWSEXIT takes a copy of each CNM record received and writes it to a sequential data set.

Any DD cards required by the exit to write the CNM records to a data set should be included in the execution JCL. The NEWSEXIT sample exit provided writes all records to a variable blocked data set which requires a DD card with a DD name of DDNEWS.

NEWSXSMF

NEWSXSMF takes a copy of each CNM record and formats an SMF record which can then be processed by external packages that use SMF data.

The Assembler macro $NMSMF, distributed in the macro library, provides mapping for the format of the SMF record generated.