16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

|<br />

|<br />

runcat<br />

runcat — Pipe output from mkcatdefs to gencat<br />

Format<br />

Description<br />

Examples<br />

runcat CatalogName SourceFile [CatalogFile]<br />

runcat invokes the mkcatdefs command and pipes the message catalog source<br />

data (the output from mkcatdefs) to the gencat utility.<br />

The file specified by the SourceFile parameter contains the message text with your<br />

symbolic identifiers. The mkcatdefs program uses the CatalogName parameter to<br />

generate the name of the symbolic definition file by adding .h to the end of the<br />

CatalogName value, and to generate the symbolic name for the catalog file by<br />

adding MF_ to the beginning of the CatalogName value. The definition file must be<br />

included in your application program. The symbolic name for the catalog file can be<br />

used in the library functions (such as the catopen subroutine). SourceFile cannot<br />

be stdin.<br />

The CatalogFile parameter is the name of the catalog file created by the gencat<br />

command. If you do not specify this parameter, the gencat command names the<br />

catalog file by adding .cat to the end of the CatalogName value. This filename can<br />

also be used in the catopen subroutine.<br />

To generate a catalog named test.cat from the message source file test.msg,<br />

enter:<br />

runcat test test.msg<br />

Related Information<br />

dspcat, dspmsg, gencat, mkcatdefs<br />

sed — Start the sed noninteractive stream editor<br />

Format<br />

Description<br />

sed [–En] script [file ...]<br />

sed [–En] [–e script] .... [–f scriptfile] .... [file ...]<br />

The sed command applies a set of editing subcommands contained in script to<br />

each argument input file.<br />

If more than one file is specified, they are concatenated and treated as a single<br />

large file. script is the arguments of all –e and –f options and the contents of all<br />

scriptfiles. You can specify multiple –e and –f options; commands are added to<br />

script in the order specified.<br />

If you did not specify file, sed reads the standard input.<br />

sed reads each input line into a special area known as the pattern buffer. Certain<br />

subcommands [gGhHx] use a second area called the hold buffer. By default, after<br />

each pass through the script, sed writes the final contents of the pattern buffer to<br />

the standard output.<br />

534 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!