Linkcfg

Purpose Allows you to install and delete link services from the command prompt. Linkcfg allows you to build script files to add link services. If you need to uninstall or reinstall SNA Server, you can reinstall link services by running the Linkcfg script files.

To view the list of link services you can install using Linkcfg, type the command linkcfg. The following appears:

LINKCFG [ LINKSVC /LSTYPE: {
"DCA DFT Link Service"|
"DCA ISCA SDLC Link Service"|
"DCA ISCA X.25 Link Service"|
"IBM DFT Link Service"|
"IBM SDLC Link Service"|>
"IBM Twinax Link Service"|

"IBM X.25 Link Service"|
"MicroGate SDLC Link Service"|
"MicroGate X.25 Link Service"|
"DEMO SDLC Link Service"|
"DLC 802.2 Link Service"|
"Distributed Link Service"|
"Andrew Twinax Link Service" } ]
[ @commandfile ]

Note   If one of the link services was not copied during Setup, it will not appear on the list.

When setting the parameters for each of the link services, you must type the link service exactly as it appears above.

The configurable parameters for each link service are provided in the command-line help. To see the parameters for each, type the following:

LINKCFG LINKSVC /LSTYPE:"name of link service" where the name is one of those listed above. The available parameters will appear on the screen. The following sections list the available parameters for each link service. DCA DFT Link Service Purpose To install the DCA DFT Link Service. Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"DCA DFT Link Service"
/BASEADDR:hexstring
/DISTRIBUTABLE: { yes | no }
 

/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"DCA DFT Link Service"
This parameter is used to list the available options for the DCA DFT link service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/BASEADDR:hexstring
This parameter is used to change the default value of the base address or to enter a base address for an additional adapter card (e.g., 0xA0000, 0xA1000, etc.). See your communications adapter documentation for available DFT base addresses.
/DISTRIBUTABLE: { yes | no }
This parameter is used to specify whether the link service will be distributed. The Distributed Link Service feature provides a method for an SNA Server computer to connect with a host using a link service installed on a different SNA Server computer. For more information, see "What is a Distributed Link Service?" in the Microsoft SNA Server Administration Guide.
DCA ISCA SDLC Link Service Purpose To install the DCA ISCA SDLC Link Service. Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"DCA ISCA SDLC Link Service"
/INTERRUPT:interrupt
/IOADR:ioaddress
/DMACHANNEL:dmachannel
 
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"DCA ISCA SDLC Link Service"
This parameter is used to list the available options for the DCA ISCA SDLC link service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/INTERRUPT:interrupt
Use this parameter to set the interrupt. Make sure the setting matches those for your communications adapter. See your communications adapter documentation for more information.
/IOADR:ioaddress
Use this parameter to enter the I/O address settings. Make sure the I/O address settings match those for your communications adapter. See your communications adapter documentation for more information.
/DMACHANNEL:dmachannel
Direct Memory Address channel: Make sure the settings match those for your communications adapter. See you communications adapter documentation for more information.
DCA ISCA X.25 Link Service Purpose To install the DCA ISCA X.25 Link Service. Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"DCA ISCA X.25 Link Service"
/INTERRUPT:interrupt
/IOADR:ioaddress
/DMACHANNEL:dmachannel
/LINETYPE: {LEASED | SWSSN | SWMSN | SWMD}
/CONSTANTRTS: { yes | no }
/LOCALNUA:nua
/L3WINDOW: {1..7}
/L3PACKET: {64 | 128 | 256 | 512}
/L2WINDOW: {1..7}
/T1TIMEOUT:timeout
/N2RETRY:n2retry
/ACCREVCHG: { yes | no }
/STARTUPRESTART: { yes | no }
/INFILTER: { yes | no }
/STANDBY: { yes | no }
/OUTGOING:outgoing
/TWOWAY:twoway
/INCOMING:incoming
/PVC:pvc
/DATARATE: {HIGH | LOW}
/ENCODING: {NRZ | NRZI}
/DISTRIBUTABLE: { yes | no }
 
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"DCA ISCA X.25 Link Service"
This parameter is used to list the available options for the DCA ISCA X.25 link service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/INTERRUPT:interrupt
Use this parameter to set the interrupt. Make sure the setting matches those for your communications adapter. See your communications adapter documentation for more information.
/IOADR:ioaddress
Use this parameter to enter the I/O address settings. Make sure the I/O address settings match those for your communications adapter. See your communications adapter documentation for more information.
/DMACHANNEL:dmachannel
Direct Memory Address channel: Make sure the settings match those for your communications adapter. See your communications adapter documentation for more information.
/LINETYPE: {LEASED |SWSSN |SWMSN | SWMD }
The default setting is Leased. Other available settings are: SWSSN (Switched Server Stored Number), SWMSN (Switched Modem Stored Number), and SWMD (Switched Manual Dial).
/CONSTANTRTS: { yes | no }
Constant Request to Send: enter YES to leave the Request To Send bit always set.
/LOCALNUA:nua
Use this parameter to set the local X.25 Address. There is no default setting.
/L3WINDOW: {1..7 }
Use this parameter to set the L3 Window size. The default is 2.
/L3PACKET: {64 | 128 | 256 | 512 }
Use this parameter to set the L3 Packet size. The default is 128.
/L2WINDOW: {1..7 }
Use this parameter to set the L2 Window size. The default is 7.
/T1TIMEOUT:timeout
The default is 30.
/N2RETRY:n2retry
The default is 10.

