The Describe Date/Time Field Editing display allows you to specify the type of separator character that
you want used for a numeric field that contains a date or time value. The editing value determines how the
values for the date or time field are to appear in your query report (if you use option 2 as the edit option
for this field).
Describe Date/Time Field Editing
Field . . . . . . :
Type choice, press Enter.
Date/time separator . . . . .
_
1=.
2=/
3=:
4=-
5=,
F3=Exit
F5=Report
F10=Process/previous
F12=Cancel
F13=Layout
F16=Remove edit
F18=Files
When you first see this display, the edit value shown is the value previously saved in your query, is the
value from the field definition in the file description, or is the system-supplied default.
You can either change the edit value shown or you can blank it out. If you blank out the value, the
system-supplied default separator value (stored in the QDATSEP system value) is to be used, and it is
shown if you return to this display. To use this date/time edit value to edit the field, edit option 2 must be
specified on the Define Numeric Field Editing display.
Any number less than six digits long loses one date/time position on the left for each digit that it is short
(zero values become blanks). If the leading digit on the left is zero, it is replaced with a blank (for example,
if your date/time separator is a slash, the value 000829 becomes 0/08/29). To show dates without having
the leading zero truncated, use the edit word option with a leading zero or asterisk.
Only the last six digits of a numeric field are displayed when you use date/time editing (for example, if your
date/time separator is a slash, the value.
19631001
becomes
63/10/01
). To display a four digit year, use
the edit word option.
Date/time separator in Query for iSeries reports
Type the option number of the character that you want used as the date or time separator in this field. The
option numbers and characters are shown below, along with examples of the edited results for a value of
100863
:
Option
Example
Meaning of Option
1= .
10.08.63
Separator is a period
2= /
10/08/63
Separator is a slash
3= :
10:08:63
Separator is a colon
4= -
10-08-63
Separator is a hyphen
5= ,
10,08,63
Separator is a comma
To remove all the query-defined editing values for this numeric field (for this edit option
and
all others),
press F16 (Remove edit).
128
Query for iSeries Use V5R2
Summary of Contents for ISERIES SC41-5210-04
Page 1: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Page 2: ......
Page 3: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Page 12: ...x Query for iSeries Use V5R2 ...
Page 14: ...2 Query for iSeries Use V5R2 ...
Page 32: ...20 Query for iSeries Use V5R2 ...
Page 38: ...26 Query for iSeries Use V5R2 ...
Page 44: ...32 Query for iSeries Use V5R2 ...
Page 116: ...104 Query for iSeries Use V5R2 ...
Page 122: ...110 Query for iSeries Use V5R2 ...
Page 146: ...134 Query for iSeries Use V5R2 ...
Page 150: ...138 Query for iSeries Use V5R2 ...
Page 174: ...162 Query for iSeries Use V5R2 ...
Page 178: ...166 Query for iSeries Use V5R2 ...
Page 196: ...184 Query for iSeries Use V5R2 ...
Page 198: ...186 Query for iSeries Use V5R2 ...
Page 204: ...192 Query for iSeries Use V5R2 ...
Page 205: ...Part 4 Appendixes Copyright IBM Corp 2000 2002 193 ...
Page 206: ...194 Query for iSeries Use V5R2 ...
Page 210: ...198 Query for iSeries Use V5R2 ...
Page 242: ...230 Query for iSeries Use V5R2 ...
Page 256: ...244 Query for iSeries Use V5R2 ...
Page 270: ...258 Query for iSeries Use V5R2 ...
Page 272: ...260 Query for iSeries Use V5R2 ...
Page 292: ...280 Query for iSeries Use V5R2 ...
Page 293: ......
Page 294: ... Printed in U S A SC41 5210 04 ...