Mainframe Template Example - Documentation for Bmc Discovery 11.3
Tpl 1.5 Module Mainframe. Examples; Metadata Origin: = "Online_Docs"; End Metadata; from Supportingfiles. Mainframe. Support Import Mainframemodel 1.0; Pattern...
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;