Delete a flat file in JCL.
-
- Global Moderator
- Posts: 837
- Joined: Wed Sep 11, 2013 3:57 pm
Re: Delete a flat file in JCL.
does
hint anything ?
Code: Select all
... DISP=(OLD,DELETE)
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
- Robert Sample
- Global Moderator
- Posts: 1900
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Delete a flat file in JCL.
That would depend on what you and why you are trying to delete. I would not use your bill writing program simply to clean up a few stray dtat sets - you do not want the bills except at bill production time. To simply delete datasets use, as has been suggested, IEFBR14 because it is a program that does nothing - it starts and it then ends. Nothing more. Your JCL statements are actioned by the operating system - not by the program.
Regards
Nic
Nic
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute