Thanks Kurt.
<variable name="ZOS" scope="instance" visibility="public">
<label>ZOS</label>
<abstract>ZOS RELEASE FOR CSI</abstract>
<description>THis is the csi ZOS release variable. ZOSVXXX</description>
<category>General</category>
<string valueMustBeChoice="false" multiLine="false">
<minLength>7</minLength>
<maxLength>7</maxLength>
</string>
</variable>
<template>
<inlineTemplate substitution="true">//*
/*JOBPARM SYSAFF=*
// SET ZOS=${instance-ZOS}
//* ACCEPT RSU MAINT TO THE D100 (Z/OS + COMPONENTS) ZONE.
//*
//* <<PRE-REQ>>
//* - VERIFY THE DLIB ZONE BELOW.
//*
//ACCEPT EXEC PGM=GIMSMP,REGION=0M
//SMPCSI DD DISP=SHR,DSN=SMPE.&&ZOS..GLOBAL.CSI
//SMPLOG DD DUMMY
//SMPOUT DD SYSOUT=*
//SMPRPT DD SYSOUT=*
//SMPLIST DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD UNIT=SYSALLDA,SPACE=(CYL,(100,50))
//SYSUT2 DD UNIT=SYSALLDA,SPACE=(CYL,(100,50))
</inlineTemplate>
<submitAs maxRc="0">JCL</submitAs>
</template>
</step>
</workflow>
This is what I have and it is not working
Original Message:
Sent: 7/5/2023 9:47:00 AM
From: Kurt Quackenbush
Subject: RE: Z/OSMF Variables to substiture in JCL
Without seeing your workflow definition file, it could be any number of issues. For starters, did you specify substitution="true" on the <inlineTemplate> tag? Like this:
<template>
<inlineTemplate substitution="true">
...
//DDNAME DD DISP=SHR,DSN=${instance-dsnamevar}
...
</inlineTemplate>
<submitAs>JCL</submitAs>
</template>
------------------------------
Kurt Quackenbush
IBM, z/OS SMP/E and z/OSMF Software Management
kurtq@us.ibm.com
------------------------------
Original Message:
Sent: Mon July 03, 2023 06:32 PM
From: Scott Fashimpaur
Subject: Z/OSMF Variables to substiture in JCL
I am having issues in creating a workflow to override JCL with variables. I have tried $Instance-Variable1 and I have set it but never updates the jcl. What am i doing incorrect?
------------------------------
Scott Fashimpaur
------------------------------