to pass JCL-variable to indata stream



Unicenter CA-Easytrieve Plus Report Generator: CA's information retrieval and data management tool

to pass JCL-variable to indata stream

Postby shul3 » Thu Feb 27, 2020 7:15 pm

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
shul3
 
Posts: 1
Joined: Thu Feb 27, 2020 7:07 pm
Has thanked: 1 time
Been thanked: 0 time

Re: to pass JCL-variable to indata stream

Postby sergeyken » Thu Feb 27, 2020 11:33 pm

Search for:

Using symbols in JES2 in-stream data

// EXPORT SYMLIST=...

//SYSIN DD *,SYMBOLS=...
Javas and Pythons come and go, but JCL and SORT stay forever.

These users thanked the author sergeyken for the post:
shul3 (Fri Feb 28, 2020 1:01 am)
User avatar
sergeyken
 
Posts: 426
Joined: Wed Jul 24, 2019 10:12 pm
Has thanked: 7 times
Been thanked: 40 times


Return to CA-Easytrieve

 


  • Related topics
    Replies
    Views
    Last post