![]() 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 ... 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 ... NEXT SENTENCE gives control to the verb following the next period. CONTINUE gives control to the next verb after the explicit scope terminator. (This is not one of COBOL II's finer implementations). Latest Answer : Next sentence: The sentence is the collection of statements and is always end with period(.).so next sentence means the control passes to next sentence after period.e.g.: if X=3
Compute X=X-3 Next sentence End-if ... The parameters passed in a call by context are protected from modification by the called program. In a normal call they are able to be modified. Latest Answer : In call by content a copy of variable is passed to the sub program. In case of call by address the address is passed. ... A subscript is a working storage data definition item, typically a PIC (999) where a value must be moved to the subscript and then incremented or decremented by ADD TO and SUBTRACT FROM statements. An Latest Answer : We can use up by 1/down by 1 in Index but in Subscript we should keeping adding 1. ... Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc? An external sort is not COBOL; it is performed through JCL and PGM=SORT. It is understandable without any code reference. An internal sort can use two different syntaxes: 1.) USING, GIVING sorts are Comp is a binary usage, while comp-3 indicates packed decimal. The other common usages are binary and display. Display is the default. 3/28/00 Dave Herrmann: 'I was reading your FAQ on Cobol, as Latest Answer : Binary representation of data item are called 'comp', while comp-3 is the packed decimal.comp-1 & comp-2 are another usage. ... What is the difference between a binary search and a sequential search? What are the pertinent COBOL What is the difference between a binary search and a sequential search? What are the pertinent COBOL commands? In a binary search the table element key values must be in ascending or descending sequence. The table is 'halved' to search for equal to, greater than or less than conditions until the element Latest Answer : For all of you out who have not heard about comp-4. Wake up. Comp-4 does exist and it is just like comp - ie. it is a half-word (2 bytes).This might help those of you who are confused about comp fields:COMP half word ... What is the difference between write & move in COBOL.? What is the meaning of 'TALLING' verb in cobol? What is the meaning of 'Eject' verb in cobol? Read Answers (10) | Asked by : sanjib goswami
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||