Format 1 - with Sections and Paragraphs
Procedure Division - Format 1 >>-PROCEDURE DIVISION--+-----------------------------+----------> | .------------------. | | V | | '-USING----| Using-phrase |-+-' >--+-------------------------------------------------+--.-------> | (1) | '-+-RETURNING------+--+------------+--data-name-2-' '----------------' '-ADDRESS OF-' '-+------------+-' | (1) | '-GIVING-----' >--+------------------------------------------------------+-----> | .----------------. | | V | | '-DECLARATIVES.----| Sections-2 |-+--END DECLARATIVES.-' .----------------. V | >----| Sections-1 |-+------------------------------------------>< Using-phrase .-------------. V | |--+-----------------------+----data-name-1-+-------------------| | (1) | +-+----+--REFERENCE-----+ | '-BY-' | | (1) | '-+----+--VALUE---------' '-BY-' Sections-1 |--section-name--SECTION--+----------------+--------------------> '-segment-number-' >--+---------------------------------------+--------------------| | .-----------------------------------. | | V | | '---paragraph-name.--+--------------+-+-' | .----------. | | V | | '---sentence-+-' Sections-2 |--section-name--SECTION--+----------------+--.--USE statement.--> '-segment-number-' >--+---------------------------------------+--------------------| | .-----------------------------------. | | V | | '---paragraph-name.--+--------------+-+-' | .----------. | | V | | '---sentence-+-'
Notes:
- IBM® Extension
