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 is the difference between a DYNAMIC and STATIC call in COBOL?
OCCURS clause is used in the DATA DIVISION on data names at (a) 01 level (b) 77 level (c) 88 level (d) any level from 02 to 49
consider the following two IF statements: IF X AND NOT Y MOVE A TO B IF Z=1 OR 9 MOVE A TO B select one of the following data divusion entries which gives identical results for both the above IF statements a.01 Z PIC 9 88 X VALUE 1.9 88 Y VALUE 0.2 THRU 8 b.01 Z PIC 9 88 X VALUE 0.2 THRU 8 Y VALUE 1.9 c.01 Z PIC 9 88 X VALUE 1.9 88 NOT-Y VALUE 0.2 THRU 1.9 d.none of yhe above
What are ISOLATION LEVELS? Where do we need to specify them in compiling JCL (Exactly which statement and what is syntax for it)?
PERFORM ACCUMULATE-TOTALS VARYING A FROM 1 BY 2 UNTIL A >2 AFTER B FROM1 BY 1 UNTIL B>2 AFTER C FROM 2 BY -1 UNTIL C<2 How many times the paragraph ACCUMULATE-TOTALS would be exicuted?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
01 b pic +9(4) How many bytes it will take for storage???
What are the different types of condition in cobol and write their forms.
If there are two copybooks which have same variables and we are using both the copybooks in our program. will there be an error and if i move values to the variable which copybook varibales gets the values i move in.
how do you reference the fixed unblock file formats from cobol programs
soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?
Write a program that uses move corresponding.