Use this command to display information about server options.
Change server options by editing the server options file or by issuing the SETOPT command. If you edit the server options file, you must restart the server before any changes take effect. Any changes you make by issuing the SETOPT command take effect immediately.
Privilege Class
Any administrator can issue this command.
Syntax
.-*----------. >>-Query OPTion----+------------+------------------------------>< '-optionname-'
Parameters
Examples
Task 1
Display general information about all server options.
+--------------------------------------------------------------------------------+ |Server Option Option Setting Server Option Option Setting | |----------------- ---------------- ----------------- -------------- | |CommTimeOut 60 IdleTimeOut 15 | |BufPoolSize 2048 LogPoolSize 512 | |DateFormat 1 (mm/dd/yyyy) TimeFormat 1 (hh:mm:ss) | |NumberFormat 1 (1,000.00) MessageFormat 1 | |Language AMENG MaxSessions 25 | |ExpInterval 24 ExpQuiet No | |EventServerLoggi- Yes MirrorRead DB Normal | | ng | |MirrorRead LOG Normal MirrorWrite DB Sequential | |MirrorWrite LOG Parallel TxnGroupMax 40 | |MoveBatchSize 40 MoveSizeThresh 500 | |StatusMsgCnt 10 RestoreInterval 1,440 | |UseLargeBuffers Yes DisableScheds No | |AuditStorage Yes REQSYSauthoutfile Yes | |SELFTUNEBUFpools- No SELFTUNETXNsize No | | ize | |DBPAGEShadow Yes DBPAGESHADOWFile dbpgshdw.bdt | |TCPPort 1599 HTTPPort 1699 | |HTTPSPort 1543 TCPWindowsize 0 | |TCPBufsize 16384 TCPNoDelay Yes | |IPXSocket 8522 NetbiosBufferSize 16384 | |NetbiosSessions 25 LuName DSMSERV1 | |TPNProfilename TPNAME dsmserv | |IPXBufferSize 4096 CommMethod TCPIP | |CommMethod HTTP MsgInterval 1 | |Enable3590Library No ShmPort 1510 | |FileExit UserExit | |FileTextExit Yes | |AcsAccessId AcsTimeoutX 1 | |AcsLockDrive No AcsQuickInit No | |SNMPSubagentPort 1521 SNMPSubagentHost 127.0.0.1 | |SNMPHeartBeatInt 5 TECHost | |TECPort 0 | | | +--------------------------------------------------------------------------------+
where:
Task 2
View the option settings for all options that begin with L.
+--------------------------------------------------------------------------------+ |Server Option Option Setting | |----------------- -------------------- | |LogPoolSize 256 | |Language AMENG | | | +--------------------------------------------------------------------------------+
Related Commands
Table 184. Commands Related to QUERY OPTION
Command | Description |
---|---|
SETOPT | Updates a server option without stopping and restarting the server. |