Example: Configure system: New York

The following CL commands are used to define the configuration for the system identified as NEWYORK (system A in Figure 7). The examples show these commands as used within a CL program; the configuration can also be performed using the configuration menus.

Note:
Read the code disclaimer information for important legal information.
/*********************************************************************/
/*                                                                   */
/*  MODULE:  NYCINT                    LIBRARY:  PUBSCFGS            */
/*                                                                   */
/*  LANGUAGE:  CL                                                    */
/*                                                                   */
/*  FUNCTION:  CONFIGURES APPN EN-NN AS FOLLOWS:                     */
/*                                                                   */
/*                                                                   */
/*                  NEWYORK /_______\ DETROIT                        */
/*                          \       /                                */
/*                                                                   */
/*                 (THIS IS NEWYORK TO DETROIT)                      */
/*                                                                   */
/*                                                                   */
/*                                                                   */
/*********************************************************************/
PGM
/*********************************************************************/
/*                         NEWYORK TO DETROIT                        */
/*********************************************************************/
             /* Change network attributes for NEWYORK  */
             CHGNETA    LCLNETID(NEWNET) LCLCPNAME(NEWYORK)
                          LCLLOCNAME(NEWYORK) NODETYPE(*ENDNODE)
                          NETSERVER((NEWNET DETROIT))
             /* Create line description for NEWYORK to DETROIT */
             CRTLINSDLC LIND(DETROIT) RSRCNAME(LIN011)
             /* Create controller description for NEWYORK to
                                                        DETROIT */
             CRTCTLAPPC CTLD(DETROIT) LINKTYPE(*SDLC) LINE(DETROIT)
                          RMTNETID(NEWNET) RMTCPNAME(DETROIT)
                          STNADR(01) NODETYPE(*NETNODE)
ENDPGM