Explain about REXX



Explain about REXX..

Answer / 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

More JCL Interview Questions

What is the meaning of the EXEC statement keyword, COND? What is its syntax?

2 Answers  


hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.

3 Answers  


I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?

4 Answers   IBM, TCS,


i have two flat files.i want to select one record from that file by using jcl.for example file1 contains emp no,name,joining date. file2 has same details.emp no is primary key. i will give empno.that emp details send to outfile.please let me know if any one knows it.give sample code.

1 Answers   TCS,


Is automatic restart possible in jcl? If yes, how?

0 Answers  






how to modify the copy book?explain with examples

2 Answers   TCS,


Is Default for MSGCLASS = (1,1) ?

2 Answers   IBM,


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

0 Answers  


what is the use of temporary files?

5 Answers   Hexaware,


What is 'S0C7' abend?

9 Answers  


How do you handle empty files in a JCL ?

3 Answers   Wipro, Xansa,


i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?

4 Answers   Infosys,


Categories