VSAM

Post your questions related to VSAM

Moderator: Moderator Group

Post Reply
Pedamajji Santhosh Kumar
Member
Posts: 1
Joined: Wed Feb 25, 2009 6:35 pm
Location: Hyderabad

VSAM

Post by Pedamajji Santhosh Kumar » Wed Feb 25, 2009 6:58 pm

How to specify retention period for a VSAM dataset?
Regards,
Santhosh Kumar.

kishore
Member
Posts: 8
Joined: Sun May 03, 2009 1:24 am

Post by kishore » Fri May 08, 2009 5:39 am

Using FOR(xxx) parameter in DEFINE CLUSTER statement
Kishore

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Sat May 09, 2009 4:39 pm

Just to extend on earlier reply . . .

In FOR(xxx), xxx represnets the "number of days" - so it can be written as: FOR(days).

FOR(days) - specifies the retention period for the cluster being acted upon - the cluster can't be deleted without the PURGE option until the number of days given by 'days' has passed. 'days' is an integer in the range 0 through 9999 decimal, and can also be expressed in binary (B'days') or hex (X'days').
Regards,
Anuj

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