home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / viscobv6.zip / vac22os2 / ibmcobol / samples / sdu / os400.sna < prev    next >
Text File  |  1995-06-07  |  13KB  |  221 lines

  1. *****************************************************************************
  2. * Copyright (c) IBM Corporation 1993  -  All Rights Reserved                *
  3. *                                                                           *
  4. *                                                                           *
  5. * Sample Network Definition for OS/400                                      *
  6. * ------------------------------------                                      *
  7. *                                                                           *
  8. * This is a SAMPLE of network definitions on the AS/400                     *
  9. * for use with IBM Distributed FileManager (DFM/2) for OS/2.                *
  10. *                                                                           *
  11. *****************************************************************************
  12. *                                                                           *
  13. * DFM/2 (program no. 5648-020)                                              *
  14. * Version: 1.0                                                              *
  15. * Release: 1.0                                                              *
  16. *                                                                           *
  17. * DISCLAIMER OF WARRANTIES:                                                 *
  18. * The following is a sample created by IBM Corporation. It is not part of   *
  19. * any standard or IBM product and is provided to you solely for the purpose *
  20. * of assisting you in the definition of your environment.                   *
  21. * It is provided "AS IS", without warranty of any kind. IBM shall not be    *
  22. * liable for any damages arising out of your use of this sample code, even  *
  23. * if they have been advised of the possiblity of such damages.              *
  24. * BUT STILL:                                                                *
  25. * If you have a proposal about how to make this sample more useful          *
  26. * we would appreciate your comments.                                        *
  27. *****************************************************************************
  28. * CHANGE ACTIVITY                                                           *
  29. * Flag Reason      Level    Date   Origin    Comments                       *
  30. * ------------------------------------------------------------------------- *
  31. *                           930402 Mueller  : Initial Release               *
  32. * IBM Deutschland Entwicklung GmbH, Boeblingen, Germany       GMU at SDFVM1 *
  33. *****************************************************************************
  34. *****************************************************************************
  35. *                                                                           *
  36. * Modify the values as needed.                                              *
  37. * ==> Locate all '%....%' variables (strings starting and ending with '%')  *
  38. *     and replace them with the appropriate values for your environment.    *
  39. *     Note: The %..% notation has been used here as in OS/2 .cmd files      *
  40. *     although this notation does not apply to the examples shown.          *
  41. *                                                                           *
  42. *****************************************************************************
  43.  
  44. *
  45. *   On the AS/400 the following has to be created:
  46. *   - a Line Descriprion (LIND)
  47. *   - a Controller Description (CTLD)
  48. *   - a Device Description (DEVD)
  49. *   - a Mode Description (MODD)
  50. *
  51. *********************************************************************
  52. * The parameters for the LIND are :
  53. *********************************************************************
  54.  Line description . . . . . . . . . :   LIND        %as400_lind_name%
  55.  Option . . . . . . . . . . . . . . :   OPTION      *ALL
  56.  Category of line . . . . . . . . . :               *TRLAN
  57.  Resource name  . . . . . . . . . . :   RSRCNAME    LIN031
  58.  Online at IPL  . . . . . . . . . . :   ONLINE      *YES
  59.  Vary on wait . . . . . . . . . . . :   VRYWAIT     *NOWAIT
  60.  Maximum controllers  . . . . . . . :   MAXCTL      40
  61.  Line speed . . . . . . . . . . . . :   LINESPEED   4M
  62.  Maximum frame size . . . . . . . . :   MAXFRAME    1994
  63.  TRLAN manager logging level  . . . :   TRNLOGLVL   *OFF
  64.    Current logging level  . . . . . :                 *OFF
  65.  TRLAN manager mode . . . . . . . . :   TRNMGRMODE  *OBSERVING
  66.  Log configuration changes  . . . . :   LOGCFGCHG   *NOLOG
  67.  Token-ring inform of beacon  . . . :   TRNINFBCN   *YES
  68.  Local adapter address  . . . . . . :   ADPTADR     %as400_tokrng_addr%
  69.  Exchange identifier  . . . . . . . :   EXCHID      056C0022
  70.  Error threshold level  . . . . . . :   THRESHOLD   *OFF
  71.  Text . . . . . . . . . . . . . . . :   TEXT        Token-Ring Adapter
  72.  SSAP list  . . . . . . . . . . . . :   SSAP
  73.  ----Source Service Access Points-----    ----Source Service Access Points-----
  74.     SSAP      Maximum Frame    Type          SSAP      Maximum Frame    Type
  75.      04         *MAXFRAME      *SNA           08         *MAXFRAME      *SNA
  76.      06         *MAXFRAME      *NONSNA        0C         *MAXFRAME      *SNA
  77.      AA         *MAXFRAME      *NONSNA
  78.  Functional address . . . . . . . . . . . . . . :   FCNADR
  79.  ---------------------Functional Addresses----------------------
  80.    (No functional addresses found)
  81.  Link speed . . . . . . . . . . . . :   LINKSPEED   4M
  82.  Cost/connect time  . . . . . . . . :   COSTCNN     0
  83.  Cost/byte  . . . . . . . . . . . . :   COSTBYTE    0
  84.  Security for line  . . . . . . . . :   SECURITY    *NONSECURE
  85.  Propagation delay  . . . . . . . . :   PRPDLY      *LAN
  86.  User-defined 1 . . . . . . . . . . :   USRDFN1     128
  87.  User-defined 2 . . . . . . . . . . :   USRDFN2     128
  88.  User-defined 3 . . . . . . . . . . :   USRDFN3     128
  89.  Autocreate controller  . . . . . . :   AUTOCRTCTL  *YES
  90.  Autodelete controller  . . . . . . :   AUTODLTCTL  120
  91.  Line description . . . . . . . . . :   LIND        %as400_lind_name%
  92.  Option . . . . . . . . . . . . . . :   OPTION      *ALL
  93.  Category of line . . . . . . . . . :               *TRLAN
  94.  Recovery limits  . . . . . . . . . :   CMNRCYLMT
  95.    Count limit  . . . . . . . . . . :               2
  96.    Time interval  . . . . . . . . . :               5
  97.  
  98. *********************************************************************
  99. * The parameters for the CTLD are :
  100. *********************************************************************
  101.  Controller description . . . . . . :   CTLD        %os2_node_name%
  102.                                                     Note: see end of file
  103.  Option . . . . . . . . . . . . . . :   OPTION      *ALL
  104.  Category of controller . . . . . . :               *APPC
  105.  Link type  . . . . . . . . . . . . :   LINKTYPE    *LAN
  106.  Online at IPL  . . . . . . . . . . :   ONLINE      *YES
  107.  Active switched line . . . . . . . :               %as400_lind_name%
  108.  Character code . . . . . . . . . . :   CODE        *EBCDIC
  109.  Maximum frame size . . . . . . . . :   MAXFRAME    16393
  110.  Remote network identifier  . . . . :   RMTNETID    %netid%
  111.  Remote control point . . . . . . . :   RMTCPNAME   %os2_node_name%
  112.  Initial connection . . . . . . . . :   INLCNN      *DIAL
  113.  Dial initiation  . . . . . . . . . :   DIALINIT    *LINKTYPE
  114.  Switched disconnect  . . . . . . . :   SWTDSC      *YES
  115.  Data link role . . . . . . . . . . :   ROLE        *NEG
  116.  LAN remote adapter address . . . . :   ADPTADR     %os2_tokrng_addr%
  117.                                                     Note: see end of file
  118.  LAN DSAP . . . . . . . . . . . . . :   DSAP        04
  119.  LAN SSAP . . . . . . . . . . . . . :   SSAP        04
  120.  Text . . . . . . . . . . . . . . . :   TEXT
  121.  Switched line list . . . . . . . . :   SWTLINLST
  122.  --------------------Switched Lines---------------------
  123.  %as400_lind_name%
  124.  Attached devices . . . . . . . . . :   DEV
  125.  -------------------Attached Devices--------------------
  126.  %os2_lu_name%                          Note: see end of file
  127.  APPN-capable . . . . . . . . . . . :   APPN        *YES
  128.  APPN CP session support  . . . . . :   CPSSN       *YES
  129.  APPN node type . . . . . . . . . . :   NODETYPE    *CALC
  130.  APPN transmission group number . . :   TMSGRPNBR   *CALC
  131.  APPN minimum switched status . . . :   MINSWTSTS   *VRYONPND
  132.  Autodelete device  . . . . . . . . :   AUTODLTDEV  *NO
  133.  User-defined 1 . . . . . . . . . . :   USRDFN1     *LIND
  134.  User-defined 2 . . . . . . . . . . :   USRDFN2     *LIND
  135.  User-defined 3 . . . . . . . . . . :   USRDFN3     *LIND
  136.  Model controller description . . . :   MDLCTL      *NO
  137.  Control owner  . . . . . . . . . . :   CTLOWN      *USER
  138.  Disconnect timer . . . . . . . . . :   DSCTMR
  139.    Minimum connect timer  . . . . . :               170
  140.    Disconnection delay timer  . . . :               0
  141.  LAN frame retry  . . . . . . . . . :   LANFRMRTY   10
  142.  LAN connection retry . . . . . . . :   LANCNNRTY   10
  143.  LAN response timer . . . . . . . . :   LANRSPTMR   10
  144.  LAN connection timer . . . . . . . :   LANCNNTMR   70
  145.  LAN acknowledgement timer  . . . . :   LANACKTMR   1
  146.  LAN inactivity timer . . . . . . . :   LANINACTMR  100
  147.  Controller description . . . . . . :   CTLD        %os2_node_name%
  148.  Option . . . . . . . . . . . . . . :   OPTION      *ALL
  149.  Category of controller . . . . . . :               *APPC
  150.  LAN acknowledgement frequency  . . :   LANACKFRQ   1
  151.  LAN max outstanding frames . . . . :   LANMAXOUT   2
  152.  LAN access priority  . . . . . . . :   LANACCPTY   0
  153.  LAN window step  . . . . . . . . . :   LANWDWSTP   *NONE
  154.  Recovery limits  . . . . . . . . . :   CMNRCYLMT
  155.    Count limit  . . . . . . . . . . :               2
  156.    Time interval  . . . . . . . . . :               5
  157. *
  158. *********************************************************************
  159. * The parameters for the DEVD are :
  160. *********************************************************************
  161. *
  162.  Device description . . . . . . . . :   DEVD        %os2_lu_name%
  163.                                                     Note: see end of file
  164.  Option . . . . . . . . . . . . . . :   OPTION      *ALL
  165.  Category of device . . . . . . . . :               *APPC
  166.  Automatically created  . . . . . . :               NO
  167.  Remote location  . . . . . . . . . :   RMTLOCNAME  %os2_lu_name%
  168.  Online at IPL  . . . . . . . . . . :   ONLINE      *YES
  169.  Local location . . . . . . . . . . :   LCLLOCNAME  %as400_lu_name%
  170.  Remote network identifier  . . . . :   RMTNETID    *NETATR
  171.  Attached controller  . . . . . . . :   CTL         %os2_node_name%
  172.  Message queue  . . . . . . . . . . :   MSGQ        QSYSOPR
  173.    Library  . . . . . . . . . . . . :                 *LIBL
  174.  Local location address . . . . . . :   LOCADR      00
  175.  APPN-capable . . . . . . . . . . . :   APPN        *YES
  176.  Single session . . . . . . . . . . :   SNGSSN
  177.    Single session capable . . . . . :               *NO
  178.  Text . . . . . . . . . . . . . . . :   TEXT
  179.  Mode . . . . . . . . . . . . . . . :   MODE
  180.  -------------------------Mode--------------------------
  181.  *NETATR
  182. *
  183. *********************************************************************
  184. * The parameters for the MODD are :
  185. *********************************************************************
  186. *
  187.  Mode description . . . . . . . . . :   MODD        APPCLU62
  188.  Class-of-service . . . . . . . . . :   COS         #CONNECT
  189.  Maximum sessions . . . . . . . . . :   MAXSSN      64
  190.  Maximum conversations  . . . . . . :   MAXCNV      64
  191.  Locally controlled sessions  . . . :   LCLCTLSSN   0
  192.  Pre-established sessions . . . . . :   PREESTSSN   0
  193.  Inbound pacing value . . . . . . . :   INPACING    7
  194.  Outbound pacing value  . . . . . . :   OUTPACING   7
  195.  Maximum length of request unit . . :   MAXLENRU    *CALC
  196.  Text . . . . . . . . . . . . . . . :   TEXT
  197.  
  198. *********************************************************************
  199. * Notes:
  200. ********
  201. *
  202. %os2_node_name%   You find the node name for each of the linked PS/2s
  203.                   in the node definitions file for the
  204.                   OS/2 ES Communication Manager
  205.                   (this is the xxx.NDF file normally residing in c:\cmlib\appn)
  206.                   in the DEFINE_LOCAL_CP statement
  207.                   as the last parameter in the FQ_CP_NAME specification.
  208. %os2_tokrng_addr%  You find the Token Ring Address for each of the linked PS/2s
  209.                   in a configuration report for the PS/2s (if you have them)
  210.                   as the adapter address for the Token Ring adapter.
  211.                   The configuration of a PS/2 can normally be viewed after
  212.                   power-on, in a machine-dependent way.
  213.                   The easiest way is to look into the OS/2 file
  214.                   LANTRAN.LOG, which is normally located in c:\IBMCOM.
  215. %os2_lu_name%     You find logical unit name(s) for each of the linked PS/2s
  216.                   in the node definitions file for the
  217.                   OS/2 ES Communication Manager
  218.                   in DEFINE_LOCAL_LU statement(s), or one is generated from
  219.                   the FQ_CP_NAME parameter in the DEFINE_LOCAL_CP statement.
  220. *****************************************************************************
  221.