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

  1.   runcat Command
  2.   --------------
  3.   
  4.   
  5.   Purpose
  6.   -------
  7.   
  8.   Pipes output data from the mkcatdefs command to the gencat com-
  9.   mand.
  10.   
  11.  
  12.   Syntax
  13.   ------
  14.   
  15.   runcat CatalogName SourceFile [ CatalogFile ]
  16.  
  17.   
  18.   Description
  19.   -----------
  20.   
  21.   The runcat command invokes the mkcatdefs command and pipes the
  22.   message catalog source data (the output from mkcatdefs) to the
  23.   gencat program.
  24.   
  25.   The file specified by the SourceFile parameter contains the mes-
  26.   sage text with your symbolic identifiers.  The mkcatdefs program
  27.   uses the CatalogName parameter to generate the name of the sym-
  28.   bolic definition file by adding _msg.h to the end of the
  29.   CatalogName value, and to generate the symbolic name for the ca-
  30.   talog file by adding MF_ to the beginning of the CatalogName
  31.   value.  The definition  file must be included in your application
  32.   program.  The symbolic name for the catalog file can  be  used in
  33.   the library functions (such as the catopen subroutine).
  34.   
  35.   The CatalogFile parameter is the name of the catalog file created
  36.   by the gencat command.  If you do not specify this parameter, the
  37.   gencat command names the catalog file by adding .cat to the end
  38.   of the CatalogName value.  This file name can also be used in the
  39.   catopen library function.
  40.   
  41.  
  42.   Examples
  43.   --------
  44.   
  45.   To generate a catalog named test.cat from the message source file
  46.   test.msg, enter:
  47.   
  48.   runcat test test.msg
  49.   
  50.   
  51.   Related Information
  52.   -------------------
  53.   
  54.   The  gencat command,  mkcatdefs command.
  55.   
  56.   The  catclose subroutine,  catgets subroutine,  catopen subrou-
  57.   tine.
  58.