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

How to create a file on tape


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
softwareengineer

New User


Joined: 24 Aug 2005
Posts: 24
Location: Hyderabad

PostPosted: Tue Dec 13, 2005 3:38 pm
Reply with quote

Hi,

I wud like to create a file directly on tape. can anyone give me the jcl to create a file on tape.
I tried to do this like below:

//dd dsn= pdsname,
unit=ctape, vol=ser=XXXXX,
................

Please tell me how to create files..
Back to top
View user's profile Send private message
khaarthikm

New User


Joined: 08 Aug 2005
Posts: 15

PostPosted: Tue Dec 13, 2005 4:57 pm
Reply with quote

Hi,

This is intiallation dependent, pls check with your administator for the Unit Details

thanks
Khaarthik.M
Back to top
View user's profile Send private message
pandu

New User


Joined: 08 Dec 2005
Posts: 6
Location: pune

PostPosted: Wed Dec 14, 2005 12:03 pm
Reply with quote

hi,

please give what error you are getting?.

//dd dsn= pdsname,
unit=ctape, vol=ser=XXXXX,


in the above u gave unit =ctype ! what is CTAPE?
i hope it is TAPE.

//dd dsn= dataset name

and u have to give retention period (how many days u want this dataset on tap).

please let me know if i am wrong!

cheers
pandu
Back to top
View user's profile Send private message
prakash271082

New User


Joined: 09 Sep 2005
Posts: 53

PostPosted: Wed Dec 14, 2005 4:05 pm
Reply with quote

Hi,
As said by one of our friend, that is installation dependent. Check with your administrator for this.
And also there is no RETPD, coming into play for tape datasets. Tape dataset is available forever. You just need to mount it whenever necessary.
Back to top
View user's profile Send private message
pandu

New User


Joined: 08 Dec 2005
Posts: 6
Location: pune

PostPosted: Wed Dec 14, 2005 4:23 pm
Reply with quote

hi prakash,

i hope we need to give the RETPD option when we are creating data sets on TAPE in test environment. In test environment data sets on tape will delete based on time period



correct me if i am wrong.


cheers
Pandu
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top