Explain about REXX
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 |
I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?
Please explain with syntax and an example, the Inrec fields and Outrec build in sort.
how you can direct the data to spool using SYSOUT option?
WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)
What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?
How do you submit a job for execution?
What is the difference between sb37,se37,sd37 each?
restart logic ?
how to resolve sb37,sd37 se37 abends
Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.
what is a null indicator in db2?
What are the 4 fields in dd statement?