SMF enreg and deleting datasets



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

SMF enreg and deleting datasets

Postby samb01 » Wed Jun 01, 2016 8:26 pm

Hello,

i would like to know what are the enreg's type of deleting datasets to catalog by a user.

Because we have several datasets (non VSAM) deleted a week ago.

Thank's for your help.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: SMF enreg and deleting datasets

Postby Robert Sample » Wed Jun 01, 2016 8:38 pm

What is "enreg"? SMF record types 17 and 18 may be generated for deleting / renaming a non-VSAM data set; as always, your site may -- or may not -- capture these record types.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: SMF enreg and deleting datasets

Postby willy jensen » Thu Jun 02, 2016 1:18 pm

Or SMF type 65 'ICF Delete activity'
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Re: SMF enreg and deleting datasets

Postby samb01 » Thu Jun 02, 2016 1:53 pm

Thank you, i 'm going to try to extract these record type.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: SMF enreg and deleting datasets

Postby enrico-sorichetti » Thu Jun 02, 2016 5:26 pm

we are still curious about the meaning of
enreg
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: SMF enreg and deleting datasets

Postby samb01 » Thu Jun 02, 2016 5:53 pm

Hello, sorry for my english. In french, enreg means enregistrements. I think the english word is line of a dataset.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: SMF enreg and deleting datasets

Postby enrico-sorichetti » Thu Jun 02, 2016 6:32 pm

if You had written the full word enregistrements
I would have not asked

Je suis désolé, j'avais complètement oublié que tu es Francais ;)
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: SMF enreg and deleting datasets

Postby samb01 » Thu Jun 02, 2016 8:59 pm

Record Type : 65 : Does it work if it's a user who has deleted the dataset ?
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: SMF enreg and deleting datasets

Postby steve-myers » Fri Jun 03, 2016 12:24 am

From MVS System Management Facilities (SMF) for (presumably) your z/OS release -
Record type 65 is written during any processing that results in a DELETE request to Catalog management services, such as:

IDCAMS
DELETE
IEHPROGM
UNCATLG


It does not state this explicitly, though "any" implies JCL (e.g., DISP=(OLD,DELETE)) as well other agents like ISPF 3.2 or 3.4 that may delete a catalog entry.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: SMF enreg and deleting datasets

Postby willy jensen » Fri Jun 03, 2016 8:39 pm

SMF type 65 is really the uncatalog part of the delete process. In other words deleting a non-cataloged dataset will not create a type 65 - but it will create a type 17. And it doesn't matter who or what did the delete.
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post