This SAS Note provides supplementary information about the RENAME function under z/OS for the "RENAME Function" section of SAS 9.4 Functions and CALL Routines: Reference.
Native-cataloged data sets under z/OS are not currently supported by the RENAME function. However, the RENAME function does work for some native-cataloged data sets, but it might incorrectly generate a return code (RC) of 1. Here is a detailed description of how the RENAME function performs in the various environments under z/OS:
Note: When the RENAME function is unable to rename a z/OS native-cataloged data set and generates a nonzero RC, the RC for the job step is not affected. The programmer must test all the function RCs and address any issues.
It is recommended that you do not use the RENAME function for z/OS native-cataloged data sets at this time.