Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Expiration Date allocation of DataSet using JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Expiration Date allocation of DataSet using JCL
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: 7996
Location: Bellevue, IA

PostPosted: Fri Jun 18, 2010 8:31 pm    Post subject:
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

Site Director


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

PostPosted: Fri Jun 18, 2010 8:54 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Sat Jun 19, 2010 11:46 am    Post subject:
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 User


Joined: 31 Dec 2009
Posts: 440
Location: London

PostPosted: Tue Jun 29, 2010 8:31 pm    Post subject:
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    Post subject: Reply to: Expiration Date allocation of DataSet using JCL
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    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 Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Date and time format in CICS Chandru3183 CICS 2 Sat Mar 18, 2017 12:46 pm
No new posts How to get current date -1 and curren... murali.andaluri DFSORT/ICETOOL 3 Wed Mar 08, 2017 2:09 pm
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us