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

why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1942


What is the function of the dd avgrec keyword in sms datasets?

834


what operation is performed by job statement?

654


what is the use of JCL?

658


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2095






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

521


how do you access an uncataloged dataset in a jcl?

827


define cond parameter in jcl?

771


What is notcat 2 - gs?

930


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

792


Explain the function of dd name parameter with a 2 part structure; audit.report?

890


What do you understand by the term job time – out and how can you overcome that?

595


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

1476


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

730


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

749