changeKeyword

Purpose:

Change a Keyword of the PAM Datapoint file in the current directory.

Enter:

changeKeyword <filename> <old_PAM_keyword> <new_PAM_keyword>

Where:

filename Specify the name of the PAM file in which to change the keyword. Wild cards are valid. 
old_PAM_keyword Specify the PAM keyword to change in the file. 
new_PAM_keyword  Specify the new PAM keyword to replace the old_PAM_keyword in the file.

Example:

changeKeyword USER1  USER2  MYTESTID.*

The above command changes the PAM keyword USER1 to USER2 in any PAM datapoint file whose name begins with ‘MYTESTID’ in the current directory.  It reads each file and replaces ‘USER1’ with ‘USER2’.

Notes:

Be sure to ‘cd’ to the directory containing the files to be changed before entering the command.

See Also:

PAM Data Collection and Transfer