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

How to delete migrated datasets


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

New User


Joined: 21 Dec 2006
Posts: 2
Location: India

PostPosted: Mon Feb 25, 2008 3:18 pm
Reply with quote

Hi,

I've bunch of GDG generations, which are migrated & needs to be deleted.
I am trying to delete them using PGM=IKJEFT01 & HDELETE command.

//STEP001 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
HDELETE 'XXX.YYY.ZZZ.BKUP.G0001V00'
HDELETE 'XXX.YYY.ZZZ.BKUP.G0002V00'
HDELETE 'XXX.YYY.ZZZ.BKUP.G0003V00'
HDELETE 'XXX.YYY.ZZZ.BKUP.G0004V00'
HDELETE 'XXX.YYY.ZZZ.BKUP.G0005V00'
/*
//

But, it isn't working & Spool shows error message -
ARC1001I XXX.YYY.ZZZ.BKUP.G0001V00 DELETE FAILED, RC=0039,
ARC1001I (CONT.) REAS=0008
ARC1139I ERROR PROCESSING RACF PROTECTED DATA SET, RECOVERY/RECALL/DELETE
ARC1139I (CONT.) TERMINATED

Can someone help with info what exactly is been missed out? Is that authorization issue?

Thanks,
RSA
Back to top
View user's profile Send private message
Srinivasa Rao

New User


Joined: 21 Jun 2005
Posts: 75

PostPosted: Mon Feb 25, 2008 3:30 pm
Reply with quote

It seems you are trying to delete a dataset which don't have RACF profile or you are not authorized to perform the request.

Pls contact your security team to help in deleting the unauthorized datasets.
Back to top
View user's profile Send private message
damuonmail

New User


Joined: 07 Mar 2005
Posts: 12

PostPosted: Thu Feb 28, 2008 1:08 am
Reply with quote

I agree. your mainframe ID would not have an access for those files. (HLQ). I think those are production files. If you really want to delete them use EMER id(In most of the organizations they will have EMER id which would have access to production files). Check with youe project mates.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Feb 28, 2008 1:27 am
Reply with quote

The wisest thing to do is to get in touch with the storage support and have them do it


/security consideration on
The EMER user id is just a local unsafe implementation,
in a proper environment the EMERGENCY racf userids are kept in a safe in a sealed envelope,
and it takes the person legally responsible of the company security to get them and give them
to the person responsible for RACF administration during an emergency
/security consideration off
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Thu Feb 28, 2008 12:49 pm
Reply with quote

As long as you have a valid reason for deleting the datasets I can see no reason why the storage group can not do this for you.

However, for deleting production datasets I usually make sure that a backup exists, and will not action any request unless given in writing or email. ( CMA culture rules OK - icon_biggrin.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 DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts How Can I Recall a Migrated Data Set ... PL/I & Assembler 3
Search our Forums:

Back to Top