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

What is VOL=&ARCVOL?


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

New User


Joined: 14 May 2007
Posts: 2
Location: Noida

PostPosted: Fri Nov 02, 2007 1:05 pm
Reply with quote

Hi,

I want to archive files to tape for n number of years.

Could anybody please explain me the what does
UNIT=&TUNIT,VOL=&ARCVOL

where is ARCVOL='(,,,255)'.

Please elaborate!!

Thanks!
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri Nov 02, 2007 1:14 pm
Reply with quote

Cheshta,

From QW -
Quote:
VOLUME|VOL=({PRIVATE}{,RETAIN}{,vol seq #}{,vol count}


Go thru the manual for detailed explanation.
Back to top
View user's profile Send private message
cheshta_s

New User


Joined: 14 May 2007
Posts: 2
Location: Noida

PostPosted: Fri Nov 02, 2007 2:21 pm
Reply with quote

Thanks!!


Could You plz explain How to use Label=EXPDT ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Nov 02, 2007 4:10 pm
Reply with quote

Try this link - easily accesible from the manuals link at the top of each page.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/handheld/Connected/BOOKS/IEA1B640/CCONTENTS?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Nov 05, 2007 5:20 pm
Reply with quote

cheshta_s wrote:
Could You plz explain How to use Label=EXPDT ?


Hi,

Bit more for you:
EXPDT = Expiration Date In MVS, VM, and VSE servers, a device class attribute used to notify tape management systems of the date when ADSM no longer needs a tape volume. The date is placed in the tape label so that the tape management system does not overwrite the information on the tape volume before the expiration date.

Example 1
Code:
//DD7  DD  DSNAME=TOM1,DISP=(NEW,KEEP),EXPDT=2006/033,
//         UNIT=SYSDA,SPACE=(TRK,(1,1)),VOLUME=SER=663344


In the example, the data set is not eligible for being deleted or written over until February 2, 2006.

Example 2

Code:
//SMSDS2  DD  DSNAME=MYDS2.PGM,DATACLAS=DCLAS02,DISP=(NEW,KEEP),     
  //          EXPDT=1996/033                                           


In the example, the expiration date of February 2, 1996, overrides the expiration date defined in the data class for the data set.

Note: You cannot use the EXPDT parameter to change the expiration date of an existing SMS data set.

Hope this helps.
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

 


Search our Forums:

Back to Top