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 use of IBM framework?
Write about a ‘view’ in brief?
Mainframe project required Postby mache123 » Thu Jan 29, 2009 9:10 pm hello..... I want to know about some real time projects.If any one have any Mainframes project, please provide me documentation of it Or else give me the link where can I find that Mainframes projects with Documentation...... or suggest me any if......please
Can records be accessed randomly in esds?
Explore the syntax of the evaluate statement?
What is mainframe application testing?
Explain referential integrity?
What is next sentence and continue unique?
What is the maximum value that can be stored in s9(8) comp?
Explain ibm z?
Explain a linkage segment
how do we describe static call and dynamic call?
how are start and xctl different?
What will happen if both steplib and joblib are specified?
how could you write a program in a structured format?