IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to Delete define a file in JCL


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Rajeev_mainframe

New User


Joined: 21 Aug 2006
Posts: 13

PostPosted: Mon Aug 21, 2006 10:19 pm
Reply with quote

Hi,

Can someone give the code to delete define a flat file in JCL
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Mon Aug 21, 2006 11:10 pm
Reply with quote

Yes. The fine manual contains some great code examples.

O.
Back to top
View user's profile Send private message
shreevamsi

Active User


Joined: 23 Feb 2006
Posts: 305
Location: Hyderabad,India

PostPosted: Tue Aug 22, 2006 11:45 am
Reply with quote

Hi,
Use IEFBR14 Dummy utility.
If you are not sure whether the datset will be created definetly before youu delete, use DISP=MOD.

//DELETE EXEC PGM=IEFBR14
//GETRID DD DISP=(OLD,DELETE,DELETE),
DSN=NOT.NEEDED.ANY.MORE

~Vamsi
Back to top
View user's profile Send private message
MainframeHelp4_u

New User


Joined: 15 Aug 2006
Posts: 25

PostPosted: Wed Aug 23, 2006 2:10 am
Reply with quote

code:

DELETE X.Y.Z (file name:X.Y.Z) in sysin Param.. it will work..

Still have problem get back to forum

Cheers
Sri
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts IGYPG3178-I when compiling a pgm read... COBOL Programming 6
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts To Populate Trailer cnt in the file w... SYNCSORT 1
Search our Forums:


Back to Top