home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / lan / 21ripl.zip / IBMLS.ZIP / RPLSDMSG.CMD < prev    next >
OS/2 REXX Batch file  |  1993-05-28  |  11KB  |  218 lines

  1. /***********************************************************************/
  2. /*                            NLS messages                             */
  3. /*                                                                     */
  4. /* This procedure contains all the message strings that should be      */
  5. /* translated for NLS support.                                         */
  6. /*                                                                     */
  7. /* This procedure is called by RPLSETD.CMD.  It stacks all the         */
  8. /* message strings in the standard rexx queue in FIFO order.           */
  9. /* When control is return to RPLSETD.CMD, RPLSETD will pull the        */
  10. /* message strings from the queue and assign them to the appropriate   */
  11. /* message variable.                                                   */
  12. /*                                                                     */
  13. /* Notes:The %1, %2, etc. strings represent dynamic data fields that   */
  14. /*       are filled in when the message is displayed.  Do not          */
  15. /*       translate the %1, %2, etc. fields.                            */
  16. /*                                                                     */
  17. /*       The %Tnn and %Inn (nn is a number) strings in the syntax      */
  18. /*       help messages represent special formatting control data and   */
  19. /*       should not be translated.  The %Tnn represents number of      */
  20. /*       blanks that should be prepended to the start of the message.  */
  21. /*       The %Inn represents the indentation value to use if a line    */
  22. /*       has to be split across 1 or more following lines.             */
  23. /*                                                                     */
  24. /*       The 'CRLF,' sequence that ends some lines represents          */
  25. /*       formatting control (new line) and should not be translated.   */
  26. /***********************************************************************/
  27. parse arg msgtype
  28.  
  29. /* do not translate the following line */
  30. CRLF = '0A0D'X
  31.  
  32. /* translate all message strings that follow */
  33. /* message prefix strings */
  34. errprefix = 'ERROR: '
  35. unknown = 'UNKNOWN'
  36.  
  37. /* start of error and informational messages */
  38. message.1 = 'Missing keyword in '
  39. message.2 = 'Client or Clientlist and DisplayDriver, Bustype, or swaptarget',
  40.             'are required.'
  41. message.3 = 'HISTORY LOG: '
  42. message.4 = 'Unable to open the Logfile '
  43. message.5 = 'The display driver %1.DLL is not installed in the Remote IPL',
  44.             'directory %2.'
  45. message.6 = 'Invalid Bus type specified.'
  46. message.7 = 'Error detected.  Check log file: '
  47. message.8 = 'The version of LAN Server is prior to Version 2.0.'
  48. message.9 = ' is using OS/2 directory %1.  The version of',
  49.             'OS/2 in the %1 directory tree is %2.',
  50.             'This version of OS/2 does not support 32 bit display drivers.'
  51. message.10 = ' could not be found.'
  52. message.11 = ' copy of %1 was updated.'
  53. message.12 = ' copy of %1 was not updated.'
  54. message.13 = '.FIT was updated.'
  55. message.14 = '.FIT was not updated.'
  56. message.15 = ' copy of OS2INI.20 was not updated.  Either the file did' CRLF,
  57.              'not exist or the Remote client is still powered up and has the' CRLF,
  58.              'file locked.  Processing terminated for '
  59. message.16 = 'Not able to upgrade the format of file %1\IBMCOM\%2\CONFIG.20.'
  60. message.17 = 'The PATH environment variable does not contain a reference to' CRLF,
  61.              '\IBMLAN.  Either LAN Server 2.0 is not installed or the PATH' CRLF,
  62.              'variable has been modified to remove \IBMLAN references.  If' CRLF,
  63.              'LAN Server 2.0 is installed, use the SET command to update the' CRLF,
  64.              'PATH variable to specify the path for the directory \IBMLAN\NETPROG' CRLF,
  65.              'and then rerun RPLSETD.CMD.'
  66. message.18 = 'RPLDIR parameter was not found in IBMLAN.INI.'
  67. message.19 = 'Invalid display driver specified.'
  68. message.20 = 'The option %1 is not a valid option.'
  69. message.21 = 'The following RPLSETD command syntax is not valid:' CRLF,
  70.              '  RPLSETD  %1 %2 %3 %4 %5 %6 %7 %8'
  71. message.22 = ' 'CRLF 'Press the Enter key for next screen.'
  72. message.23 = 'The RPLMIG21.CMD procedure has not been run to upgrade Remote IPL' CRLF,
  73.              'to support OS/2 2.1.  Run RPLMIG21.CMD prior to using RPLSETD.CMD.'
  74. message.24 = ' is not a valid RIPL client name.'
  75. message.25 = ' is not a valid response file entry.  Entry was ignored.'
  76. message.26 = '/N (NEWOS2DIR) must be specified when /O (CURRENTOS2DIR) is specified.'
  77. message.27 = ' workstation record in RPL.MAP was updated.'
  78. message.28 = ' workstation record in RPL.MAP could not be updated.'
  79. message.29 = 'Invalid swaptarget specified.'
  80. message.30 = '/C (CLIENT or CLIENTLIST) is a required parameter.'
  81. message.31 = 'At least one of following must also be specified: ' CRLF,
  82.              '/D (DISPLAYDRIVER),/N (NEWSO2DIR), /B (BUSTYPE),' ,
  83.              'and/or /S (SWAPTARGET).'
  84. message.32 = ' is an OS/2 2.1 client.  Conversion to a previous OS/2 version',
  85.              'is not allowed.'
  86. message.33 = 'The /O (CURRENTOS2) value %1 does not match the operating system ',
  87.              'type of client %3.  The operating system type of %3 is %2.'
  88. message.34 = 'The client copy of the WINOS2 *.INI and *.GRP files have been replaced',
  89.              'with the OS/2 2.1 version of those files.'
  90. message.35 = ' is an OS/2 1.3.2 RIPL client.  1.3.2 RIPL clients cannot be',
  91.              'upgraded.'
  92. message.36 = 'DEFALT21 is a reserved name.  RPLSETD can not update DEFALT21.'
  93. message.37 = ''
  94. message.38 = ''
  95. message.39 = ''
  96.  
  97. /* start of syntax help messages */
  98. /* %Tnn, %Inn, and CRLF strings are format controls, do not translate them */
  99. message.40 = '%T10 %I10 ' ,
  100.              'RPLSETD   [? | /H] /C:client[,client2,client3,...]  [/D:driver] ',
  101.              '[/O:current_OS2]  [/N:new_OS2] [/L:Logfile]   [/R:Response_file]'CRLF,
  102.              ' '
  103. message.41 = '%T10 %I8 ' ,
  104.              'where ? or /H is a request for this help panel.  If specified, it must',
  105.              'be first parameter.'CRLF,
  106.              ' '
  107. message.42 = '%T16 %I3 ' ,
  108.              '/C:client (CLIENT or CLIENTLIST) is the name of one or more OS/2',
  109.              'Remote IPL client workstations.  If more than one client is',
  110.              'specified, each client name must be separated with a comma.',
  111.              'Imbedded blanks are not allowed.  Multiple CLIENT and/or',
  112.              'CLIENTLIST parameters are allowed in the response file.',
  113.              '/C and at least one of the following must be specified:' CRLF,
  114.              '/D, /N, /B, or /S.'CRLF,
  115.              ' '
  116. message.43 = '%T16 %I3 ',
  117.              '/D:driver (DISPLAYDRIVER) is the new display type for the client',
  118.              'definition.  The following display types are valid:' CRLF,
  119.              '%T21 %I13 ',
  120.              'IBMVGA32  - 32 bit VGA display driver' CRLF,
  121.              '%T21 %I13 ',
  122.              'IBMXGA32  - 32 bit XGA display driver' CRLF,
  123.              '%T21 %I13 ',
  124.              'IBM8514   - 16 bit 8514 display driver(2.0+SP or 2.00.1)' CRLF,
  125.              '%T33 ',
  126.              '32 bit 8514 display driver(2.1)' CRLF,
  127.              ' '
  128. message.44 = '%T16 %I3 ',
  129.              '/O:current_OS2 (CURRENTOS2DIR) is the root directory (under',
  130.              '\IBMLAN\RPL) for the current OS/2 2.0 operating system that',
  131.              'the client is booting.  This parameter is case sensitive.',
  132.              'If /O is not specified, the OS/2 operating system currently',
  133.              'being used by the client is determined by reading the',
  134.              'client.FIT file.  /O or /N should only be specified',
  135.              'when the version of the client operating system should be',
  136.              'changed.  If /O is specified, then /N must also be specified.'CRLF,
  137.              ' '
  138. message.45 = '%T16 %I3 ',
  139.              '/N:new_OS2 (NEWOS2DIR) is the root directory (under \IBMLAN\RPL) for',
  140.              'switched to.  This parameter is case sensitive.  The default',
  141.              'is OS2.21.  /O or /N should only be specified when the',
  142.              'version of the client operating system should be changed.'CRLF,
  143.              ' '
  144. message.46 = '%T16 %I3 ',
  145.              '/B:Bustype (BUSTYPE) is the type of I/O bus used by the RIPL client',
  146.              'machine.  Valid types are: '  CRLF,
  147.              '%T21 %I7 ',
  148.              'MCA  - Micro-channel (IBM PS/2)' CRLF,
  149.              '%T21 %I7 ',
  150.              'ISA  - AT compatable' CRLF,
  151.              '%T21 %I7 ',
  152.              'EISA - AT compatable' CRLF,
  153.              ' '
  154. message.47 = '%T16 %I3 ',
  155.              '/S:Swaptarget (SWAPTARGET) is an indicator of where the SWAPPER.DAT',
  156.              'file and the WINOS2 PagingFile will reside:  Valid values are:' CRLF,
  157.              '%T21 %I4 ',
  158.              'L - file will reside on local hardfile of RIPL client' CRLF,
  159.              '%T21 %I4 ',
  160.              'S - file will reside on RIPL server' CRLF,
  161.              ' '
  162. message.48 = '%T16 %I3 ',
  163.              '/L:Logfile is the fully qualified name of a file to ',
  164.              'which all messages and errors are to be logged.  If',
  165.              'logfile is specified, no messages or errors will be',
  166.              'displayed on the screen.' CRLF,
  167.              ' '
  168. message.49 = '%T16 %I3 ',
  169.              '/R:Response_file is the fully qualified name of a file',
  170.              'that contains all the inputs in keyword form(Keyword=value). ',
  171.              'The keywords are indicated above in () following the /X:',
  172.              'syntax.  If this parameter is specified, all other command',
  173.              'line parameters except Logfile are ignored.  It is',
  174.              'recommended that the Logfile parameter be specified',
  175.              'whenever the Response_file parameter is used.' CRLF,
  176.              ' '
  177. message.50 = '%T4 ',
  178.              'Note: The following conditions must be meet before running RPLSETD:' CRLF,
  179.              '%T10 %I3 ',
  180.              '1. The Remoteboot Service should be stopped.' CRLF,
  181.              '%T10 %I3 ',
  182.              '2. The Remote IPL workstations to be upgraded must do a',
  183.              'System Shutdown.'CRLF,
  184.              '%T10 %I3 ',
  185.              '3. Remote IPL workstations to be upgraded can not have a session',
  186.              'with the RIPL server.  If necessary, force the session to' ,
  187.              'disconnect using the server full screen interface. '
  188.  
  189. /* start of comment strings used by RPLUCC20.CMD */
  190. message.60 = 'REM Use the following 7 statements for workstations with XGA displays:'
  191. message.61 = 'REM Use the following 5 statements for workstations with 8514/A adapters:'
  192. message.62 = 'REM Use the following 4 statements for workstations with EGA displays:'
  193. message.63 = 'REM Use the following 4 statements for workstations with VGA displays:'
  194.  
  195. /* end of message strings */
  196.  
  197.    /* make sure queue is empty */
  198.    do while queued()
  199.       Pull dummy
  200.    end
  201.  
  202.    If msgtype = 1 Then Do
  203.       /* push all message strings for RPLSETD.CMD into queue (FIFO)*/
  204.       queue errprefix
  205.       queue unknown
  206.  
  207.       do i = 1 to 50
  208.          queue message.i
  209.       end
  210.    end
  211.    else If msgtype = 2 Then Do
  212.       /* push strings for RPLUCC20.CMD into queue (FIFO) */
  213.       do i = 60 to 63
  214.          queue message.i
  215.       end
  216.    end
  217. return
  218.