tell me about examine inspect and evaluate ?
Answers were Sorted based on User's Feedback
Answer / tejas sheth
INSPECT and EXAMINE are STRING verbs of COBOL.
wheres EXAMINE has been removed from later versions of COBOL.
Evaluate is a conditional statement which is same as Switch
statement in C language, it used to check multiple condition
for single or double or multiple datanames
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / obulreddy.k
Inspect is used to find the number of occurrence of single
character or Group of characters
examine is used to find the number of occurrence of single
character only
| Is This Answer Correct ? | 4 Yes | 0 No |
What the difference is between continue and next sentence?
How to display string in the reverse order using occurs clause?
Explain the configuration section of a cobol program with examples of syntax.
What is binary search?
What is Static and Dynamic linking ?
what is a zoned decimal data type and how it will be stored?
What is EIBCALEN? Why it is used?
What is the output generated by the following code? 01 GRP-I. 05 SUBFLD1 PIC XX VALUE "AB". 05 FILTER PIC X(6) VALUE SPACES. 01 GRP-2 REDEFINED GRP-1. 05 SUB-FLD2 PIC XX. 05 SUB-FLD3 PIC XX. 05 FILTER PIC X(4). IF SUB-FLD1 NOT = SPACES DISPLAY "SUBFLD1" MOVE "ABBCCD" TO GRP-1 IF SUB-FLD3 = SPACES DISPLAY "SPACES" ELSE DISPLAY "SUBFLD3" DISPLAY "END" ELSE DISPLAY "SPACES" DISPLAY "END". (a) SUBFLD1 SUBFLD3 END (b) SPACES END (c) SUBFLD1 END (d) SUBFLD1 SPACES
The following entries appear in the WORKING-STORAGE SECTION: 01 DATE-TODAY. 05 YY PIC XX VALUE "90". 05 MM PIC XX VALUE "12". 05 DD PIC XX VALUE :31". 01 DATE-EDIT PIC XX/XX/XX. MOVE DATE-TODAY TO DATE-EDIT. (a) 901231 (b) 90/12/31 (c) 31/12/90 (d) 311290
I HAVE FOLLOWING DECLARATION. 02. A PIC X(10) VALUE 'XXXXXXXXXX'. 02. B REDEFINES A. 05. C PIC X(3). 05. D PIC X(3). 05. E PIC 9(3). IN MY PROG, I HAVE MOVE 1 TO E. DISPLAY A. WHAT WILL BE DISPLAYED AS A RESULT OF THIS? PLEASE EXPLAIN THE ANSWER. THANKS.
When would you use in-line perform?
What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.