Previous Topic: Example: CPFWAIT control optionNext Topic: DB2FAC—Group and Protect DB2 Subsystems


DATE—Date Format

Valid on z/OS and z/VM.

To specify the format for dates displaying in listings, use the DATE control option. The DATE option accommodates various multinational date standards.

All entry methods are accepted.

This control option has the following format:

DATE(yy/dd/mm)
YY

Year. For YY > 80, the year is assumed to be in the 20th century. For YY < 80, the year is considered to be in the twenty‑first century.

DD

Day (01 - 31)

MM

Month (01 - 12)

Any character such as hyphen (‑), period (.), comma(,) can be used as a delimiter between the date fields. Some characters, such as comma(,) and blanks require that the entire DATE control option be enclosed within quotes:

TSS MODIFY('DATE(MM DD YY)')

The choice of delimiters here affects the syntax of the UNTIL keyword during command administration. For example, if DATE('MM DD YY') were chosen then a command with the UNTIL keyword would be specified as follows:

TSS PERMIT(USER01) DSN(****.FILE)
                   UNTIL('05 01 94')

Examples: DATE control option

These examples produce listings for December 29, 2006:

TSS MODIFY DATE(mm/dd/yy)
TSS LIST(mult03) DATA(ALL,PASS,EXPIRE)
ACCESSORID = MULT03 NAME = MULT03 
TYPE = USER SIZE = 256 BYTES 
FACILITY = CICSPROD 
ADMIN BY= BY(USERSCA) SMFID(XE14) ON(12/29/2006) AT(12:44:48)
DEPT ACID = CICSDEPT DEPARTMENT = CICS DEPARTMENT 
CREATED = 12/29/06 12:38 LAST MOD = 12/29/06 12:44 
ATTRIBUTES = MULTIPW 
ALL = 
CICSPROD = EXPIRES = 01/28/07 INTERVAL = 030 
TSS MODIFY DATE(yy-mm-dd)
TSS LIST(mult03) DATA(ALL,PASS,EXPIRE) 
ACCESSORID = MULT03 NAME = MULT03 
TYPE = USER SIZE = 256 BYTES 
FACILITY = CICSPROD 
ADMIN BY= BY(USERSCA ) SMFID(XE14) ON(2006-12-29) AT(12:44:48
DEPT ACID = CICSDEPT DEPARTMENT = CICS DEPARTMENT 
CREATED = 06-12-29 12:38 LAST MOD = 06-12-29 12:44 
ATTRIBUTES = MULTIPW 
ALL = 
CICSPROD = EXPIRES = 07-01-28 INTERVAL = 030