Find your line, controller, and device descriptions

Use the Work with Configuration Status (WRKCFGSTS) command to find the controller and device under which your application server job starts.

For example:

WRKCFGSTS CFGTYPE(*DEV)
          CFGD(*LOC)
          RMTLOCNAME(DB2ESYS)

The value for the RMTLOCNAME keyword is the application server's name.

The Work with Configuration Status (WRKCFGSTS) command shows all of the devices that have the specified server name as the remote location name. You can tell which device is in use because you can vary on only one device at a time. Use option 8 to work with the device description and then option 5 to display it. The attached controller field gives the name of your controller. You can use the (WRKCFGSTS) command to work with the controller and device descriptions. For example:

WRKCFGSTS CFGTYPE(*CTL)
          CFGD(PCXZZ1205)    /* workstation */
WRKCFGSTS CFGTYPE(*CTL)
          CFGD(LANSLKM)      /* AS/400 on token ring */

The CFGD values are the controller names that are acquired from the device descriptions in the first example in this topic.

The output from the Work with Configuration Status (WRKCFGSTS) command also includes the name of the line description that you need when working with communications traces. If you select option 8 and then option 5 to display the controller description, the active switched line parameter displays the name of the line description. The LAN remote adapter address gives the token-ring address of the remote server.

Another way to find the line name is to use the Work with Line Descriptions (WRKLIND) command, which lists all of the line descriptions for the server.

Related information
Work with Configuration Status (WRKCFGSTS) command
Work with Line Descriptions (WRKLIND) command