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

Dataset deleted without my notice


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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.

www.ibmmainframes.com/about4945.html
ibmmainframes.com/viewtopic.php?t=3831
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

Moderator Emeritus


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

PostPosted: Mon Dec 22, 2008 12:58 pm
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

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Mon Dec 22, 2008 2:24 pm
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: 1702
Location: Australia

PostPosted: Tue Dec 23, 2008 6:47 am
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
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

Superior Member


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

PostPosted: Tue Dec 23, 2008 4:49 pm
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
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

Superior Member


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

PostPosted: Tue Dec 23, 2008 7:54 pm
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

Moderator Emeritus


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

PostPosted: Tue Dec 23, 2008 8:16 pm
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

Global Moderator


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

PostPosted: Tue Dec 23, 2008 8:23 pm
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

Superior Member


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

PostPosted: Tue Dec 23, 2008 8:23 pm
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

Superior Member


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

PostPosted: Tue Dec 23, 2008 8:31 pm
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: 8797
Location: Welsh Wales

PostPosted: Tue Dec 23, 2008 8:44 pm
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

Superior Member


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

PostPosted: Tue Dec 23, 2008 8:51 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top