On Thu, 3 Jul 2008 02:20:08 -0500 Al Chu <[EMAIL PROTECTED]> wrote:

:>I am not a sysprog nor an expert. 
:>I want to read a dataset(seq) which is created by JCL DISP=(NEW,) of a long 
:>running job while the job is running. When i try to browse the dataset using 
:>ISPF, I have 'dataset in use' msg.
:>I tried to rename the dataset using IDCAMS ALTER in the next step after the 
:>creation step and tried to read the renamed dataset, but still no good.
:>The last step is the long running step which writes some records in the 
:>dataset.

:>Is it possible? am i wasting time?

It is possible, but will take some work.

If it is acceptable to just read the records that have been firmed to dasd,
you can write an APF program to read the DSCB and build a DEB that maps it.
Then you can use QSAM, but expect possible I/O errors at the end.

If you need to see records that are still in storage you will need to SRB
over.

Whether or not it is "wasting time" is a matter of opinion.

If you want to read in between, where you attempted the rename, you can copy
it instead and see the records from the first step.

--
Binyamin Dissen <[EMAIL PROTECTED]>
http://www.dissensoftware.com

Director, Dissen Software, Bar & Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

----------------------------------------------------------------------
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

Reply via email to