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
 

 

Can IDCAMS utility empty a PS?

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

New User


Joined: 08 Jun 2006
Posts: 45
Location: Trumbull, CT

PostPosted: Thu Apr 30, 2009 8:05 am    Post subject: Can IDCAMS utility empty a PS?
Reply with quote

Hi,

I have seen in our JCL where a file will be deleted by the following SYSIN while using PGM=IDCAMS

DELETE N5046.TESTING.TESTING SCRATCH NONVSAM


Can we use IDCAMS to empty the contents of the above file instead of deleting it?
Back to top
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7996
Location: Bellevue, IA

PostPosted: Thu Apr 30, 2009 8:08 am    Post subject:
Reply with quote

REPRO from a DD DUMMY to the sequential file.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Apr 30, 2009 8:09 am    Post subject:
Reply with quote

Hi,

the answer is yes, just REPRO a DUMMY file into the FILE you want emptied.


Gerry
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Thu Apr 30, 2009 8:10 am    Post subject:
Reply with quote

Robert, you are too quick


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

Global Moderator


Joined: 06 Jun 2008
Posts: 7996
Location: Bellevue, IA

PostPosted: Thu Apr 30, 2009 4:58 pm    Post subject:
Reply with quote

Quote:
Robert, you are too quick
Gerry
That's not what my wife tells me ..... icon_smile.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Thu Apr 30, 2009 5:01 pm    Post subject:
Reply with quote

Robert Sample wrote:
Quote:
Robert, you are too quick
Gerry
That's not what my wife tells me ..... icon_smile.gif

What do you mean "How was it for you ?" icon_lol.gif icon_lol.gif icon_lol.gif
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri May 01, 2009 4:53 am    Post subject:
Reply with quote

Hi Robert,

Quote:
That's not what my wife tells me .....



Just dream on icon_lol.gif


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

Global Moderator


Joined: 06 Jun 2008
Posts: 7996
Location: Bellevue, IA

PostPosted: Fri May 01, 2009 5:57 am    Post subject:
Reply with quote

What can I say? Practice makes perfect. icon_biggrin.gif
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 TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm
No new posts Any docs / links for isub- cobol comp... SRICOBSAS COBOL Programming 4 Fri Aug 26, 2016 2:35 pm


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