Basically, running Easytrieve 6.4 in batch, I want to have SMS determine SYSPRINT block size by using BLOCK0=P in the Options Table (EZTPOPT).
JCL override is *not* an option.
I have followed the instructions at http://www.ca.com/us/support/ca-support ... 49451.aspx ("Create a Second Options Table") to the letter and that part worked fine.
Now I need to know how to bring this "second options table" to bear on my batch job.
I assume some sort of DD statement is needed, referring to the loadlib with the options table?
I've searched the 'net and haven't found any sample JCL to run with a "second options table" so I thought I'd ask here.
My knowledge of z/OS and Assembler is pretty good, but I have to admit I'm a noob when it comes to Easytrieve - not my favorite language, by any means.
V6.4: Created a "Second Options Table", Now How Do I Use It?
-
- Global moderator
- Posts: 3805
- Joined: Tue Jan 25, 2011 12:02 am
- Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
- Referer: Google
Re: V6.4: Created a "Second Options Table", Now How Do I Use
Do you already have a STEPLIB/JOBLIB with a DD for where Easytrieve Plus resides? You'll probably find the options table there, and be able to concatenate your library prior to that.
If you don't have already, include a STEPLIB/JOBLIB, and your library with the options table earlier than the library with the default options table in it.
If you don't have already, include a STEPLIB/JOBLIB, and your library with the options table earlier than the library with the default options table in it.
-
- Posts: 7
- Joined: Thu Feb 18, 2016 10:21 pm
- Skillset: MVS
JCL
Assembler
COBOL
VSAM
CICS - Referer: Google Search
Re: V6.4: Created a "Second Options Table", Now How Do I Use
The Easytrieve 6.4 Load Library is STEPLIB+1 in the concatenation, just below my load library, which has just my simple test program and the EZTPOPT module I recompiled.
However, I still get the same results: SYSPRINT LRECL and BLKSIZE both 133.
Now I'm wondering the EZTPOPT module gets factored in at run time or compile time?
I see literals in my test load module for "OPTTBL" and "OPTT"...
However, I still get the same results: SYSPRINT LRECL and BLKSIZE both 133.
Now I'm wondering the EZTPOPT module gets factored in at run time or compile time?
I see literals in my test load module for "OPTTBL" and "OPTT"...
-
- Global moderator
- Posts: 3805
- Joined: Tue Jan 25, 2011 12:02 am
- Skillset: Easytrieve Plus, Cobol, Utilities, that sort of stuff
- Referer: Google
Re: V6.4: Created a "Second Options Table", Now How Do I Use
Difficult without having access to Easytrieve Plus 
I would check for any aliases involving that particular module.
I'd try to copy the library to one of my own, from which I could safely delete members to expect an S806 to confirm that it is being loaded.
Stuff like that.
I've never done this, but I know it has been done. I would be surprised if the behaviour for the compile-and-link was not the same, but I can't confirm that.

I would check for any aliases involving that particular module.
I'd try to copy the library to one of my own, from which I could safely delete members to expect an S806 to confirm that it is being loaded.
Stuff like that.
I've never done this, but I know it has been done. I would be surprised if the behaviour for the compile-and-link was not the same, but I can't confirm that.
-
- Posts: 7
- Joined: Thu Feb 18, 2016 10:21 pm
- Skillset: MVS
JCL
Assembler
COBOL
VSAM
CICS - Referer: Google Search
Re: V6.4: Created a "Second Options Table", Now How Do I Use
"... copy the library to one of my own ... safely delete members to expect an S806 to confirm that it is being loaded"
Bingo! That got it. S806 on EZTPOPT at runtime and when I put my version in a higher library I can see the changes with and without it.
So, the "How Do I Use a Second Options Table" question is resolved.
Thanks!
It still seems to only affect Printer outputs other than SYSPRINT, but at least now I know this approach appears to be a dead end for trying to achieve the original objective, which is to force SYSPRINT BLKSIZE=0 without a JCL override.
Bingo! That got it. S806 on EZTPOPT at runtime and when I put my version in a higher library I can see the changes with and without it.
So, the "How Do I Use a Second Options Table" question is resolved.
Thanks!
It still seems to only affect Printer outputs other than SYSPRINT, but at least now I know this approach appears to be a dead end for trying to achieve the original objective, which is to force SYSPRINT BLKSIZE=0 without a JCL override.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 2
- 2743
-
by willy jensen
View the latest post
Sat Mar 04, 2023 12:41 pm
-
- 24
- 4691
-
by Pedro
View the latest post
Wed Jan 04, 2023 5:59 am
-
-
Can i read output file created after SORTing in the same pgm
by savitha_y » Sat Feb 06, 2021 1:17 am » in IBM Cobol - 4
- 1615
-
by savitha_y
View the latest post
Tue Feb 09, 2021 7:11 pm
-
-
- 0
- 3055
-
by dylson
View the latest post
Sat Aug 01, 2020 11:09 pm
-
- 5
- 2725
-
by sergeyken
View the latest post
Thu Feb 25, 2021 8:19 pm