BRMS will allow media that is associated with a move policy to be retained on the system for a period of time after it has been transferred to the cloud by running the following command:
CALL PGM(QBRM/Q1AOLD) PARM('CLOUD ' 'RETAINDATA' 'S' 'mmmmmmmmmm' 'dddd')
mmmmmmmmmm is the move policy name being updated.
dddd is the number of days (prefixed with 0's) to retain media on the system after it has been transferred to the cloud location.
NOTE: The number of days to retain media on the system starts on the first full day after the transfer occurs.
To change set the cloud data retention of move policy CLDMOVPCY to 7 days, run the following command:
CALL PGM(QBRM/Q1AOLD) PARM('CLOUD ' 'RETAINDATA' 'S' 'CLDMOVPCY ' '0007')
Remote cloud restores are not supported when using this option until after the retention period has exceeded.
Using this option will require additional storage on your system.
To verify what move policies are set to, run this query prior to the December 2019 BRMS PTFs:
To display the cloud data retention with the December 2019 BRMS PTFS applied:
In 7.4 and later,
WRKPCYBRM TYPE(*MOV) the
‘Retain media’ field was added to support this cloud data retention value.