In what ways to delete a flat file in jcl

This is a Mainframe COBOL forum - you can post your queries on Mainframe COBOL, VS COBOL II, COBOL/370 , Enterprise COBOL

Moderators: dbzTHEdinosauer, Moderator Group

Post Reply
mainframe5
Active Member
Posts: 59
Joined: Tue Jul 24, 2007 7:25 pm

In what ways to delete a flat file in jcl

Post by mainframe5 » Wed Jan 09, 2008 7:26 pm

In what ways to delete a flat file in jcl

Sagarmukkawar
Member
Posts: 5
Joined: Wed Jan 23, 2008 4:51 pm

Post by Sagarmukkawar » Mon Jan 28, 2008 2:49 pm

The JCl may look lilke:

//STEPname EXEC PGM=IEFBR14
//DDname DD DSN=xxx.xxxx.xxx /*The name of file u want to delete.
// DISP=(MOD,DELETE),SPACE=(TRK,0)


Hope it might be elpful to u!!!

sai
Member
Posts: 7
Joined: Tue Mar 18, 2008 3:26 pm

Post by sai » Sat Mar 22, 2008 1:55 pm

i think............ we can't delte flat file directly we can update it am i right plz correct me if iam not
thank you.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others