Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to access a Tape file Simultaneously by two jobs.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
midhun

New User


Joined: 23 Jul 2006
Posts: 3

PostPosted: Sun Jul 23, 2006 1:58 pm    Post subject: How to access a Tape file Simultaneously by two jobs.
Reply with quote

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
View user's profile Send private message

TizMe

New User


Joined: 05 Jan 2006
Posts: 72

PostPosted: Wed Jul 26, 2006 12:27 pm    Post subject:
Reply with quote

Make a second copy of the tape.
Back to top
View user's profile Send private message
midhun

New User


Joined: 23 Jul 2006
Posts: 3

PostPosted: Sun Sep 17, 2006 12:01 am    Post subject: Re: How to access a Tape file Simultaneously by two jobs.
Reply with quote

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
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Sun Sep 17, 2006 12:19 am    Post subject: Re: How to access a Tape file Simultaneously by two jobs.
Reply with quote

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
View user's profile Send private message
hxmaba

New User


Joined: 11 Sep 2006
Posts: 2

PostPosted: Sun Sep 17, 2006 3:17 am    Post subject: Use IEBEGNER
Reply with quote

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
View user's profile Send private message
shankarravi1984
Warnings : 1

New User


Joined: 15 Sep 2006
Posts: 9
Location: pune

PostPosted: Wed Sep 20, 2006 6:57 pm    Post subject:
Reply with quote

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
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 757
Location: Germany

PostPosted: Wed Sep 20, 2006 7:30 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us