View previous topic :: View next topic
|
Author |
Message |
kaleelahamed
New User
Joined: 08 Jun 2006 Posts: 45 Location: Trumbull, CT
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
REPRO from a DD DUMMY to the sequential file. |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
the answer is yes, just REPRO a DUMMY file into the FILE you want emptied.
Gerry |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Robert, you are too quick
Gerry |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Robert, you are too quick
Gerry |
That's not what my wife tells me ..... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Robert Sample wrote: |
Quote: |
Robert, you are too quick
Gerry |
That's not what my wife tells me ..... |
What do you mean "How was it for you ?" |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Robert,
Quote: |
That's not what my wife tells me .....
|
Just dream on
Gerry |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
What can I say? Practice makes perfect. |
|
Back to top |
|
|
|