Suboperands for Time Stamp fields

You need to specify the format in which you want time stamp type fields reported. The date and time formats are shown in the following table. Any time stamp field specified in FIELDS without a format is assigned the default of TIMET.

Table 1. Time stamp field formats
Type Output format Output field length
DATE mm/dd/yyyy 10
DATEISO yyyy-mm-dd 10
DATEM mm/dd 5
DATEYR mm/dd/yy 8
TIMET hh:mm:ss.thm 12
TIMEM hh:mm 5
TIMES hh:mm:ss 8
DATETIM yyyy-mm-dd hh:mm:ss 19
TIMEP (output format determined by the PRECISION(n) operand: 4, 5, or 6 decimal places)

hh:mm:ss.thmi
hh:mm:ss.thmij
hh:mm:ss.thmiju

13
14
15

These format options are most commonly used with the START and STOP operands.

The syntax for using these is to list the options separated by commas and enclosed in parentheses, following START or STOP. For example:
CICSPA LIST(FIELDS(TRAN,TERM,USERID,
                   START(DATEYR,TIMET),
                   STOP(TIMEM)))

Information Information

Feedback


Timestamp icon Last updated: Friday, 8 February 2013


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic//todkwds.htm