to pass JCL-variable to indata stream

Unicenter CA-Easytrieve Plus Report Generator: CA's information retrieval and data management tool
shul3
Posts: 1
Joined: Thu Feb 27, 2020 7:07 pm
Skillset: JCL,easytrieve,Cobol,DB2
Referer: google search

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

User avatar
sergeyken
Posts: 458
Joined: Wed Jul 24, 2019 10:12 pm
Skillset: Assembler, JCL, Utilities, PL/I, C/C++, DB2, SQL, REXX, COBOL, etc. etc. etc.
Referer: Internet search

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.


  • Similar Topics
    Replies
    Views
    Last post