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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts DELETE SPUFI DB2 1
Search our Forums:

Back to Top