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
 

 

IDCAMS Delete command

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ihatesugar
Warnings : 1

New User


Joined: 22 Oct 2006
Posts: 43

PostPosted: Mon Nov 05, 2007 2:02 pm    Post subject: IDCAMS Delete command
Reply with quote

Hi All,

When i issue a delete command using IDCAMS, even if the dataset is migrated it is deleted instantly and if i try to use IEFBR14 and delete a Dataset by using the DISP=(MOD,DELETE,DELETE), it takes longer as it will recall the dataset and then delete it.

Please help me to know the difference between the two. Is there any difference in this delete process. How does IDCAMS delete the dataset withut recalling.
Back to top
View user's profile Send private message

ihatesugar
Warnings : 1

New User


Joined: 22 Oct 2006
Posts: 43

PostPosted: Mon Nov 05, 2007 3:20 pm    Post subject: Reply to: IDCAMS Delete command
Reply with quote

Thanks for the response Murali.

Had a look at the Spool > it says
IDC0896I IDC0896I MIGRATED ENTRY (dataset-name) DELETED
IDC0001I FUNCTION COMPLETED, HIGHEST CONDITION CODE WAS 0

not sure how to interpret it. Please let me know what do we infer from this.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Mon Nov 05, 2007 3:23 pm    Post subject:
Reply with quote

Verify the source in QW/manual for IDC*. Then try to get more info on the source..... you will understand.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Mon Nov 05, 2007 3:28 pm    Post subject: Reply to: IDCAMS Delete command
Reply with quote

Quote:
Verify the source in QW/manual for IDC*. Then try to get more info on the source..... you will understand.


Murali, remember, not everybody has quickview installed

giving installation dependent samples will generate useless traffic :-)

but...

If I remember correctly in many cases, ( with or without user confirmation )
a DELETE will be converted to an HDELETE..

the difference the between the two cases in the O/P is
that since there is no dd for the dataset
idcams will not go thru jcl allocation ( so no recall )
a iefbr14 step will have a dd for the dataset,
JCL will make thins happen and recall...
Back to top
View user's profile Send private message
rsa

New User


Joined: 21 Dec 2006
Posts: 2
Location: India

PostPosted: Fri Nov 30, 2007 5:32 am    Post subject: Reply to: IDCAMS Delete command
Reply with quote

Hi Folks,

This works......

//STEP001 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
HDELETE 'XXXX.YYYY.ZZZZ.G0001V00'
HDELETE 'XXXX.YYYY.ZZZZ.G0002V00'
/*
//

This deletes the GDG's & Datasets migrated.

Let me know if you come across any issues.

Thanks,

RSA.
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 TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm
No new posts Customizing the ISPF HILITE Command Pedro TSO/ISPF 3 Fri Mar 03, 2017 11:49 pm
No new posts Fail to change physical VSAM filename... jacobdng CICS 7 Fri Jan 20, 2017 12:36 pm
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm


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