​Apparently I threw in too many curves.

1) I have the CBT404 source.
2) I am looking at the program TSSOINI2.
3) This program dynamically allocate SYS1.PARMLIB and reads member TSSOPARM
using BPAM.
4) Nowhere in the program do I see an "End Of Data" address set. I.e. no
EODAD= on the DCB or moved into the DCBEODA field.
5) So, is it _required_ that TSSOPARM have and "END" command in it so that
you don't get an I/O error reading past end of file? That is, how does
TSSOINI2 know to stop reading since there is no "end of data" address to
branch to?

My plan is to remove the "hard coded" allocation of SYS1.PARMLIB with the
appropriate use of IEFPRMLB to allocate & free the "system PARMLIB
concatenation". I may also use IEFPRMLB to read the TSSOPARM (or other
member if specified on the START command) instead of using BPAM (that is,
remove the FIND , READ, and CHECK logic). IEFPRMLB looks like a really
fantastic way to read a short member of any FB/80 PDS or PDSE (I think)
library.​

​I may write a monograph on that.​


-- 
I have a theory that it's impossible to prove anything, but I can't prove
it.

Maranatha! <><
John McKown

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

Reply via email to