Replacing an existing command

You can change an existing command line by specifying the LINE= parameter.

About this task

Line number 010 in the QSTATUS script contains a QUERY PROCESS command. To replace the QUERY PROCESS command with the QUERY STGPOOL command, specify the LINE= parameter as follows:
update script qstatus "query stgpool" line=10
The QSTATUS script is updated to contain the following lines:
001 /* This is the QSTATUS script */
005 QUERY STATUS
010 QUERY STGPOOL
015 QUERY SESSION