IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

simulatenously accessing dataset on TAPE


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
puneetvirmani143

New User


Joined: 24 Jul 2007
Posts: 55
Location: noida

PostPosted: Tue Oct 08, 2013 8:29 am
Reply with quote

Hi,

We have written a SORT using JOINKEY taking same file as input with DSNAMEs as DD1 and DD2 respectively. Using JOINKEY we are splitting the bigger file into several smaller files based on certain specific set of codes whether last 2 bytes contains A1, A2 or other etc.

Earlier this dataset was on DASD, so things were runing smooth.

Due to huge size of file (approx 20 million records) and LRECL=4546, it has been decided to have this file created on TAPE in the Step which runs just before the SORT using JOINKEY with following parameters.

EXPDT=1999/000,UNIT=VTS,VOL=(,RETAIN,,255)

However, the SORT job using JOINKEY is failing now stating error as "TAPE already mounted" may be because it is trying to read the TAPE single dataset under different DDnames DD1 and DD2 for using under JOINKEY

Is there any way to eradicate this issue ?

Regards
Puneet
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1702
Location: Australia

PostPosted: Tue Oct 08, 2013 10:12 am
Reply with quote

Hi,

create another copy of the file.


Gerry
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Deleting a Tape file JCL & VSAM 14
Search our Forums:

Back to Top