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

FRONT_2.3 How to Read the Syntax Diagrams



Throughout this book, syntax is described using the structure defined below.

The following example shows how the syntax is used.


    ___ Format _____________________________________________________________ 
   |                                                                        |
   |               (1)                (2)   <___________________            |
   | >>__STATEMENT_____ _identifier-1____ ____ _______________ _|_________> |
   |                   |_literal-1_______|    |            (3)|             |
   |                                          |_| item 1 |____|             |
   |                                                                        |
   |    <_______________________________  (4)                               |
   | >____TO__identifier-3__ _________ _|_________________________________> |
   |                        |_ROUNDED_|                                     |
   |                                                                        |
   |                                                   (5)                  |
   | >__ ____________________________________________ ____________________> |
   |    |_ ____ __SIZE ERROR__imperative-statement-1_|                      |
   |      |_ON_|                                                            |
   |                                                                        |
   | >__ __________________ _____________________________________________>< |
   |    |               (6)|                                                |
   |    |_END-STATEMENT____|                                                |
   |                                                                        |
   | item 1:                                                                |
   | |__ _identifier-2_________________ __________________________________| |
   |    |_literal-2____________________|                                    |
   |    |                           (7)|                                    |
   |    |_ arithmetic-expression-1 ____|                                    |
   |                                                                        |
   | Notes:                                                                 |
   | (1)  The STATEMENT key word must be specified and coded as shown.      |
   |                                                                        |
   | (2)  This operand is required.  Either identifier-1 or literal-1 must  |
   |      be coded.                                                         |
   |                                                                        |
   | (3)  The item 1 fragment is optional; it can be coded or not, as       |
   |      required by the application.  If item 1 is coded, it can be       |
   |      repeated with each entry separated by one or more COBOL           |
   |      separators.  Entry selections allowed for this fragment are       |
   |      described at the bottom of the diagram.                           |
   |                                                                        |
   | (4)  The operand identifier-3 and associated TO key word are required  |
   |      and can be repeated with one or more COBOL separators separating  |
   |      each entry.  Each entry can be assigned the key word ROUNDED.     |
   |                                                                        |
   | (5)  The ON SIZE ERROR phrase with associated imperative-statement-1   |
   |      are optional.  If the ON SIZE ERROR phrase is coded, the key word |
   |      ON is optional.                                                   |
   |                                                                        |
   | (6)  The END-STATEMENT key word can be coded to end the statement.  It |
   |      is not a required delimiter.                                      |
   |                                                                        |
 X | (7)  The reverse highlighting indicates that arithmetic-expression-1   |
 X |      is an IBM extension.  This operand is optional.                   |
   |                                                                        |
   |________________________________________________________________________|


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.