z/OS DFSORT Application Programming Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Constants

z/OS DFSORT Application Programming Guide
SC23-6878-00

A constant can be a decimal number (n, +n, -n), character string (C'xx...x'), or hexadecimal string (X'yy...yy').

The current date can be used as a decimal number (DATE1P, &DATE1P, DATE2P, &DATE2P, DATE3P, &DATE3P) or character string (DATE1, &DATE1, DATE1(c), &DATE1(c), DATE2, &DATE2, DATE2(c), &DATE2(c), DATE3, &DATE3, DATE3(c), &DATE3(c), DATE4, &DATE4, DATE5, &DATE5).

A future date can be used as a decimal number (DATE1P+d, &DATE1P+d, DATE2P+m, &DATE2P+m, DATE3P+d, &DATE3P+d) or character string (DATE1+d, &DATE1+d, DATE1(c)+d, &DATE1(c)+d, DATE2+m, &DATE2+m, DATE2(c)+m, &DATE2(c)+m, DATE3+d, &DATE3+d, DATE3(c)+d, &DATE3(c)+d).

A past date can be used as a decimal number (DATE1P-d, &DATE1P-d, DATE2P-m, &DATE2P-m, DATE3P-d, &DATE3P-d) or character string (DATE1-d, &DATE1-d, DATE1(c)-d, &DATE1(c)-d, DATE2-m, &DATE2-m, DATE2(c)-m, &DATE2(c)-m, DATE3-d, &DATE3-d, DATE3(c)-d, &DATE3(c)-d).

The different constants are explained in detail in the following table. Permissible comparisons between compare fields and constants are shown in Table 1.

Table 1. Permissible Field-to-Constant Comparisons for INCLUDE/OMIT
Permissible Field-to-Constant Comparisons for INCLUDE/OMITField Format
Self-Defining Term
Decimal Number Character String Hexadecimal String
BI X X X
CH   X X
ZD X    
PD X    
PD0     X
FI X    
AC   X X
ASL X    
AST X    
CSF or FS X    
UFF X    
SFF X    
CSL or LS X    
CST or TS X    
CLO or OL X    
CTO or OT X    
AQ   X X
D2 X X X
Note: D2 field formats are user-defined.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014