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

Expiration Date allocation of DataSet using JCL


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

New User


Joined: 06 May 2010
Posts: 2
Location: Hyderabad India

PostPosted: Fri Jun 18, 2010 7:45 pm
Reply with quote

I would like to know how I can set the Expiration date and the password, while allocation of dataset using JCL (Not ISPF menu options)
Kindly provide the Code segment.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Jun 18, 2010 8:31 pm
Reply with quote

Contact your site support group. Many sites prohibit use of passwords and expiration dates on data sets (except for tape expiration dates -- and since you did not specify you are talking about tapes, we won't assume that you are). If you attempt to do something prohibited at your site, the consequences are yours.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jun 18, 2010 8:54 pm
Reply with quote

Hello and welcome to the forum,

Most organizations do not allow passwords on mainframe datasets. . .

Why do you believe you need more than the standard system security. . .?
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Sat Jun 19, 2010 11:46 am
Reply with quote

And if your storage team are anywhere near half decent then code whatever you like but the ACS routines / TMS rules will override anything that you try to change.

The password - this stops me having to share my secret code with anyone else, just in case I do something better / illegal and then no one else will be able to know how I did it.

Also, password protected datasets are usually picked up on by the ILM software, such as HSM, and what I usually do with password protected datasets is to zap the VTOC to remove the password protection, delete the dataset and any associated backups, and just sit back and laugh when the ex owner complains.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 582
Location: London

PostPosted: Tue Jun 29, 2010 8:31 pm
Reply with quote

EXPDT/RETPD is usally prevented by the SMS Mgmtclas settings (to prevent bad practice), but can be specified on JCL, although there are 'special' values used by tape management subsystems so you should check with your Storage people before using them to avoid 'disappointment'.

// EDPDT=yyyy/nnnn
or...
// RETPD=nnnn

or they can be ALTER'd using IDCAMS

If a file is worth protecting then RACF or equivalent should be used unless you're doing something 'illicit'?
Back to top
View user's profile Send private message
Ashish Gautam

New User


Joined: 06 May 2010
Posts: 2
Location: Hyderabad India

PostPosted: Wed Jun 30, 2010 12:20 am
Reply with quote

icon_smile.gif Thank u all........
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 Replacing 'YYMMDD' with date, varying... SYNCSORT 3
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
Search our Forums:

Back to Top