What is the difference between Verify & Index in PL/1?
Answer Posted / sneha
VERIFY
Indicates the position in string x of the first character thats not in string y. if all r there it returns 0
example: VERIFY(SAM,SAM)returns 0
VERIFY(ABCD,EREE) returns 1
INDEX
Returns the starting position of the string y within x; returns 0 if y is not there in x
example: index(sam,agt) returns 2
index(sam,dog) returns 0
| Is This Answer Correct ? | 38 Yes | 13 No |
Post New Answer View All Answers
What is the advantage of defragmentation?
Can you define foreign keys?
Does qtp tool support mainframe application testing?
what is the meaning of a (new, catlg, keep) disposition mean?
What is the need of running runstats in the test environment?
what optimum values can we find for freespace, ci etc?
What is the function of iebgener?
How many bytes does a s9(7) sign trailing separate field occupy ?
What is the difference between hdam and hidam databases?
What is mainframe database?
Can min or max be used with alphanumeric data?
What is meant by an isolation level?
What is the distinction amongst include and copy?
Can you define notcat 2?
What will happen if both steplib and joblib are specified?