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 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of Al Chu Sent: Thursday, 3 July 2008 5:20 PM To: IBM-MAIN@BAMA.UA.EDU Subject: want to read a dataset in use Hi 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? 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 ---------------------------------------------------------------------- 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