Writer instructions | |
---|---|
Page title | For most spaces, this page must be titled Space announcements. For spaces with localized content, this page must be titled Space announcements l10n. |
Purpose | Provide an announcement banner on every page of your space. |
Location | Move this page outside of your home branch. |
Guidelines |
_dsnutil() function
The _dsnutil() function invokes the NGTUTIL interface to the IBM DSNUTILB program to run a Db2 standalone utility.
Syntax
The command parameter is a string that contains a valid Db2 standalone utility command. The format of the command is shown in the following example:
Note the following requirements for the command parameter:
- You must precede the command with two blank spaces.
- Ensure that the characters in the Db2 statement are all uppercase.
Restrictions
Any product that invokes SORT, such as CHECK INDEX, will fail. (Because they do not invoke SORT, RUNSTATS and MODIFY will function properly.)
Values returned
The _dsnutil function returns one of the following values:
Value | Description |
---|---|
0 | Successful operation |
-3 | Argument is not valid (for example, if the first two characters of the argument are not blanks) |
Any other non-zero number | Return code from Db2, indicating the result of the Db2 operation |
out.x | Output lines from the Db2 utility Each line in the series of numbered variables (out.1, out.2, out.3, and so on) contains a line of output. The out.0 line contains the total number of output lines. For more information, contact BMC Customer Support. |
Related topic