CA OPS/MVS

Tuesday Tip:  TMSGRW date formats 

10-22-2014 01:55 PM

If you need to compare any of the DATE fields to one of the CA 1 keyword dates you can use the DT format to define the date.

In the DEFINE the value can be any date in your selected date format (see your TMOOPTxx member and the option of DATEFMT),

a julian date (yyyy/ddd) or a date keyword.  The keywords include, USER/uuu, CATLG/ddd, LDATE/ddd, CYCLE/ccc, PERM, PERMANENT,

STATS/nnn and CATALOG.

This is an example of how to compare and list all tapes under catalog control.

CONTROL-SECTION

DEFINE CATDATE DT 'CATALOG'

PROCESS-SECTION

WHEN EXPDT EQ CATDATE

LIST

REPORT-SECTION

PRINT VOLSER

PRINT EXPDT

PRINT DSN 

Statistics
0 Favorited
1 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Comments

10-23-2014 05:30 PM

Thanks for the tip.    I never knew you could define non-numeric "dates".

 

- Don

Related Entries and Links

No Related Resource entered.