Library View Topics Framed Contents Revised Topics Previous Topic Next Topic Search Search ResultsPrevious Topic MatchNext Topic Match Notes List Notes Print Download No PDF Handheld DisconnectedHandheld ConnectedHelp

X 6.2.24.1.1 Moves Involving Date Fields




| If the sending item is specified as a year-last date field, then all
| receiving fields must also be year-last date fields with the same date
| format as the sending item. If a year-last date field is specified as a
| receiving item, then the sending item must be either a non-date or a
| year-last date field with the same date format as the receiving item. In
| both cases, the move is then performed as if all items were non-dates.


| Table 43describes the behavior of moves involving non-year-last date
| fields. If the sending item is a date field, then the receiving item must
X be a compatible date field. If the sending and receiving items are both
X date fields, then they must be compatible; that is, they must have the
X same date format, except for the year part, which may be windowed or
X expanded.


X This table uses the following terms to describe the moves:


X Normal

X The move is performed with no date-sensitive behavior, as if the
X sending and receiving items were both non-dates.


X Expanded

X The windowed date field sending item is treated as if it were
X first converted to expanded form, as described under "Semantics
X of Windowed Date Fields" in topic 5.3.6.1.


X Invalid

X The move is not allowed.


RevisionX  Table 43. Moves Involving Date Fields                                                  
RevisionX                          
                         
RevisionX  Sending Item            
RevisionX                         Receiving Item                        
RevisionX  Non-date  RevisionX  Windowed date field      RevisionX  Expanded date field     
RevisionX  Non-date                 RevisionX  Normal    RevisionX  Normal                   RevisionX  Normal                  
RevisionX  Windowed date field      RevisionX  Invalid   RevisionX  Normal                   RevisionX  Expanded                
RevisionX  Expanded date field      RevisionX  Invalid   RevisionX  Normal(1)                RevisionX  Normal                  
RevisionX  (1) A move from an expanded date field to a windowed date field is, in effect, a       
RevisionX     "windowed" move, because it truncates the century component of the expanded date    
RevisionX     field.  If the move is alphanumeric, it treats the receiving windowed date field as 
RevisionX     if its data description specified JUSTIFIED RIGHT.  This is true even if the        
RevisionX     receiving windowed date field is a group item, for which the JUSTIFIED clause       
RevisionX     cannot be specified.                                                                




Previous Topic Next Topic © Copyright IBM Corp. 1991, 1998

IBM Library Server Copyright 1989, 2005 IBM Corporation. All rights reserved.





Return to library:   z/OS | z/OS.e | TPF | z/VSE | z/VM | IBM Hardware | IBM System z Redbooks
Glossary:   IBM terminology
Publications:   How to order publications
Readers:   Download IBM Library Reader | Download IBM Softcopy Reader | Download Adobe® Acrobat® Reader®
Library management:   Download IBM Softcopy Librarian
Contacts:   Contact z/OS


Adobe, the Adobe logo, Acrobat, the Acrobat logo, and Acrobat Reader are registered trademarks of Adobe Systems incorporated.