Change Mode Name (QNMCHGMN) API


  Required Parameter Group:


  Default Public Authority: *USE

  Threadsafe: No

The Change Mode Name (QNMCHGMN) API, an SNA/Management Services Transport API, sets the APPC mode name used when sending requests.

When a specific mode name is specified, direct routing is used. The result is a direct session from the source system to the target system.

Data sent using the system mode name SNASVCMG is sent at network priority, which means that data specifying this mode flows before any other data. Setting the mode to something other than SNASVCMG can lessen the effect on network performance and allow bulk data transfer. If large amounts of data are to be sent relative to the speed of the communications medium, then consider another mode. A mode object specified by its name in the mode name parameter must exist at the time this API is called.


Authorities and Locks

None.


Required Parameter Group

Handle
INPUT; BINARY(4)

The unique identifier for this application, which was returned by the Start Application (QNMSTRAP) API.

Mode name
INPUT; CHAR(8)

The APPC mode name used on subsequent requests. Special values are:

Note: Some products other than System i™ only support *DFTRTG.

Error code
I/O; CHAR(*)

The structure in which to return error information. For the format of the structure, see Error code parameter.


Error Messages



API introduced: V2R2

[ Back to top | Network Management APIs | APIs by category ]