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 |
What are the maximum and minimum sizes of any CONTROL AREA (VSAM datasets) ?
what is use of space parameter in dd statement?
Explain the function of dd name parameter with a 2 part structure; audit.report?
what is a MODELDSCB?
how many members can be created inside a single pds?
what are the options in file-aid to edit vsam dataset and to compare data sets.
How to execute 2nd and 4th steps among 5 steps in jcl proc?
Why we us SYSTSIN DD with IKJEFT01 (TSO Utility) to execute a COBOL DB2 program? Why can't we use SYSIN DD?
Hi, I have a requirement File A : I have 6 records out of which 4 are same. File B: I have 8 records out of 6 records are same. The 4 records in FILEA and 6 records in FILE B are same. If we substract we will get two records, I need these two records in output file This is because to remove the duplicates from the database. Through easytrieve we can compare but for that there should not duplicates, but in my file I have duplicates. Thanks in advance!!
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
Can we give two user name in NOTIFY parameter in JOBCARD
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you