Delete the contents of a dataset

Ask/Clarify the questions on TSO, CLIST & REXX

Moderators: Veera, Moderator Group

Post Reply
knightanand
Member
Posts: 1
Joined: Mon Mar 24, 2014 8:26 am

Delete the contents of a dataset

Post by knightanand » Mon Mar 24, 2014 8:30 am

Hi Experts,

I used to take o/p in a datset frequently.. I want to delete the contents of a dataset alone before i take o/p. kindly advise.

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Mon Mar 24, 2014 1:43 pm

Delete and recreate the dataset; write to it with DISP=OLD; edit it under ISPF and delete all the data. How many more options do you need?
Regards
Nic

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