Product tagging examples
Three examples are provided to show the ways that you can use the Product Tagging utility to tag unidentified products.
Example 1
A company called ISV has created a build of several programs (build 97) it is developing under the Swisho4U brand. The data sets created by this build have their own disk volume called BLD097. The tag data is to be redirected to a data set dedicated for this purpose.
//STEP1 EXEC PGM=HZATAGP
//SYSPRINT DD SYSOUT=*
//SYSLIB DD DSN=S4U.LOADLIB,DISP=SHR,UNIT=3390,VOL=SER=BLD097
//HZAREDIR DD DSN=S4U.TAGLIB,DISP=SHR
//SYSIN DD *
VENDOR ISV
PRODUCT Swisho4U
VERSION BUILD097
/*
Example 2
The BigBiz Inc. data center is about to deploy the contractor data processing component for Version 4 Release 2 of its internally developed human resources application called HU-MAN. The software is tagged in its own library, but the default tag member name is not used in case it is later loaded into a program library common to several applications. All programs in HU-MAN have names beginning with HU, but the contractor component is the only component which has program names beginning with HUC. The relevant program library can be accessed by using the catalog.
//TAGRUN EXEC PGM=HZATAGP
//SYSPRINT DD SYSOUT=*
//SYSLIB DD DSN=HUMAN.V4R2M0.LOAD,DISP=SHR
//SYSIN DD *
VENDOR BIGBIZ INCORPORATED
PRODUCT HU-MAN Human Resources Management
OPTION Contractor Handling
VERSION 04.02.00
TAGMEM HUMANT@G
SELECT PGM(HUC*)
/*
Example 3
Version 1.5 of the product MVSBLOAT from MiscWare has been deployed on a system which has a dedicated tag data library called SYS2.TAGLIB. Link list programs for the product have been placed in SYS2.LINKLIB and ISPF application modules have been placed in SYS2.ISPLLIB. The product does not have optional features, but only the base component installed. All the installed programs have names beginning with MVSB. The OPTION statement is used to ensure that the contents of each library can be identified by the Match Engine.
//STEP1 EXEC PGM=HZATAGP
//SYSPRINT DD SYSOUT=*
//SYSLIB DD DSN=SYS2.LINKLIB,DISP=SHR
//HZAREDIR DD DSN=SYS2.TAGLIB,DISP=SHR
//SYSIN DD *
VENDOR MiscWare
PRODUCT MVSBLOAT
OPTION BASE (Batch)
VERSION 01.05.00
TAGMEM $$OEMTAG
SELECT PGM(MVSB*)
/*
//STEP2 EXEC PGM=HZATAGP
//SYSPRINT DD SYSOUT=*
//SYSLIB DD DSN=SYS2.ISPLLIB,DISP=SHR
//HZAREDIR DD DSN=SYS2.TAGLIB,DISP=SHR
//SYSIN DD *
VENDOR MiscWare
PRODUCT MVSBLOAT
OPTION BASE (Dialogs)
VERSION 01.05.00
TAGMEM $$OEMTAG
SELECT PGM(MVSB*)
/*