Idea Details

IDCAMS ALTER NEWNAME should result in an update of the DSN in the TMC

Last activity 10-03-2018 03:18 PM
Achim Mueller's profile image
06-03-2016 10:11 AM

Idea has been created for BMW BAYERISCHE MOTORENWERKE AG (Case # 00422623)

 

Under the following conditions, it is possible to rename Tape Data Sets running IDCAMS ALTER with NEWNAME:

 

- Both the old and new data set names must be greater than 16 characters

- The last 17 characters of the old and new data set names must match

 

If the Tape Data Sets are renamed, they can no longer be used for OPEN INPUT, as the Data Set Name in the Catalog, does no longer match the DSN in the TMC and the Tape is rejected with IEFTMS50 1XX-08.

 

CA 1 should intercept the IDCAMS ALTER NEWNAME and update the DSN in the TMC Volume or DSNB record accordingly to prevent the IEFTMS50 1XX-08 Abends.


Comments

06-07-2016 04:26 AM

Russell,

if the above conditions are not met, then IDCAMS ALTER NEWNAME fails with:

IDC3009I ** VSAM CATALOG RETURN CODE IS 48 - REASON CODE IS IGG0CLE6-74

 

RETURN CODE 48 Explanation: Incorrect catalog function.

74          Explanation: An alter newname of a tape data set is incorrect.  

                                                                            

            Programmer Response: Do not attempt the incorrect ALTER commands.

            Correct the commands. Run the job again.                        

 

This should not change. Only if the rename is successful, then the DSN in the TMC should be updated.

I wonder if SMF Record Type 66 could be used.

 

Thanks

Achim            

06-03-2016 04:43 PM

What should be done if the 2 conditions you list are not met? Should the IDCAMS ALTER be failed?