98 lines
5.5 KiB
HTML
98 lines
5.5 KiB
HTML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-us">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta name="dc.language" scheme="rfc1766" content="en-us" />
|
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
|
<!-- US Government Users Restricted Rights -->
|
|
<!-- Use, duplication or disclosure restricted by -->
|
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
|
<meta name="dc.date" scheme="iso8601" content="2005-10-03" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
|
|
<meta name="security" content="public" />
|
|
<meta name="Robots" content="index,follow"/>
|
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
|
<title>Example: Change the network attributes (Chicago) in two-system network</title>
|
|
<link rel="stylesheet" type="text/css" href="ibmidwb.css" />
|
|
<link rel="stylesheet" type="text/css" href="ic.css" />
|
|
</head>
|
|
<body>
|
|
<a id="Top_Of_Page" name="Top_Of_Page"></a><!-- Java sync-link -->
|
|
<script language = "Javascript" src = "../rzahg/synch.js" type="text/javascript"></script>
|
|
|
|
|
|
<a name="ch1"></a>
|
|
<h5 id="ch1">Example: Change the network attributes (Chicago) in two-system network</h5>
|
|
<p>Use the Change Network Attributes (CHGNETA) command to set the attributes
|
|
for the system within the network. The following attributes are defined for
|
|
the CHICAGO system, and these attributes apply to all connections in the network
|
|
for this network node. </p>
|
|
<a name="wq67"></a>
|
|
<div class="notetitle" id="wq67">Note:</div>
|
|
<div class="notebody">Read the <a href="rzahj00002.htm#codedisclaimer">code disclaimer information</a> for important legal information.</div>
|
|
<pre class="xmp">/*******************************************************************/
|
|
/* */
|
|
/* MODULE: CHICAGO LIBRARY: PUBSCFGS */
|
|
/* */
|
|
/* LANGUAGE: CL */
|
|
/* */
|
|
/* FUNCTION: CONFIGURES APPN NETWORK: */
|
|
/* */
|
|
/* THIS IS: CHICAGO TO MPLS (nonswitched) */
|
|
/* CHICAGO TO MPLS (switched) */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/* */
|
|
/*******************************************************************/
|
|
PGM
|
|
/* Change network attributes for CHICAGO */
|
|
CHGNETA LCLNETID(APPN) LCLCPNAME(CHICAGO) +
|
|
LCLLOCNAME(CHICAGO) NODETYPE(*NETNODE)
|
|
/*******************************************************************/
|
|
/* CHICAGO TO MPLS (nonswitched) */
|
|
/*******************************************************************/
|
|
/* Create nonswitched line description for CHICAGO to MPLS */
|
|
CRTLINSDLC LIND(MPLSL) RSRCNAME(LIN021)
|
|
/* Create controller description for CHICAGO to MPLS */
|
|
CRTCTLAPPC CTLD(MPLSL) LINKTYPE(*SDLC) LINE(MPLSL) +
|
|
RMTNETID(APPN) RMTCPNAME(MPLS) +
|
|
STNADR(01) NODETYPE(*NETNODE)
|
|
/*******************************************************************/
|
|
/* CHICAGO TO MPLS (switched) */
|
|
/*******************************************************************/
|
|
/* Create switched line description for CHICAGO to MPLS */
|
|
CRTLINSDLC LIND(MPLSS) RSRCNAME(LIN022) CNN(*SWTPP) +
|
|
AUTOANS(*NO) STNADR(01)
|
|
/* Create controller description for CHICAGO to MPLS */
|
|
CRTCTLAPPC CTLD(MPLSS) LINKTYPE(*SDLC) SWITCHED(*YES) +
|
|
SWTLINLST(MPLSS) RMTNETID(APPN) +
|
|
RMTCPNAME(MPLS) INLCNN(*DIAL) +
|
|
CNNNBR(6125551111) STNADR(01) +
|
|
TMSGRPNBR(3) NODETYPE(*NETNODE)
|
|
ENDPGM</pre>
|
|
<dl class="parml">
|
|
<dt class="bold">LCLNETID(APPN)</dt>
|
|
<dd>The name of the local network is APPN. The remote system (MPLS in the
|
|
example program, NN2 in <a href="rzahjex2net.htm#chimult">Figure 5</a>) must specify this name as
|
|
the remote network identifier (RMTNETID) on the CRTCTLAPPC command.
|
|
</dd>
|
|
<dt class="bold">LCLCPNAME(CHICAGO)</dt>
|
|
<dd>The name assigned to the local control point is CHICAGO. The remote
|
|
systems specify this name as the remote control point name (RMTCPNAME) on
|
|
the CRTCTLAPPC command.
|
|
</dd>
|
|
<dt class="bold">LCLLOCNAME(CHICAGO)</dt>
|
|
<dd>The default local location name is CHICAGO. This name will be used for
|
|
the device description that is created by the APPN support.
|
|
</dd>
|
|
<dt class="bold">NODETYPE(*NETNODE)</dt>
|
|
<dd>The local system (CHICAGO) is an APPN network node.
|
|
</dd>
|
|
</dl>
|
|
<a id="Bot_Of_Page" name="Bot_Of_Page"></a>
|
|
</body>
|
|
</html>
|