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

How are datasets concatenated?

3 Answers   CitiGroup,


how to do automated restart when a job abends?

0 Answers   IBM,


what is the Difference between SYSIN and PARM ?

5 Answers   IBM,


Explain about LMINIT - generate a data ID for a data set

1 Answers  


How to delete generations of gdg without deleting gdg base?

3 Answers  






Explain about ISPFTTRC

1 Answers  


how do you code a null statement?

0 Answers   IBM,


if we give two job cards in a single what happens

3 Answers   IBM,


How jcl is used for testing batch programs?

0 Answers  


WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

0 Answers  


what is the difference between return code and maxcc?

2 Answers   iGate,


There is a procedure in A.B.PROCS(PROC1) (member name is PROC1) //PROCA... There is a call to a procedure PROCA from a JOB. //STEP01 EXEC PROCA ... Here "PROCA" in JOB refers to the actual PROC name or the member name of the PDS where this PROCA is stored.

2 Answers   Merrill Lynch,


Categories