You can change an existing command line by specifying the LINE= parameter.
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