changeUnits
Purpose:
-
Change the units of a specified keyword in a specified PAM Datapoint file in the current directory.
Enter:
-
changeUnits <filename> <PAM_keyword> <new_PAM_unit>
Where:
-
filename Specify the name of the PAM Datapoint file to modify. PAM_keyword Specify the keyword whose units are to be changed. new_PAM_unit Specify the new units to set for the specified keyword.
Example:
-
changeUnits USER1@22 LB/MIN MYTESTID.*
The above command changes the units associated with PAM keyword USER1@22 to LB/MIN in any PAM datapoint file whose name begins with ‘MYTESTID’ in the current directory. It reads each file and replaces any found units for PAM keyword USER1@22 with LB/MIN.
Notes:
-
Ensure the file is in the current directory or provide the full path as the program does not handle multiple files.