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

I have 60 steps in the JCL and want to Execute Only First from PROC by overriding in JCL ?

1455


When output dataset space is required, what quantity categories are used?

948


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

2091


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5167


What do you understand by jcl?

713






how do you code a null statement?

878


What are hierarchy levels in jcl?

1081


What is the use of disp parameter?

727


Explain the function of //cntl statement?

747


which parameter is used to check the syntax of a jcl without executing it?

903


What is the function of the dd dcb keyword?

930


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

898


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

960


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

1787


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

814