Changing a Soft Link's Expiration or Extension Value
Use the dcecp program's link modify command to specify a new value for the expiration and extension values that are stored in a soft link's CDS_LinkTimeout
attribute. Even if you want to modify only one of the values, you must specify values for both expiration and extension in your command. You specify a new value in the same format that you used to
establish the original value. The expiration value has the format yyyy-mm-dd-hh:mm:ss and an extension value has the format ddd-hh:mm:ss.
To change a soft link's expiration or extension value, you must have write permission to the soft link.
The following command sets the expiration value of a soft link that is named /.:/eng/link01 to December 31, 1994, at 12:00 p.m. In this example, no extension is currently assigned to the
soft link.
dcecp> link modify /.:/eng/link01 -change {CDS_LinkTimeout (1994-12-31-12:00:00 000-00:00:00} dcecp>
The following command changes the expiration value of a soft link that is named /.:/eng/link01 to December 31, 1994, at 12:00 p.m. and sets the soft link's extension value to 90 days:
dcecp> link modify /.:/eng/link01 -change {CDS_LinkTimeout 1994-12-31-12:00:00 \ 090-00:00:00} dcecp>
|