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

Using ADRDSSU to delete files


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

New User


Joined: 21 Apr 2006
Posts: 14

PostPosted: Tue Apr 14, 2009 3:02 am
Reply with quote

I used the following code from a previously posted topic to delete files and it works file.

//STEP0001 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//JUNK DD DUMMY
//SYSIN DD *
DUMP DATASET(INCLUDE(HLQ.*)) -
OUTDD(JUNK) DELETE
/*

But in one case it did not delete a file. I wondering if any one can help me. The file I am trying to delete is a variable length file.

The message is 'DATA SET IN CATALOG WAS NOT DELETED, 30'

TASK COMPLETED WITH RETURN CODE 0008

I have tried to figure this out but I have had no success. What could be the reason ?

Thanks in advance.

S Vazifdar
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Tue Apr 14, 2009 3:13 am
Reply with quote

There's a reason IBM puts a 3-letter subsystem identifier followed by a 3 or 4 digit message number identified followed by a severity level on the front of each message. I searched the Messages and Codes manual for your error message and found 20 hits. Your problem is one of these:
Quote:
1. ADR869I, 3.2.508
2. ADR416E, 3.2.265
3. ADR431I, 3.2.280
4. ADR447I, 3.2.296
5. ADR965E, 3.2.583
6. ADR967W, 3.2.585
7. ADR966E, 3.2.584
8. ADR968W, 3.2.586
9. ADR402E, 3.2.251
10. ADR468E, 3.2.317
11. ADR493E, 3.2.342
12. ADR462E, 3.2.311
13. ADR878E, 3.2.517
14. ADR380E, 3.2.230
15. ADR472E, 3.2.321
16. ADR492E, 3.2.341
17. ADR497E, 3.2.346
18. ADR283W, 3.2.150
19. ADR764E, 3.2.422
20. ADR707E, 3.2.365
The detail of which one applies and what to do about it is best left to you since you've got the error message.
Back to top
View user's profile Send private message
SVazifdar

New User


Joined: 21 Apr 2006
Posts: 14

PostPosted: Tue Apr 14, 2009 7:58 am
Reply with quote

Thank you very much for responding.

I was able to find the description of the error code.

Thanks again.

S Vazifdar
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts Write line by line from two files DFSORT/ICETOOL 7
Search our Forums:

Back to Top