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

What methodology can be adapted to transfer data to a program that is coded using the exec statement?

922


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

1088


what is a jcl?

909


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2230


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2308


In job processing, what happens in conversion stage?

982


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

4603


how to do automated restart when a job abends?

1144


What is the purpose of dd dummy statement?

1201


what is JCL?

957


in ways data can be passed to a COBOL program from JCL?

916


How can the attributes of one sms dataset be copied to another dataset?

1161


Explain about LMFREE�free data set from its association with data ID

1336


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

960


Does jcl support automatic restart?

1007