Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Using ADRDSSU to delete files

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Using ADRDSSU to delete files
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Apr 14, 2009 3:13 am    Post subject:
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    Post subject: Reply to: Using ADRDSSU to delete files
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    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
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Comparing 2 Files using Current time arunsoods SYNCSORT 9 Fri Sep 22, 2017 6:00 pm
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Join records from 2 files with No Dup... Poha Eater DFSORT/ICETOOL 22 Sun Aug 27, 2017 10:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us