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
 
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: 8214
Location: Dubuque, Iowa, USA

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: 8214
Location: Dubuque, Iowa, USA

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: 8631
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: 8214
Location: Dubuque, Iowa, USA

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 Utility for search operation Gopalakrishna551 TSO/ISPF 11 Wed Jan 03, 2018 11:07 am
No new posts Change NULL indicator in UNLOAD utility Khadhar Basha DB2 2 Fri Dec 15, 2017 3:01 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am
No new posts NULLFILE on ICEGENER Utility Ashishpanpaliya DFSORT/ICETOOL 5 Wed Nov 08, 2017 10:45 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm

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