![]() |
ONXREN Rename Files/Lib.Elements/Jobvars.
'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)