Adding a command and line number

You can change an existing script by adding new lines.

About this task

To add the SET REGISTRATION OPEN command as the new line 007 in the QSTATUS script, issue the following command:
update script qstatus "set registration open" line=7
The QSTATUS script is updated to contain the following lines:
001 /* This is the QSTATUS script */
005 QUERY STATUS
007 SET REGISTRATION OPEN
010 QUERY STGPOOL
015 QUERY SESSION