The following tables list the compatible field types with file and record types, and field usage with file types.
Field Types and File Types
DSPF PRTF PF LF Text constant + + - - Date constant + + - - Time constant + + - - User name + - - - System name + - - - Message constant + + - - Page number - + - - Character + + + + Zoned decimal + + + + Float single + + + + Float double + + + + Packed decimal - - + + Binary - - + + Hexadecimal - - + + Date* - - + + Time* - - + + Timestamp* - - + + DBCS-graphic + + + + *-Physical file fields.
Field Types and Record Types
STD SFL CTL MSG USR Text constant + + + - - Date constant + - + - - Time constant + - + - - User name + + + - - System name + + + - - Message constant + + + - - Page number + - - - - Character + + + - - Zoned decimal + + + - - Float single + + + - - Float double + + + - - Packed decimal + - - - - Binary + - - - - Hexadecimal + - - - - Date* + - - - - Time* + - - - - Timestamp* + - - - - DBCS-graphic + + + - - *-Physical file fields.
Field Usage and File Types
DSPF PRTF PF LF Input + X X + Output + + X - Both + X + + Neither - - - + Message + - - - Program + - - - Hidden + - - - X - fields with usage INPUT or BOTH can be pasted into files of type PRTF or PF, but the usage will be automatically overridden to Output (for PRTF) or Both (for PF).
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.