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.1.5.2.2 Subtraction Involving Date Fields




X The following table shows the result of using a date field with a
X compatible operand in the subtraction:


X first operand - second operand


X In a SUBTRACT statement, these operands appear in the reverse order:


X SUBTRACT second operand FROM first operand


RevisionX  Table 18. Results of Using Date Fields in Subtraction                  
RevisionX                
               
RevisionX  First Operand 
RevisionX                      Second Operand                     
RevisionX  Non-date                    RevisionX  Date field                
RevisionX  Non-date       RevisionX  Non-date                    RevisionX  Not allowed               
RevisionX  Date field     RevisionX  Date field                  RevisionX  Non-date                  




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.