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 ? | 37 Yes | 13 No |
Post New Answer View All Answers
What is next sentence and continue unique?
What are the mainframe computing pros and cons?
Which is the difference between delimited by size and delimited by space?
Can you define an alias?
How to find all duplicate records?
how is the future of tandem mainframe?
how do u start your process after conducting impact analysis ?
how do we describe static call and dynamic call?
what u mean by csrloc and rtncsrloc in rpgIV in as/400.Give an eg? to do...give some coding...what is row no and column no ???..if possible...give a no of lines coding....please
How do you write from PL/1 code to JCL?
Can you explain referential integrity?
Are scope terminators compulsory? If they are, when?
what is the meaning of ssrange and nossrange?
Is the order of the when clause significant in an evaluate statement?
What is difference between static call and dynamic call?