On Thu, 3 Aug 2023 19:21:27 +0000, David Spiegel wrote:
>
>My intention is to read a Job and make sure that all datasets are available, 
>but, the dsnames contain SET variables.
> 
By "read a Job" do you mean that JCL resides in a file or PDS member
and you want to read that JCL with EXECIO or linein() and identify
all data set names in equivalent JCL having substituted values in
its SET statements?

I doubt that you can do that without writing your own parser/interpreter.

But perhaps TYPRUN=HOLD and scan the JESJCL with the SDSF API.

-- 
gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to