OpenMake Meister

Customizing z/OS Scripts for New Types

 

Once you have modified your Build Rules to use different Dependency File extension Type, you will need to modify the REXX Methods associated to these Build Rules.  If you modified only your Intermediate or Final Target File Extension Types, you do not need to update the Methods.  The Methods will always derive the Intermediate or Final Target Extension Types from the Build Rule.  Because multiple Dependency File Extensions Types are allowed, the script does not derive these Extension Types.

 

The Methods can be found on the Knowledgebase Server in the following directory:

 

<root>/<server>/webapps/openmake.ear/openmake.war/Methods/

 

The z/OS Methods can be easily found as they start with "zOS" and end with "JCL", for example:

zOS compiler JCL.sc

 

To add your new Dependency File Extension Types to a script, search for the GetDep function in the Script:

 

$Source = GetDep($TargetDeps,".cobol");

 

Note: If the script does not require modifications, even if you added new Dependency File Extension Types, a note will be displayed in this comment area indicating no modifications are needed.

 

Example of a Build Method modification:

$Source = GetDep($TargetDeps,".cobol .cbl");

 

To add an additional Dependency File Extension Type to support a dataset name of:

ACME.ACCTPAY.DEV.COB(members)

 

The following change would need to be made:

$Source = GetDep($TargetDeps,".cobol .cobol2 .cob");