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 difference between the JOBLIB and the STEPLIB statements?

3 Answers  


What is the syntax of JCL statement?

0 Answers  


A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF  DD DSN=ID.File1              DSN=ID.File2              DSN=ID.File3

1 Answers   FIS,


My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?

2 Answers   HCL,


What is the DD statement for a output file?

3 Answers  


How would you understand error(execution phase)?

0 Answers  


What are the 2 types of parameters in dd statement?

0 Answers  


wht is step lib n job lib ? where can we code joblib n steplib ?

3 Answers   L&T,


whats SOC7?

1 Answers   Patni,


Explain the function of the steplib dd statement?

0 Answers  


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

3 Answers   Wipro,


How to find in aparticular step how many versions a paricular gdg base have?

4 Answers   TCS,


Categories