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
 

 

Dataset deleted without my notice

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
km_abdullah

New User


Joined: 03 Nov 2008
Posts: 60

PostPosted: Mon Dec 22, 2008 12:14 pm    Post subject: Dataset deleted without my notice
Reply with quote

Hi,

This could be strange but it happened for the 3rd time for me!!!
My datasets(PS/PDS) are getting deleted without my control. It has a highlevel qualifier with my user id so i believe other users cannot delete it.

Previous two times was a PS file and in JCL i have given the DISP as SHR.
The latest one was a PDS which has some PL/I programs which i created last week and used it till Friday(around 3 days). But to my surprise this morning it disappeared. I tried the recovery option but i get 'BACKUP/DUMP COPY DOES NOT EXIST' message.

I have seen previous posts regarding deletion / recovery but couldn't understand the reason for automatic deletion.

http://www.ibmmainframes.com/about4945.html
http://ibmmainframes.com/viewtopic.php?t=3831
http://www.ibmmainframes.com/about17062.html

Just wanted to know if it is really possible or am i missing anything obvious?
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: Mon Dec 22, 2008 12:58 pm    Post subject:
Reply with quote

Hello,

Suggest you talk with your storage administrators. It may have happened that your datasets are created in a storage class that is "cleaned out" periodically (like over the weekend).

Talk with the storage people about how the DATACLAS should be used for your datasets.

If there is still a problem or question after talkinmg with the storage admins, post back here.
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 988
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Mon Dec 22, 2008 2:24 pm    Post subject:
Reply with quote

Hello,

Suggest also you review any jobs you are submitting for accidental DISP=(OLD,DELETE). I saw similar where user modified JCL for temp dataset to reference own PS/PDS and lost the PS/PDS each time the job ran.

Garry.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Tue Dec 23, 2008 6:47 am    Post subject:
Reply with quote

Hi,

check SMF to find out the culprit.



Gerry
Back to top
View user's profile Send private message
abhishek dadhichi

New User


Joined: 19 Apr 2007
Posts: 37
Location: Bangalore

PostPosted: Tue Dec 23, 2008 9:22 am    Post subject:
Reply with quote

Hi Abdullah,

Most of the time its in routine that the sequential datasets are deleted after few days by the storage people.So, please check with them.





Thanks,
Abhishek
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Dec 23, 2008 4:49 pm    Post subject:
Reply with quote

Hi,

This also depends on what Management Class (MGMTCLAS) does the DSNs have. Just to be ensure, create a brand new DSN, in ISPF 3.4 issue an "I" or "S" on the DSN to know the current MGMTCLAS of that DSN. Verify what retention period is allowed to that MGMTCLAS class at your site. Usually, across sites MGMTCLAS can not be overidden, however 'am over it.. icon_smile.gif

Once in production I've created a DSN (it was an "unload" of a table) with MGMTCLAS=TPS035 (this MGMTCLAS is specific to my site) which is meant for retention period of 35 days, but in prodution it was deleted in 3 days, while same work in "Test Region" for 35 days... icon_neutral.gif, check if such idiots are there at your end also..
Back to top
View user's profile Send private message
km_abdullah

New User


Joined: 03 Nov 2008
Posts: 60

PostPosted: Tue Dec 23, 2008 5:37 pm    Post subject:
Reply with quote

Hi all,

Now i too believe that i should have created my datasets under some management class which is periodically 'cleaned' out. I checked with my local technical adviser and he too was of the same opinion. I investigated my old datasets(created in the last 4 months) and all have the same management class.

Moreover my adviser also states that in our shop, management and storage class depends on the dataset name. If the second qualifier is 'xxx' then it sits in some volume and there is a list of such rules maintained. Hence i am convinced that my dataset is deleted because it resided in a temporary volume.

Thanks all for your effort, time and valuable inputs. Happy to know the reason behind dataset disappearance!
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Dec 23, 2008 7:54 pm    Post subject:
Reply with quote

Hi,

Great, so do they allow you to choose the MGMTCLAS of your choice?
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: Tue Dec 23, 2008 8:16 pm    Post subject: Reply to: Dataset deleted without my notice
Reply with quote

Hi Anuj,

Quote:
Great, so do they allow you to choose the MGMTCLAS of your choice?
Often people work with data with different retention requirements, so they use multiple MGMTCLAS / DATACLAS specifications as appropriate.

Welcome back icon_exclaim.gif

d
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Tue Dec 23, 2008 8:23 pm    Post subject: Reply to: Dataset deleted without my notice
Reply with quote

My experience has been that most shops delete datasets where the HLQ is the same as the userid quite regularly, even sometimes daily, with no backups.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Dec 23, 2008 8:23 pm    Post subject:
Reply with quote

Hi Dick,

At many sites, one cannot override management class attributes via JCL parameters. Though, with SMS, MGMTCLAS overrides the attributes defined in the DATACLAS parameter for the data set but if ACS is tailored correctly, an ACS routine can override the management class that one specify on the MGMTCLAS parameter... I was just curious..ill effect of coming "back".. you know..icon_wink.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Dec 23, 2008 8:31 pm    Post subject: Re: Reply to: Dataset deleted without my notice
Reply with quote

superk wrote:
My experience has been that most shops delete datasets where the HLQ is the same as the userid quite regularly, even sometimes daily, with no backups.
At my site, infact, I've my RACF ID as an HLQ for all the personal PDSs. May be idea coined out to protect them from others. They (Storage Guys) usually migrate it before deleteing any one of them. Over this, I can even change the MGMTCLAS of them as well.
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: Tue Dec 23, 2008 8:44 pm    Post subject:
Reply with quote

Anuj D. wrote:

At many sites, one cannot override management class attributes via JCL parameters.

And a damned good job if you ask me. When I set up ACS routines, only authorised persons may override MGMTCLAS parameters. All others must submit a request to me to ask for a change of MGMTCLAS and supply a good reason why they need this.
How dare they want to change MY rules icon_evil.gif

Quote:
Though, with SMS, MGMTCLAS overrides the attributes defined in the DATACLAS parameter for the data set but if ACS is tailored correctly, an ACS routine can override the management class that one specify on the MGMTCLAS parameter

DATACLAS and MGMTCLAS are independant entities and specify totally different attributes to a dataset. DATACLAS is for physical attributes, and MGMTCLAS defines the 'Management' of the data by the ILM software, e.g. HSM, FDR/ABR

As stated above, yes, the ACS will reign supreme if correctly configured.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Tue Dec 23, 2008 8:51 pm    Post subject:
Reply with quote

And Finally the BIG B entered..we are talking about MGMTCLAS/DATACLAS and Expat doesn't have any post so far..not acceptable.. icon_smile.gif. Was waiting for your comments.. icon_smile.gif
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 FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm
No new posts Allocate dataset withour BLKSIZE Susanta CLIST & REXX 2 Thu Sep 22, 2016 11:51 am
No new posts dataset copy question - REPRO or some... atulxp TSO/ISPF 2 Wed Aug 03, 2016 10:56 pm
No new posts FTOPEN TEMP is failing due to dataset... mbenaud TSO/ISPF 7 Thu Jul 28, 2016 4:28 pm


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