gencat [-C ccsid] [-m mode ] [-t text] catfile msgfile ...
Description
The gencat utility generates a formatted message catalog catfile from the message text source file msgfile. You can specify up to 300 message text source files. Message text source files are processed in the sequence specified. Each successive source file modifies the catalog. If a message number in the source file already exists in the message catalog, the new message text defined in the source file replaces the old message text in the message catalog file. If a message number in the source file does not already exist in the message catalog, the message information is added to the message catalog.
Options
Operands
The catfile operand specifies the path to the message catalog to be changed or created. If the -m option is not specified, the message catalog is created using a default mode that allows read and write permission for the owner, group, and others (0666) as modified by the current file creation mask.
Each msgfile specifies the path to an input message text source file. There is a limit of 300 message text source files.
Exit Status
Related information
Examples
gencat product.cat msg.src
gencat product.cat msg1.src msg2.src msg3.src
gencat -C 37 -m a-w product.cat msg.src