![]() Related Questions There are at least five differences: COBOL II supports structured programming by using in line PERFORMs and explicit scope terminators, it introduces new features (EVALUATE, SET .. TO TRUE, CALL .. BY Latest Answer : The END Delimiter --> END-READ END-PERFORM ... A scope terminator brackets its preceding verb, eg. IF .. END-IF, so that all statements between the verb and its scope terminator are grouped together. Other common COBOL II verbs are READ, PERFORM, EVALUATE, Latest Answer : terminators like END-PEROFRM END-EVALUTE are called explicit scope terminaotr available in COBOL 85. ... The PERFORM and END-PERFORM statements bracket all COBOL II statements between them. The COBOL equivalent is to PERFORM or PERFORM THRU a paragraph. In line PERFORMs work as long as there are no internal Latest Answer : In In-line PERFORM the procedure name is omitted. An In-line PERFORM must be delimited by the END-PERFORM statement.SYNTAX: PERFORM ... Scope terminators are mandatory for in-line PERFORMS and EVALUATE statements. For readability, it's recommended coding practice to always make scope terminators explicit. Latest Answer : in line perform & evaluate verb. in these two scope terminator is mandatory. ... In a COBOL II perform statement, when is the conditional tested, before or after the perform execution? In COBOL II the optional clause WITH TEST BEFORE or WITH TEST AFTER can be added to all perform statements. By default the test is performed before the perform. In file section of a COBOL program, I have the following line.Record varying from 122 to 160 depending on WS00_RECORD_LENGTH. How would the value of WS00_RECORD_LENGTH found out? Where will it be? 77 I PI 9.PERFORM VARYING I FROM 1 BY 1 UNTIL>10DISPLAY 'OK'END-PERFORM.What output/msg is likely when this program is executed thru JCL? I am trying to create a line sequential file with record length 150 bytes (fixed format). The requirement is that the last 50 bytes of the record should be blanks. Finally, when I am opening the file the actual record length is 100 bytes. That means that the last 50 bytes are truncated. solve this problem? Read Answers (1) | Asked by : vagoro Latest Answer : Its basically a loop to execute a group of statements without jumping any where else in the program. ... what is the in-line PERFORM and out-line PERFORM? Latest Answer : In-line PERFORM have explicit scope terminator END-PERFORM where as Out-line PERFORM does not. Out-line perform have paragraphs.If you want to perform certain amount of code only one time in the program then we use in-line PERFORM.If you want to perform ...
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||