Explain about REXX

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


Please Help Members By Posting Answers For Below Questions

When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

1161


How can a fb file convert to vb file using sort program?

1069


What is the function of //jcllib statement?

1061


how to compare two datasets without using superce because output is limited to 133 bytes

1815


What do you understand by the term notcat 2 – gs?

1005


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1929


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY

1111


Can an individual step be restricted from using all the jobs allowed cpu time?

1281


i want to store 20 digits . how will u do it in cobol ?

1111


I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

2280


what happens in execution stage in job processing?

854


What are the 2 types of parameters in dd statement?

891


I need exexution process for JCL programs

2035


what is DD statement is used in JCL?

919


The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?

1237