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 do you mean by linkage section?
What is the difference between inrec and outrec?
How do you write from PL/1 code to JCL?
When are scope terminators compulsory?
suppose oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset?
Can any one tell me that how we go for the compare,unit testing after changing requirement as per client request. this is very helpful for me when u give suitable (coading) exmple.
If anyone has latest IBM Certification Dumps can you pls forwards it to me
can you change the attribute in mapset? if so how?
how to handle -911 (deadlock) error in a db2 program so that the program will never abend?
what is difference between file-aid tool and file-aid utility?
How many types of evaluate statements are available?
When do you get -811 sqlcode and how to resolve it?
What will be the result if on size error phrase is declared?
What is the facility that allows mainframes to be partitioned into lapars?
What is basic difference between directory and pds in ibm mainframe?