I have a situation where I am extracting information from a REXX function and placing it into a REXX variable, such as:
DATE_MONTH = DATE(M)
I am using these REXX variables to allocate files which will be used on a monthly basis, such as:
"ALLOC DA('xxxxxxxx.CCINP."DATE_MONTH"') NEW CATALOG ..."
Information will also be copied from the previous month's file to the new month. I need to update the DATE_MONTH in the new file to reflect that month. I would like to carry the REXX variable DATE_MONTH into an ISREDIT macro to CHANGE the old month to the new month? Is this possible? and how? If not, any recommendations on an alternative. I have read text about ISPF shared variable pools with VGET and VPUT, but I believe those are for Dialog variables, not REXX variables. Any help appreciated. Thanks in advance.
DATE_MONTH = DATE(M)
I am using these REXX variables to allocate files which will be used on a monthly basis, such as:
"ALLOC DA('xxxxxxxx.CCINP."DATE_MONTH"') NEW CATALOG ..."
Information will also be copied from the previous month's file to the new month. I need to update the DATE_MONTH in the new file to reflect that month. I would like to carry the REXX variable DATE_MONTH into an ISREDIT macro to CHANGE the old month to the new month? Is this possible? and how? If not, any recommendations on an alternative. I have read text about ISPF shared variable pools with VGET and VPUT, but I believe those are for Dialog variables, not REXX variables. Any help appreciated. Thanks in advance.