View previous topic :: View next topic
|
Author |
Message |
jainy_rajnish
New User
Joined: 21 Dec 2005 Posts: 3
|
|
|
|
Hi,
I am using IEFBR14 to delete the dataset but getting below error:
IGD17105I CATALOG ERROR WHILE DELETING DATA SET
RETURN CODE IS 84 REASON CODE IS 0 IGG0CLFK
When I checked explanation of RC84, it advised me to use purge option as file is created with expiration date.
Can anyone advise using purge option with IEFBR14?
My step is as below:
//SAE771A5 EXEC PGM=IEFBR14
//SYSPRINT DD SYSOUT=S
//DD01 DD DSN=FD886883.TEMP,
// DISP=(OLD,DELETE,DELETE)
Thanks. |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Hello
I don't know of anyway to 'purge' with IEFBR14
You can try IDCAMS though
Code: |
//PURGE100 EXEC PGM=IDCAMS
//SYSPRINT DD DUMMY
//SYSIN DD *
DELETE 'YOUR.PS.W.EXPIREDT' PURGE
|
|
|
Back to top |
|
|
jainy_rajnish
New User
Joined: 21 Dec 2005 Posts: 3
|
|
|
|
Hi Dave,
Thanks for the reply. I know I can use IDCAMS but just wanted to know if we can purge using IEFBR14.
Rajnish |
|
Back to top |
|
|
jinal_mca
New User
Joined: 05 Jan 2007 Posts: 22 Location: Pune, India
|
|
|
|
i m sure that purge option can be used with idcams utility only so try tht with it only
cya |
|
Back to top |
|
|
Bitneuker
CICS Moderator
Joined: 07 Nov 2005 Posts: 1104 Location: The Netherlands at Hole 19
|
|
|
|
For IEFBR14 in order to avoid catalog error messages:
Code: |
DISP=(MOD,DELETE,DELETE),
SPACE=(TRK,0) |
If the dataset doesn't exist it will be created and deleted immediately. |
|
Back to top |
|
|
jainy_rajnish
New User
Joined: 21 Dec 2005 Posts: 3
|
|
|
|
George,
File is already catalogued so this will not work.
Thanks all.
I am finally using IDCAMS.
Rajnish |
|
Back to top |
|
|
|