View previous topic :: View next topic
|
Author |
Message |
rsa
New User
Joined: 21 Dec 2006 Posts: 2 Location: India
|
|
|
|
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 |
|
|
Srinivasa Rao
New User
Joined: 21 Jun 2005 Posts: 75
|
|
|
|
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 |
|
|
damuonmail
New User
Joined: 07 Mar 2005 Posts: 12
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 - ) |
|
Back to top |
|
|
|