The problem seems to be that any reference to a data set in JCL with an
'exclusive' disposition (new, old, mod) will render the data set
inaccessible outside that job until it finishes. I haven't experimented,
but I would think that creating the data set dynamically would work. For
example, run a TSO TMP step
//CREATEDS EXEC PGM=IKJEFT1B
//SYSTSPRT DD SYSOUT=whatever
//SYSTSIN DD whatever
either with individual TSO commands (delete, allocate, etc.) or with a Rexx
containing those commands. I'm pretty sure that the data set will be
accessible because the job's initial TIOT will not have an entry for it.
.
.
JO.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler
SHARE MVS Program Co-Manager
626-302-7535 Office
323-715-0595 Mobile
[EMAIL PROTECTED]
al chu
<[EMAIL PROTECTED]
ET.COM.AU> To
Sent by: IBM [email protected]
Mainframe cc
Discussion List
<[EMAIL PROTECTED] Subject
.EDU> Re: want to read a dataset in use
07/08/2008 01:14
AM
Please respond to
IBM Mainframe
Discussion List
<[EMAIL PROTECTED]
.EDU>
Hi
Thanks everyone for the responses
I think I should have been more specific.
What I want to do is, to increase the dataset(QSAM) size. Records are
written to the dataset by the 3rd step (CICS).
The dataset is browsed by many programmers using ISPF while the job(CICS)
is
running, so I don't like to change the name.(The records browsed by ISPF
may
be missing some records due to buffer not flushed - it's acceptable)
I don't like to delete/define the dataset while CICS is down.
So I added some steps in front of the CICS step to delete and allocate with
larger size so that next CICS recycle can use the increased dataset with
the same dataset name. Obviously it didn't work with the message 'dataset
in
use' when tried to browse the dataset from ISPF.
Any suggestion? Thanks in advance.
Al
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html