Hi
In a ZOSMF workflow, how can we have temporary datasets within template JCL?
Please see extracted workflow statements below (not everything is here for simplicity). In this case, we need the variable VARY1 substituted, but we also have a temporary dataset in the inline JCL called &&TEMPDSN which is passed onto subsequent steps.
I cannot get ZOSMF to recognize this correctly and it always leads to an error. Maybe there's a way around this.
<variableValue name="VARY1" scope="instance" noPromptIfSet="false" required="true"/>
<template>
<inlineTemplate substitution="true">//*
//TOOL1 EXEC PGM=PROGRAM
//INPUT DD DISP=SHR,DSN=${instance-VARY1}
//PGMRPT DD DISP=(NEW,PASS),DSN=&&TEMPDSN.....
Many thanks
------------------------------
Ian Chappell
------------------------------