Answer Posted / dimpy19
POS : return the position of one string str1 into str2- start from by default position 1
INDEX : returns the character position of one string, needle, in another, haystack, or returns 0 if the string needle is not found or is a null string.
By default the search starts at the first character of haystack (start has the value 1).
You can override this by specifying a different start point, which must be a positive whole number.
LASTPOS :returns the position of the last occurrence of one string, needle, in another, haystack
pos----- string
index---character
Lastpos-last occurence of one string into another
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain the job statement in jcl?
how do you access an uncataloged dataset in a jcl?
Can I send output of job to my remote device careerride123?
What is job control language?
What is condition checking in jcl? Is this possible?
which parameter is use to declare the name of dataset in dd statement?
What are the 4 fields in dd statement?
How can a stopped job be started again?
what are the various stages of job processing?
What is the difference between run mode and addressing mode?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
what is the purpose of coding notify parameter in job statement?
What do you understand by the terms: joblib and steplib?
Which statement is used to identify the private libraries in job?
How does the jcl specify the job to os?