Download CAT Manual - Marble Computer
Transcript
Work is currently being done to list File Name with the 01 record that it belongs to and other information such as RECORD CONTAINS and BLOCK CONTAINS. OCCURS Work is being done to list the presence of an OCCURS clause for the name where the OCCURS exists. PROCEDURE DIVISION NARRATIVE Direct Narrative refers to direct use of a data-name within the PROCEDURE DIVISION. Two examples of COBOL lines that create DIRECT use for a field TR-INVOICE-YEAR follow: MOVE IF 2015 TO TR-INVOICE-YEAR. TR-INVOICE-YEAR > 2013, To better clarify DIRECT referencing, an example of an INDIRECT reference is given here. In the just below MOVE, TR-INVOICE-DATE that belongs to record TR-TRANSRECORD is modified indirectly with: MOVE SPACES TO TR-TRANS-RECORD. Indirect (implied) references to fields like TR-INVOICE-DATE will be handled later under heading INDIRECT NARRATIVE. Direct Narrative in CAT refers to special condensed formatting of PROCEDURE DIVISION statements that reference DATA DIVISION names and are then condensed to closely resemble the original PROCEDURE DIVISION statement or multiple PROCEDURE DIVISION statements in a format for instant readability. This is what happens in creating the PROCEDURE DIVISION narrative: 1. A condensed format takes up less SPACE and makes fitting the narrative into the 43 characters of the Narrative Window much easier 2. The data name referenced continually in one set of narrative is only listed once at the top of the narrative and the character # is used in place of the data-name to save space in the narrative as shown below: MOVE ZEROS TO # 39