Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
Character strings z/OS DFSORT: Getting Started SC23-6880-00 |
|
The format for repeating a character string is:
where x is an EBCDIC character. For example, C'FERN'. The format for repeating a character string is:
If you want to include a single apostrophe in the string, you must specify it as two single apostrophes. For example, O’NEILL must be specified as C'O''NEILL'. You can use special keywords to insert a character string or packed
decimal constant for the current date or time of the run in various
forms, as detailed in z/OS DFSORT Application Programming Guidez/OS DFSORT Application Programming Guide. For example, suppose
you want to insert the following at the end of each 80 byte record:
Here's the OUTREC statement:
You can also use special keywords to specify a character string
or packed decimal constant for a future or past date (relative to
the current date of the run) in various forms, as detailed in z/OS DFSORT Application Programming Guide.
For example, suppose you want to insert the following at the start
of each 20-byte record:
Here's the OUTREC statement:
|
Copyright IBM Corporation 1990, 2014
|