28.11.2012 Views

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PIPE EDIT<br />

112 <strong>Programming</strong>: <strong>Pipes</strong><br />

C2X (conversion order)<br />

Specifies that the input data is converted to hexadecimal notation. For<br />

example, if the input is AB, C2X returns the EBCDIC hexadecimal value<br />

X'C1C2'. C2X is particularly useful when you must display input data<br />

containing nondisplayable characters.<br />

C2X is the inverse of X2C.<br />

CHKEY<br />

Obtains the CHKEY as defined by system macro IEECHAIN. This is the<br />

step-name of a task or the job-name of a job.<br />

CNVDT (conversion order)<br />

Specifies that the input data is a date or time value and is changed to another<br />

date or time <strong>for</strong>mat. CNVDT must be followed by a parenthetical expression<br />

containing two entries. Each of these entries specifies a date or time <strong>for</strong>mat.<br />

The first entry is the <strong>for</strong>mat of the input data and the second is the <strong>for</strong>mat of<br />

the converted output.<br />

Each entry can be the keyword DATE, the keyword TIME, or a string 4–8<br />

characters in length. Specifying one entry <strong>for</strong> date and another <strong>for</strong> time is not<br />

supported.<br />

DATE<br />

Indicates the <strong>for</strong>mat is the date <strong>for</strong>mat specified by the DEFAULTS or<br />

OVERRIDE command.<br />

TIME<br />

Indicates the <strong>for</strong>mat is the time <strong>for</strong>mat specified by the DEFAULTS or<br />

OVERRIDE command.<br />

from template or to template<br />

Indicates that the conversion <strong>for</strong>mat is provided.<br />

If a template is supplied, it must con<strong>for</strong>m to the conditions specified <strong>for</strong><br />

the date or time templates used with the DEFAULTS or OVERRIDE<br />

command. When using a template, both entries within the parenthetical<br />

expression must be <strong>for</strong> dates or times.<br />

The input data is searched from the beginning of the data <strong>for</strong> a date <strong>for</strong>mat.<br />

For time conversion the input is searched from the end.<br />

CNVDT0 (conversion order)<br />

Specifies that the same conversion is done as <strong>for</strong> CNVDT. However, if the<br />

input data does not match the specified input <strong>for</strong>mat, no data is passed to the<br />

output.<br />

D2C (conversion order)<br />

Specifies that the input character string representing a signed or unsigned<br />

decimal number is to be converted to a 4–byte signed binary number. Use the<br />

RIGHT 2 conversion order to reduce the output to 2 bytes. For example, if the<br />

input was 49602, D2C returns AB.<br />

Use D2C with an input resulting in 4 characters or less. The results of D2C are<br />

unpredictable with an input resulting in more than 4 characters. Use D2C to<br />

convert only the substring requiring conversion. For more in<strong>for</strong>mation, see the<br />

conversion order <strong>for</strong> “SUBSTR” on page 115.<br />

D2C is the inverse of C2D.<br />

DT (conversion order)<br />

Specifies that the input data is a store clock (STCK) value, such as that<br />

obtained from the IFRAUGMT input order, and is to be converted to a

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!