![]() |
| Home | Tech FAQ | Interview Questions | Placement Papers | Tech Articles | Learn | Freelance Projects | Online Testing | Geeks Talk | Job Postings | Knowledge Base | Site Search | Add/Ask Question |
![]() 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. ... EVALUATE can be used in place of the nested IF THEN ELSE statements. Latest Answer : EVALUATE statement contrusts a case structure. The explicit scope terminator for EVALUATE is END-EVALUATE. The various cases can be places between the EVALUATE and END-EVALUATE statements. Example:Here SQLCODE is a built in variable name EVALUATE SQLCODE ... 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. ... 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. Absolutely. Evaluation of the WHEN clauses proceeds from top to bottom and their sequence can determine results. Latest Answer : It's important to have the order in place, you can not put 'When other' as the first clause. ... REPLACING allows for the same copy to be used more than once in the same code by changing the replace value Latest Answer : Hi, Replacing option in COPY verb provides facility to use same block of code for different programs having all things common except few variables in that particular block of code. It providesdes the feature of reusablity without writing it ... Latest Answer : No, we cant able to move by this syntax. its very confusing not only cobol complier but also human being. MOVE A,B TO C,D. Mean what .. a,b values has to move c,d .... ... Latest Answer : Hi Lavanya,Why don't you try before answering any question??Readers should not confused by your answers. Answer given by Poonam is absolutely correct!!! ...
Sponsored Links
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||