View previous topic :: View next topic
|
Author |
Message |
midhun
New User
Joined: 23 Jul 2006 Posts: 3
|
|
|
|
Hi,
I have a requirement that I need to run two jobs at same time and two jobs require same Input file which is a Tape file.When I ran the two jobs,the first job is running and the other is in hold until the first gets over and releases the file.Even if I use DISP=SHR option ,there is no use.Please help me out to sort this issue. |
|
Back to top |
|
|
TizMe
New User
Joined: 05 Jan 2006 Posts: 72
|
|
|
|
Make a second copy of the tape. |
|
Back to top |
|
|
midhun
New User
Joined: 23 Jul 2006 Posts: 3
|
|
|
|
Can anybody send the JCL to copy the tape file to a disk,which runs successfully without a space abend.If it abends because of space please explain the procedure to sort the issue. |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Quote: |
Can anybody send the JCL to copy the tape file to a disk, |
You can use DFSORT's ICETOOL, IDCAMS REPRO, IEBGENER for this.
Search the forum for code... Here is one such topic discussed...
Quote: |
which runs successfully without a space abend |
It depends on number of input record. You'll have to code SPACE parameter appropriately for that.
Quote: |
If it abends because of space please explain the procedure to sort the issue. |
Increase SPACE parameter accordingly. |
|
Back to top |
|
|
hxmaba
New User
Joined: 11 Sep 2006 Posts: 2
|
|
|
|
SYSUT1 must be the tape file and SYSUT2 must be the new file which should be created on a disk.U need to get the DCB parameters from the JCL which creates the tape file and use the DCB parameters for the new file |
|
Back to top |
|
|
shankarravi1984 Warnings : 1 New User
Joined: 15 Sep 2006 Posts: 9 Location: pune
|
|
|
|
Code: |
hi midhum,
by default tape memory is private,so only one can access at a time,you can not override this,if it is wrong please correct me. |
|
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
Hi !
First, user IEBGENER to copy the Tape to Disk.
If the TapeFile is cataloged, then for DiskFile-DCB you can Refer to the
Tape-File-DCB usinf REF Parameter in DCB.
Regards, UmeySan |
|
Back to top |
|
|
|