OpenMake Meister

$AllDeps

Gets resolves to a list of all the dependencies throughout the whole dependency tree.  This variable is space separated string.

$AllTargets

All Targets listed in the Build Control File.  This variable is a space separated string.

$BillOfMaterialFile

Fully qualified name of the Build Audit Report dataset.

$BillOfMaterialRpt

Get resolved to the name of the Build Audit Report specified on the OOMLOM command line.

$BuildControlFile

Fully qualified dataset name of the Build Control File.

$BuildTask

Build Task Name

$BuildType

Gets resolved to the Build Type of the current Target.

$CFG

Contains DEBUG or RELEASE based upon the type of build being performed.

$CmdLineParmTargets

Targets listed on the command line to be built.

$CurrentStep

Gets resolved to the current number of the "Final" Targets being built. Intermediate Targets, such as objs, are not considered a "step".

$CurrentWorkingDirectory

Gets resolved to the High Level Qualifier entered using the ISPF panel.

$DebugFlags_<Target Name>_<Build Task>_BuildTaskOptions<Dependency Name>

Special characters in the target and dependency name are replaced with _ to create the variable name. The variable will contain the debug compile flags.

$DeleteLog

Delete the XML log (yes/no)

$DependencyParent<Dependency Name>

Special characters in the dependency name are replaced with _ to create the variable name. The variable will contain a list of the dependencies parent names.

$DependencyVersion<Dependecy Name>

Special characters in the dependency name are replaced with _ to create the variable name. The variable will contain the versioning information.

$ENV.<Env Name>

Each environment variable can be referenced by using $ENV.<Env Name>.

$<Env Name>

Each environment variable can be referenced by using $<Env Name>.

$FinalTarget

Gets resolved to the Final Target Name as listed in the generated build control file.

$FootPrintFile

Gets resolved to the dataset that contains the Foot Printing information. 

$IntDir

Gets resolved to the Intermediate Directory location determined by the Target Intermediate Directory. 

$JobDateTime

Gets resolved to the value Build Job Date Time.   This value is set by -ld parameter specified on the command line.

$JobMachineName

Gets resolved to the Build Job Machine.   This value is set by -lm parameter specified on the command line.

$JobName

Gets resolved to the Build Job name passed by the "JobName" environment variable. This is used when executing Build Jobs from within the Web Client. The environment variable is set by the Web Client before execution of OOMLOM.  If the environment variable is not set, the JobName is derived from the Project and Search Path. Gets resolved to the Build Job Name.   This value is set by -lj parameter specified on the command line.

$JobCard

Gets resolved to the name of the file that contains the job card information.  The ISPF panel creates the file and saves it in:  <high level qualifier>.jcllib(jobcard)

$KeepScript

Gets set to Yes or No depending on whether or not the -ks flag was passed to OOMLOM. The Yes or No value determines whether or not the target specific batch file is kept.

$LogOwner

Gets resolved to the Build Job Owner.   This value is set by –lo parameter specified on the command line.

$MachineName

Gets resolved to the Computer Name where the build is being executed. Used in Foot Printing and Build Audit Reporting.

$MaxThreads

Reserved for future use. Resolves to 1.

$NewerDeps

Gets resolves to a file list of the dependencies newer than the target. This variable is space separated string.

$OutputType

Gets resolved to the screen, html, xml or both.

$Project

Gets resolved to the Project name from the Build Control file.

$ProjectDirs

Gets resolved to a string of Directories derived from the Dependencies and Target information.

$ProjectVPath

Gets resolved to the Expanded Project Search Path listed at the top of the generated Build Control file.

$PublicBuildJob

Gets resolved to the true or false based upon the -op parameter specified on the command line.

$Quiet

Gets resolved to Yes or No depending on if the –o flag has been passed to OOMLOM.  The –o flag writes additional data to standard output. Gets resolved to Yes if the flag is passed.

$RelDeps 

Gets resolved to a list of files for all the relative paths throughout the whole dependency tree.  This variable is space separated string.

$ReleaseFlags_<Target Name>_<Build Task>_BuildTaskOptions<Dependency Name>

Special characters in the target and dependency name are replaced with _ to create the variable name. The variable will contain the release compile flags.

$RelFinalTarget

Gets resolved to the relative path name of the Final Target.

$RelTarget

Gets resolved to the relative path name to the Intermediate Target.

$RemoteMachine

Reserved  for future use. Resolves to "NONE".

$Script

Gets resolved to the Script Name associated to the Build Type for the current Target. 

$ScriptFooter

Gets resolved to a string that signifies the Finished Script message.

$ScriptHeader

Gets resolved to a string that signifies the Start Script message.

$ScriptName

Gets resolved to the name of the Script.

$SearchPathName

Gets resolved to the Search Path from the Build Control file.

$SubmitPDS

PDS that contains the JCL for the compile and link edits.

$Target

Gets resolved to the Target Name.

$TargetAsDep

Gets resolved to the fully qualified path of the Target if it exists in the Search Path.  The value will be "" if the Target does not exist in the Search Path

$TargetDeps

Gets resolved to a list of the Target's immediate dependencies. This variable is space separated string.

$TargetRelDeps

Gets resolved to a list of files for all the relative paths for the specific Target being built.  This variable is space separated string.

$TargetSrcDeps

Target's scanned source code dependencies.

$TargetsThatAreTargetDeps

Target that are dependencies as well as targets themselves.

$TempFile

Gets resolved to the name of the temporary member name for the JCL.

$TotalSteps 

Gets resolved to the total number of Targets that are determined by counting the Targets listed in the "ALL" label of the generated Build Control file.

$UserId

Gets resolved to the User ID of the person executing the build. Used in Foot Printing and Build Audit Reporting.

$ValidDatasetVPath

$ValidDatasetVPath will contain an expanded Search Path of existing PDS names. The expanded Search Path is derived from the combination of extensions in the scanner.ini and the Search Path entries.

For example:
Search Path = //USER1.SOURCE;//USER1.DOES.NOT.EXIST
scanner.ini contains .cobol and .copylib


then
$ValidDatasetVPath would equal //'USER1.SOURCE.COBOL';//'USER1.SOURCE.H';

if USER1.SOURCE.COBOL and USER1.SOURCE.H exist as valid PDSes.

This variable is space separated string.

$VPath

Gets resolved to the Expanded Search Path listed at the top of the generated Build Control file. This variable is space separated string.

$XmlBuildLog

XML build log PDS name.