Page 1 of 1

to pass JCL-variable to indata stream

PostPosted: Thu Feb 27, 2020 7:15 pm
by shul3
Hello,
How to pass JCL-variable to Easytrieve- variable via indata stream with SYMBOLS parameter like this example.
I get the error: "B027 NOT A VALID NAME". I tried all values (EXECSYS, CNVTSYS,JCLONLY) of SYMBOLS but I get the same error.
Example:

//SET2 SET AVSKTO='12345678901'
//SYSIN DD *,SYMBOLS=JCLONLY
*easytrieve code
W-KTO W 11 A
JOB INPUT INFIL
W-KTO = &AVSKTO.
*******B027 NOT A VALID NAME - &AVSKTO

Re: to pass JCL-variable to indata stream

PostPosted: Thu Feb 27, 2020 11:33 pm
by sergeyken
Search for:

Using symbols in JES2 in-stream data

// EXPORT SYMLIST=...

//SYSIN DD *,SYMBOLS=...