G
Gossip Burst Report

Mainframe template example - Documentation for BMC Discovery 11.3

Author

Mia Lopez

Published Apr 07, 2026

tpl 1.5 module Mainframe.Examples;metadata origin := "ONLINE_DOCS";end metadata;from SupportingFiles.Mainframe.Support import MainframeModel 1.0;pattern Mainframe_TapeDrive 1.0 overview tags IBM, TapeDrive; end overview; triggers on dtd := DiscoveredTapeDrive; end triggers; body MainframeModel.createTapeStorage(dtd); end body;end pattern;pattern Mainframe_DASD 1.0 overview tags IBM, DASD; end overview; triggers on dasd := DiscoveredDiskDrive where volume_id matches regex '^AL'; end triggers; body MainframeModel.createDiskStorage(dasd); end body;end pattern;pattern Mainframe_Transaction 1.0 overview tags IBM, Transaction; end overview; triggers on trn := DiscoveredTransaction where name matches regex '^CICSTRAN-C'; end triggers; body MainframeModel.createTransaction(trn); end body;end pattern;pattern Mainframe_MQ 1.0 overview tags IBM, MQ; end overview; triggers on dmq := DiscoveredMQDetail where name matches regex '^MQCHNL-'; end triggers; body MainframeModel.createMQDetail(dmq); end body;end pattern;