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
 

 

How to delete migrated datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to delete migrated datasets
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    Post subject:
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    Post subject: Reply to: How to delete migrated datasets
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Feb 28, 2008 1:27 am    Post subject: Reply to: How to delete migrated datasets
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: 8593
Location: Back in jolly old England

PostPosted: Thu Feb 28, 2008 12:49 pm    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm


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