home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / i18nv102.zip / DOC / GENCAT.DOC < prev    next >
Text File  |  1995-08-28  |  2KB  |  63 lines

  1.   gencat Command
  2.   --------------
  3.   
  4.   
  5.   Purpose
  6.   -------
  7.   
  8.   Creates and modifies a message catalog.
  9.  
  10.   
  11.   Syntax
  12.   ------
  13.   
  14.   gencat CatalogFile [ SourceFile ... ]
  15.   
  16.  
  17.   Description
  18.   -----------
  19.   
  20.   The gencat command can be used to create a message catalog (usu-
  21.   ally *.cat) from a message text source file (usually *.msg).
  22.   
  23.   If a message catalog with the name specified by the CatalogFile
  24.   parameter exists, the gencat command modifies it according to the
  25.   statements in the specified message source files.  If it does not
  26.   exist, the gencat command creates a catalog file with the name
  27.   specified by the CatalogFile parameter.
  28.   
  29.   You can specify any number of message source files.  The gencat
  30.   command  processes  multiple  source files, one after another, in
  31.   the sequence specified.  Each successive source file modifies the
  32.   catalog.  If you do not specify a source file, the gencat command
  33.   accepts message source data from standard input.
  34.   
  35.   The gencat command does not accept symbolic message identifiers.
  36.   You must run the mkcatdefs command if you want to use symbolic
  37.   message identifiers.
  38.   
  39.   After entering your messages into a source file, you must use the
  40.   gencat command to process the source file to create a message ca-
  41.   talog.
  42.   
  43.  
  44.   Examples
  45.   --------
  46.   
  47.   To generate a test.cat catalog from the source file test.msg,
  48.   enter:
  49.   
  50.   gencat test.cat test.msg
  51.   
  52.   The test.msg file does not contain symbolic identifiers.
  53.   
  54.  
  55.   Related Information
  56.   -------------------
  57.   
  58.   The  mkcatdefs command,  runcat command.
  59.   
  60.   The  catclose subroutine,  catgets subroutine,  catopen subrou-
  61.   tine.
  62.  
  63.