/ACCREVCHG: { yes | no }
Accept Reverse Charges: The default is Off.
/STARTUPRESTART: { yes | no }
The default is On.
/INFILTER: { yes | no }
Incoming Filter: The default is On.
/STANDBY: { on | off }
Select Standby: The default is Off.
/OUTGOING:outgoing
Use this parameter to specify the channel ranges. There is no default.
/TWOWAY:twoway
Specify the Two-Way Service. The default is 0001 – 0004.
/INCOMING:incoming
Specify the Incoming Service. There is no default.
/PVC:pvc
Specify the PVC. There is no default.
/DATARATE: {HIGH | LOW }
Specify the Data Rate. The default is High.
/ENCODING: {NRZ | NRZI}
Specify Encoding as NRZ (Non Return to Zero) or NRZI (Non Return to Zero Inverted). The default is NRZI.
/DISTRIBUTABLE: { yes | no }
This parameter is used to specify whether the link service will be distributed. The Distributed Link Service feature provides a method for an SNA Server computer to connect with a host using a link service installed on a different SNA Server computer. For more information, see "What is a Distributed Link Service?" in the Microsoft SNA Server Administration Guide.
IBM DFT Link Service Purpose To install the IBM DFT Link Service. Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"IBM DFT Link Service"
/BASEADDR:hexstring
/DISTRIBUTABLE: { yes | no }
 
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"IBM DFT Link Service"
This parameter is used to list the available options for the IBM DFT Link Service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/BASEADDR:hexstring
Specify the DFT Base Address. See your communications adapter documentation for more information.
/DISTRIBUTABLE: { yes | no }
This parameter is used to specify whether the link service will be distributed. The Distributed Link Service feature provides a method for an SNA Server computer to connect with a host using a link service installed on a different SNA Server computer. For more information, see "What is a Distributed Link Service?" in the Microsoft SNA Server Administration Guide.
IBM SDLC Link Service Purpose To install the IBM SDLC Link Service. Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"IBM SDLC Link Service"
/ADAPTERTYPE: {"IBM MPCA (base 0x380)" |
"IBM MPCA (base 0x3A0)" |
"IBM SDLC (base 0x380)" |
"IBM MPA/A (Slot {1..8})" |
/DMACHANNEL: {1 | none}
/LINETYPE: {LEASED | SWMSN | SWMD}
/CONSTANTRTS: { yes | no }
/DISTRIBUTABLE: { yes | no }
 
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"IBM SDLC Link Service"
This parameter is used to list the available options for the IBM SDLC Link Service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.

/ADAPTERTYPE: {"IBM MPCA (base 0x380)" |
"IBM MPCA (base 0x3A0)" |
"IBM SDLC (base 0x380)" |
"IBM MPA/A (Slot {1..8})" |

/DMACHANNEL: {1 | none}
Direct Memory Address Channel: Type "1" to select a DMA Channel or "none" to disable use of DMA.
/LINETYPE: {LEASED | SWMSN | SWMD}
Enter the appropriate option: Leased, Switched Modem Stored Number (SWMSN), or Switched Manual Dial (SWMD).
/CONSTANTRTS: { yes | no }
Constant Request to Send is an option that causes the SDLC adapter to be in constant readiness to send data. This option is required if a line is to be used for full duplex. It cannot be used with multidrop.
/DISTRIBUTABLE: { yes | no }
This parameter is used to specify whether the link service will be distributed. The Distributed Link Service feature provides a method for an SNA Server computer to connect with a host using a link service installed on a different SNA Server computer. For more information, see "What is a Distributed Link Service?" in the Microsoft SNA Server Administration Guide.
IBM Twinax Link Service Purpose To install the IBM Twinax Link Service. Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"IBM Twinax Link Service"
/INTERRUPT:interrupt
/IOADR:ioaddress
/PAGEADR:pageaddress
/WSADR:wsaddress
/DISTRIBUTABLE: { yes | no }
 
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"IBM Twinax Link Service"
This parameter is used to list the available options for the IBM Twinax Link Service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/INTERRUPT:interrupt
Type an Interrupt setting from 2 to 7. The Interrupt must be unique and not in use by any other hardware in your server PC. The Interrupt is a signal sent by the adapter card requesting the attention of the CPU.
/IOADR:ioaddress
Type a hexadecimal address of 2xxA where xx is a value from 40 to 7F (for example, 240A or 27FA). The I/O address of the IBM adapter card is expressed as a hexadecimal. The I/O address you enter in this field must match the I/O address setting on the adapter card. Refer to the documentation included with your IBM adapter card.
/PAGEADR:pageaddress
Type a Page Address from 0C000 to FC000. The IBM adapter has 8k of on-board memory that must be mapped into the PC’s address space. The page address parameter specifies the PC address to which this 8K of on board memory is mapped. The IBM adapter requires that the second nibble of the page address have the hexadecimal value ‘C’. The address specified must not conflict with anyother device or board installed in the PC.
/WSADR:wsaddress
Type a value from 0 to 6 to specify the workstation address. The workstation address must match the host’s workstation address on a twinaxial port.
/DISTRIBUTABLE: { yes | no }
This parameter is used to specify whether the link service will be distributed. The Distributed Link Service feature provides a method for an SNA Server computer to connect with a host using a link service installed on a different SNA Server computer. For more information, see "What is a Distributed Link Service?" In the Microsoft SNA Server Administration Guide.
IBM X.25 Link Service Purpose To install the IBM X.25 Link Service. Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"IBM X.25 Link Service"
/ADAPTERTYPE: {"IBM MPCA (base 0x380)" |
"IBM MPCA (base 0x3A0)" |
"IBM SDLC (base 0x380)" |
"IBM MPA/A (Slot {1..8})"
/DMACHANNEL: {1 | none}
/LINETYPE: {LEASED | SWMSN | SWMD}
/LOCALNUA:nua
/L3WINDOW: {1..7}
/L3PACKET: {64 | 128 | 256 | 512}
/L2WINDOW: {1..7}
/T1TIMEOUT:timeout
/N2RETRY:n2retry
/ACCREVCHG: { yes | no }
/STARTUPRESTART: { yes | no }
/INFILTER: { yes | no }
/STANDBY: { yes | no }
/OUTGOING:outgoing
/TWOWAY:twoway
/INCOMING:incoming
/PVC:pvc
/DATARATE: {HIGH | LOW}
/ENCODING: {NRZ | NRZI}
/CONSTANTRTS: { yes | no }
/DISTRIBUTABLE: { yes | no }
 
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"IBM X.25 Link Service"
This parameter is used to list the available options for the IBM X.25 Link Service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/ADAPTERTYPE: {"IBM MPCA (base 0x380)" |
Enter the adapter card you are using from the following list:

For specific information about using IBM SDLC and MPCa adapters and MicroGate MGX and DSA SDLC adapters, see the Microsoft SNA Server Administration Guide.

/DMACHANNEL: {1 | none}
Direct Memory Address Channel: Enter 1 to select the DMA Channel, or None to disable use of DMA. You cannot use DMS Channel if you specify full-duplex.
/LINETYPE: {LEASED | SWMSN | SWMD}
Enter the appropriate option: Leased, Switched Modem-Stored Number (SWMSN), or Switched Manual Dial (SWMD).
/LOCALNUA:nua
Enter the Local NUA address. There is no default.
/L3WINDOW: {1..7}
The default L3 Window Size is 2.
/L3PACKET: {64 | 128 | 256 | 512}
The default L3 packet size is 128.
/L2WINDOW: {1..7}
The default L2 Window size is 7.
/T1TIMEOUT:timeout
The default T1 Timeout setting is 30.
/N2RETRY:n2retry
The default N2 Retry Limit is 10.
/ACCREVCHG: { yes | no }
The default setting for Accept Reverse Charges is No.
/STARTUPRESTART: { yes | no }
The default setting for Startup Restart is Yes.
/INFILTER: { yes | no }
The default setting for Incoming Filter is Yes
/STANDBY: { yes | no }
The default for Select Standby is No.
/OUTGOING:outgoing
There is no default for Outgoing SVC.
/TWOWAY:twoway
The default seting for Two-Way SVC is 0001-0004.
/INCOMING:incoming
There is no default for Incoming SVC.
/PVC:pvc
There is no default setting for PVC.
/DATARATE: {HIGH | LOW}
The default setting for Data Rate is High.
/ENCODING: {NRZ | NRZI}
The default setting for Encoding is NRZ.
/CONSTANTRTS: { yes | no }
Type Yes to enable Constant Request To Send (the send bit is always set).
/DISTRIBUTABLE: { yes | no }
This parameter is used to specify whether the link service will be distributed. The Distributed Link Service feature provides a method for an SNA Server computer to connect with a host using a link service installed on a different SNA Server computer. For more information, see "What is a Distributed Link Service?" in the Microsoft SNA Server Administration Guide.
MicroGate SDLC Link Service Purpose To install the MicroGate SDLC Link Service. Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"Microgate SDLC Link Service"
/ADAPTERTYPE: {"Generic SDLC (base 0x180)" |
"Generic SDLC (base 0x380)" |
"Generic SDLC (base 0x3A0)" |
"Generic MPA/A (Slot {1..8})" |
/DMACHANNEL: {0 | 1 | 3 | none}
/INTERRUPT: {3 | 4 | 5 | 9 | 10 | 11 | 12 | 15}
/LINETYPE: {LEASED | SWSSN | SWMSN | SWMD}
/COMPORT:comport
/BAUDRATE:baud rate
/INCOMINGSTRING:incoming string
/OUTGOINGSTRING:outgoing string
/CONSTANTRTS: { yes | no }
/DISTRIBUTABLE: { yes | no }
 
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"Microgate SDLC Link Service"
This parameter is used to list the available options for the MicroGate SDLC Link Service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/ADAPTERTYPE: {"Generic SDLC (base 0x180)" |
Enter the card you will be using:

"Generic SDLC (base 0x380)" |

"Generic SDLC (base 0x3A0)" |

"Generic MPA/A (Slot {1..8})" |

/DMACHANNEL: {0 | 1 | 3 | none}
Enter 0, 1 or 3 to select a Direct Memory Address Channel, or None to disable use of DMA.
/INTERRUPT: {3 | 4 | 5 | 9 | 10 | 11 | 12 | 15}
If you are installing an IBM SDLC, the interrupt level is hard-coded to three(3) and cannot be changed. If you are installing a MicroGate SDLC, you can change the Interrupt level: enter 3,4,5,9,10,11,12, or 15.
/LINETYPE: {LEASED | SWSSN | SWMSN | SWMD}
Enter the appropriate line type: leased, Switched Server-Stored Number (SWSSN), Switched Modem-Stored Number (SWMSN), or Switched Manual Dial (SWMD).
/COMPORT:comport
Enter the number of the COM port you will be using. For COM1, enter 1. If you are adding a COM port by adding this SDLC card, and you enter a new number for that COM port, Setup responds by allowing you to access the appropriate dialog box for configuring the COM port within Windows NT. The range is from None through 254. The default is None.
/BAUDRATE:baud rate
Enter the rate of transmission. The range includes relevant values from 75 through 115200. The default is 9600.
/INCOMINGSTRING:incoming string
Type the string to be sent to the modem when an incoming call is detected. The default is AT&F&C1&S1&D3&Q1Q1S0=1. This string will be appropriate in most situations. For more information, see the MGATE.HLP help file: Command String Examples topic.
/OUTGOINGSTRING:outgoing string
Type the string to ge sent to themodem when an outgoing call is detected. The default is AT&F&C1&S1&D3&Q1Q1S0=0DT. This string will be appropriate in most situations. For more information, see the MGATE.HLP help file: Command String Examples topic.
/CONSTANTRTS: { yes | no }
Constant Request to Send is an option that causes the SDLC adapter to be in constant readiness to send data. This option is required if a line is to be used for full duplex. It cannot be used with multidrop. Enter Yes to select ConstantRTS.
/DISTRIBUTABLE: { yes | no }
This parameter is used to specify whether the link service will be distributed. The Distributed Link Service feature provides a method for an SNA Server computer to connect with a host using a link service installed on a different SNA Server computer. For more information, see "What is a Distributed Link Service?" in the SNA Server Administration Guide.
MicroGate X.25 Link Service Purpose To install the MicroGate X.25 Link Service. Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"Microgate X.25 Link Service"
/ADAPTERTYPE: {"Generic SDLC (base 0x180)" |
"Generic SDLC (base 0x380)" |
"Generic SDLC (base 0x3A0)" |
"Generic MPA/A (Slot {1..8})" |
/LOCALNUA:nua
/L3WINDOW: {1..7}
/L3PACKET: {64 | 128 | 256 | 512}
/L2WINDOW: {1..7}
/T1TIMEOUT:timeout
/N2RETRY:n2retry
/ACCREVCHG: { yes | no }
/STARTUPRESTART: { yes | no }
/INFILTER: { yes | no }
/STANDBY: { yes | no }
/OUTGOING:outgoing
/TWOWAY:twoway
/INCOMING:incoming
/PVC:pvc
/DATARATE: {HIGH | LOW}
/ENCODING: {NRZ | NRZI}
/DMACHANNEL: {0 | 1 | 3 | none}
/INTERRUPT: {3 | 4 | 5 | 9 | 10 | 11 | 12 | 15}
/LINETYPE: {LEASED | SWMSN | SWMD}
/COMPORT:comport
/BAUDRATE:baud rate
/INCOMINGSTRING:incoming string
/OUTGOINGSTRING:outgoing string
/CONSTANTRTS: { yes | no }
/DISTRIBUTABLE: { yes | no }
 
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"Microgate X.25 Link Service"
This parameter is used to list the available options for the Microgate X.25 Link Service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/ADAPTERTYPE: {"Generic SDLC (base 0x180)" |
Enter the card you will be using. Consult your communications adapter documentation for more information.

"Generic SDLC (base 0x380)" |

"Generic SDLC (base 0x3A0)" |

"Generic MPA/A (Slot {1..8})" |

/LOCALNUA:nua
Enter the Local NUA Address. There is no default.
L3WINDOW: {1..7}
Enter the L3 Window size. The default is 2
/L3PACKET: {64 | 128 | 256 | 512}
Enter the L3 packet size. The default is 128.
/L2WINDOW: {1..7}
Enter the L2 Window size. The default is 7.
/T1TIMEOUT:timeout
Enter the T1 Timeout setting. The default is 30.
/N2RETRY:n2retry
Enter the N2 Retry Limit. The default is 10.
/ACCREVCHG: { yes | no }
Enter yes to enable Accept Reverse Charges. The default is no.
/STARTUPRESTART: { yes | no }
The default for Startup Restart is yes.
/INFILTER: { yes | no }
The default for Incoming Filter is yes.
/STANDBY: { yes | no }
The default for Select Standby is no.
/OUTGOING:outgoing
There is no default setting for Outgoing SVC.
/TWOWAY:twoway
The default value for Two-Way SVC is 0001-0004
/INCOMING:incoming
The default for Incoming Filter is incoming.
/PVC:pvc
There is no default for PVC.
/DATARATE: {HIGH | LOW}
The default value for Data Rate is HIGH.
/ENCODING: {NRZ | NRZI}
The default value for Encoding is NRZ.
/DMACHANNEL: {0 | 1 | 3 | none}
Enter 0, 1, or 3 to enable Direct Memory Address Channel. Enter none to disable use of DMA.
/INTERRUPT: {3 | 4 | 5 | 9 | 10 | 11 | 12 | 15}
To set the Interrupt level, enter 3,4,5,9,10,11,12, or 15.
/LINETYPE: {LEASED | SWMSN | SWMD}
Enter the appropriate line type: Leased, Switched Modem-Stored Number (SWMSN), Switched Manual Dial (SWMD).
/COMPORT:comport
Enter the number for the COM port. For example, for COM1, enter 1.
/BAUDRATE:baud rate
Enter the rate of transmission. The range includes relevant values from 75 through 115200. The default is 9600.
/INCOMINGSTRING:incoming string
Type the string to be sent to the modem when an incoming call is detected. The default is AT&F&C1&S1&D3&Q1Q1S0=1. This string will be appropriate in most situations. For more information, see the MGATE.HLP help file: Command String Examples topic.
/OUTGOINGSTRING:outgoing string
Type the string to get sent to the modem when an outgoing call is detected. The default is AT&F&C1&S1&D3&Q1Q1S0=0DT. This string will be appropriate in most situations. For more information, see the MGATE.HLP help file: Command String Examples topic.
/CONSTANTRTS: { yes | no }
Constant Request to Send is an option that causes the SDLC adapter to be in constant readiness to send data. This option is required if a line is to be used for full duplex. It cannot be used with multidrop. Enter Yes to select ConstantRTS.
/DISTRIBUTABLE: { yes | no }
This parameter is used to specify whether the link service will be distributed. The Distributed Link Service feature provides a method for an SNA Server computer to connect with a host using a link service installed on a different SNA Server computer. For more information, see "What is a Distributed Link Service?" in the Microsoft SNA Server Administration Guide.
Demo SDLC Link Service Purpose To install the Demo SDLC link service. You can install the 3270 Continuous Demo, the 3270 File Transfer Demo, the 3270 Logon Demo, the AS400 Demo, and the LU1 and LU3 Printing Demos. Each of these demos is a script file that is run to demonstrate access to mainframe and AS/400 computers.

Note   Configuration settings specified with LINKCFG correspond to local link configuration settings in SNA Server Manager. Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"DEMO SDLC Link Service"
/SCRIPTFILE: {"3270 Continuous Demo.dem" |
"3270 File Transfer Demo.dem" |
"3270 Logon Demo.dem" |
"AS400 Demo.dem" |
"LU1 Printing Demo.dem" |
"LU3 Printing Demo.dem"}
/DISTRIBUTABLE: { yes | no }
 

/LINKSVC "title"
Enter the name of the service title. The quotes must be included. While any title name can be used, it is recommended that one of the following titles be used:
/LSTYPE:"Demo SDLC Link Service"
This parameter is used to list the available options for the Demo SDLC link service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/SCRIPTFILE:"script file"
This is the name of the demonstration script. SNA Server provides the following scripts:
DLC 802.2 Link Service Purpose To install the DLC 802.2 link service.

Note   Configuration settings specified with linkcfg correspond to local link configuration settings in the SNA Server Manager. Recommended Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"DLC 802.2 Link Service"
/ADAPTERTYPE:adaptertype
/SAP:hexvalue
/DISTRIBUTABLE: { yes | no }
 

/LINKSVC "title"
Enter the name of the service title. The quotes must be included. Any title name can be used.
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"DLC 802.2 Link Service"
This parameter is used to list the available options for the DLC 802.2 link service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/ADAPTERTYPE:adaptertype
This parameter specifies the adapter type (using the adapter name) for the link service. Type the name of the adapter. This is an optional parameter and does not need to be defined if there is only one adapter installed. If there are multiple adapters in the computer and this parameter is not specified, it will use the first adapter it finds in the Registry, and only if the adapter has been bound with the DLC protocol.

The adapter name can be located in the Registry using the following path:

HKEY_LOCAL_MACHINE

SOFTWARE

Microsoft

Windows NT

CurrentVersion

NetworkCards

number

NetRules

The value is:

Bindform:REG_SZ: "short name of adapter" yes yes container

/SAP:hexvalue
Enter the SAP address using a hexidecimal value. For example, an acceptable value is 0x4, or 0xC.
/DISTRIBUTABLE: { yes | no }
This parameter is used to specify whether the link service will be distributed. The Distributed Link Service feature provides a method for an SNA Server computer to connect with a host using a link service installed on a different SNA Server computer. For more information, see "What is a Distributed Link Service?" in the Microsoft SNA Server Administration Guide.
Distributed Link Service Purpose To install a distributed link service.

Note   Configuration settings specified with linkcfg correspond to local link configuration settings in the SNA Server Manager. Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"Distributed Link Service"
/REMOTELINKTYPE: { Channel | DFT | Ethernet802.2 | LeasedSDLC |
SwitchedSDLC | TokenRing802.2 | Twinax | X.25QLLC }
/REMOTELIST:\\server\service[;\\server\service;...]
/ALTLIST:\\server\service[;\\server\service;...]
/DOMAIN:domain
/USERID:userid
/PASSWORD:password
 

/LINKSVC:"title"
Enter the name of the distributed link service. The quotes must be included. Any title name can be used.
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"Distributed Link Service"
This parameter is used to list the available options for the distributed link service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/REMOTELINKTYPE: { Channel | DFT | Ethernet 802.2 | LeasedSDLC | SwitchedSDLC | TokenRing802.2 | Twinax | X.25 }
This parameter defines the remote link type for the distributed link service.
/REMOTELIST:\\server\service[;\\server\service;…]
This is the name of the remote link service, for example \\SNASERV1\SNADLC1;\\SNASERV2\SNADLC1.
/ALTLIST: \\server\service[;\\server\service;…]
These are the names of alternate (backup) link services using the preceding format and example.
/DOMAIN:domain
Enter the name of the SNA Server subdomain. This is a required parameter if SNA Server is installed on a system account, not a local account.
/USERID:userid
Enter the name of the userid for the system account. This is a required parameter if SNA Server is installed on a system account, not a local account.
/PASSWORD:password
Enter the password of the system account. This is a required parameter if SNA Server is installed on a system account, not a local account.
Andrew Twinax Link Service Purpose To install a distributed link service.

Note   Configuration settings specified with linkcfg correspond to local link configuration settings in the SNA Server Manager. Recommended Syntax LINKCFG LINKSVC "title"
/SERVER:servername
/LSTYPE:"Andrew Twinax Link Service"
/INTERRUPT:interrupt
/IOADR:ioaddress
/WSADR:wsaddress
 

/DISTRIBUTABLE: { yes | no }
Note   Before you configure this ANDWTDLC link, you should record the settings on the Andrew twinax adapter installed on your SNA Server computer. The settings you use to configure the ANDWTDLC link driver must match those on your adapter.
/SERVER:servername
This is the name of the computer on which the link service is to be installed.
/LSTYPE:"Andrew Twinax Link Service"
This parameter is used to list the available options for the Andrew Twinax Link Service. You must type in the exact string as shown above for it to work correctly. The quotes must be included.
/INTERRUPT:interrupt
Enter an interrupt setting from 2 to 5. The interrupt is a signal sent by the Andrew adapter card requesting theattention of the CPU. The value you enter must match the setting on the hardware adapter. For details on your adapter card’s interrupt setting, refer to the documentation included with your Andrew adapter card.
/IOADR:ioaddress
Enter a hexadeciaml address from 200 to 3E0. The I/O address of the Andrew adapter card is expressed as a hexadecimal number. The I/O address you enter in this field must match the I/O address setting on the adapter card. For details on your adapter card’s interrupt setting, refer to the documentation included with your Andrew adapter card.
/WSADR:wsaddress
Enter a Workstation address value from 0 to 6. The workstation address you enter must match the host’s workstation address on a twinaxial port.
/DISTRIBUTABLE: { yes | no }
This parameter is used to specify whether the link service will be distributed. The Distributed Link Service feature provides a method for an SNA Server computer to connect with a host using a link service installed on a different SNA Server computer. For more information, see "What is a Distributed Link Service?" in the Microsoft SNA Server Administration Guide.
Linkcfg Messages

The LinkCfg command utility returns the following codes and their corresponding messages. If you use the Windows NT Command Prompt, you only see the message. If you use Microsoft’s System Management Server (SMS) to distribute link services across clients, you see the message and return code.
Error code Message
0 Success.
160 Command line arguments are invalid.
1114 Unable to initialize Link Service DLL.
1157 Unable to locate DLL file.

In addition, LinkCfg will return error codes from GetLastError() calls for all file I/O operations.