![]() |
Selection mask - - VARIABLE ACTION field - - REN
'str1'='str2' The new name is constructed such that the original name is searched for 'str1' and replaced by 'str2'. By definition, every name is suffixed with a blank string '_', and prefixed with an empty string ''
For more information on Name transformation rules see page 5-.
If the name does not contain 'str1', the REN Variable Action will not be executed for this data object.
Examples:
ONXREN'KLM'='S'
The first occurrence of the string 'KLM' will be replaced by 'S'.
e.g. AB.D.KLMDATA --> AB.D.SDATA
ONXREN''='ABC.'
The names will be prefixed with 'ABC.' .
ONXREN' '='.X'
The names will be suffixed with '.X' .
ONXREN' /'='001/'
This Variable Action will cause all blank version descriptions ( .../___/... ), of an LMS-ISAM library to be replaced by 001 (.../001/... ).
ONXREN'/###'=''
This Variable Action will result in any one to three character version descriptions being removed from PLAM elements. For longer version descriptions, more # characters should be specified.
Notes:
A userid cannot be changed with the REN Variable Action, i.e. it is not possible to rename data objects across userid's.
PLAM library elements can be prefixed using the REN Variable Action as follows: ONXREN'/'= '/prefix.' .
Example: ONXREN'/'='/NEW.' (S/XYZ/001 --> S/NEW.XYZ/001)
-------------------------------------------------------- TSOS:
ONXREN ''='$user-id2.'
ONXREN '$user-id1.'='$user-id2.'
This Variable Action will cause all the files marked with X to be renamed from their current userid to a new userid, $user-id2. This can only be done between userids within the same PVS, because the data is not physically moved.
If the names of the files in the file list are displayed without the userid, then the Action should be entered using the general CFS name transformation rules (see page Seite 5-): ONXREN ''='$user-id2.'
If the names of the files in the file list do contain the userid ($user-id1.), then the Action should be entered as follows: ONXREN '$user-id1.'='$user-id2.'
Files on private volumes, or file generations cannot be renamed to another userid using the ONXREN Variable Action.