FORMAT

The FORMAT operand specifies the time and date delimiters for the reports and extracts. The syntax for this operand is FORMAT(t,d).
t
The first operand specifies the separator character for time-of-day displays. The default is a colon (:), which produces time displays such as 08:30:12.321.
d
The second operand specifies the separator character for the date. The default is a slash (/), which produces date displays such as 2005/01/13.

Any character can be specified, but special characters such as a space, comma, or parenthesis must be enclosed within single quotation marks.

A single quotation mark, which is a special character, can be used as a delimiter. To specify it, use two single quotation marks to request the delimiter character, enclosed within the single quotation marks needed with special characters.

Example 1:
CICSPA FORMAT(' ',/)
specifies a space for the time delimiter and a slash for the date delimiter.
Example 2:
CICSPA FORMAT('''',/)
specifies a single quotation mark for the time delimiter and a slash for the date delimiter.
Example 3:
CICSPA FORMAT(:,/),LIST
specifies the default delimiters with a Performance List report.
Example 4:
CICSPA FORMAT('.',' '),LIST
specifies a period for the time delimiter and a space for the date delimiter in this Performance List report.

Information Information

Feedback


Timestamp icon Last updated: Saturday, 8 February 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic///users-guide/formatc.htm