System information contained in the specified conceptual data items DATE, DAY, DAY-OF-WEEK, or TIME can be transferred into the identifier. DATE, DAY, DAY-OF-WEEK, and TIME are conceptual data items and, therefore, are not described in the COBOL program. The transfer must follow the rules for the MOVE statement without the CORRESPONDING phrase. See MOVE Statement.
ACCEPT Statement - Format 2 - System Info Transfer >>-ACCEPT--identifier-1--FROM--+-DATE--+--------------+-+-------> | | (1) | | | '-YYYYMMDD-----' | +-DAY--+-------------+---+ | | (1) | | | '-YYYYDDD-----' | +-DAY-OF-WEEK------------+ '-TIME-------------------' >--+----------------+------------------------------------------>< | (1) | '-END-ACCEPT-----'
If the description of identifier-1 contains a TYPE clause, the type-name referenced in that clause must be elementary.