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

6.2.1.2 System Information Transfer



System information contained in the specified conceptual data items DATE,
X DATE YYYYMMDD, DAY, DAY YYYYDDD, DAY-OF-WEEK, or TIME, can be transferred into the identifier. The transfer must follow the rules for the MOVE statement without the CORRESPONDING phrase. See "MOVE Statement" in topic 6.2.24.


    ___ Format 2--System Information Transfer ______________________________ 
   |                                                                        |
   | >>__ACCEPT__identifier-2__FROM__ _DATE__ ____________ _ ____________>< |
   |                                 |       |_ YYYYMMDD _| |               |
   |                                 |_DAY__ ___________ ___|               |
   |                                 |      |_ YYYYDDD _|   |               |
   |                                 |_DAY-OF-WEEK__________|               |
   |                                 |_TIME_________________|               |
   |                                                                        |
   |________________________________________________________________________|
identifier-2
Can be a group, elementary alphanumeric, alphanumeric-edited,
X numeric-edited, external decimal, internal decimal, binary, internal
X floating-point, or external floating-point item.

Format 2 accesses the current date in two formats--the day of the week or the time of day as carried by the system, which can be useful in identifying when a particular run of an object program was executed. You can also use Format 2 to supply the date in headings and footings.

Note: The current date and time is also accessible via the date/time intrinsic function CURRENT-DATE, which also supports 4-digit year values and provide additional information (see "Intrinsic Functions" in topic 7.1).

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.