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.

ed<br />

Exit Values<br />

Messages<br />

v LC_SYNTAX<br />

v NLSPATH<br />

See Appendix F for more information.<br />

0 Successful completion<br />

1 Failure due to any of the following:<br />

v Addressed line out of range<br />

v Only one filename is allowed<br />

v No space for the line table<br />

v Temporary file error<br />

v Badly constructed regular expression<br />

v No remembered regular expression<br />

v File read error<br />

v Out of memory<br />

v Unknown command<br />

v <strong>Command</strong> suffix not permitted<br />

v No match found for regular expression<br />

v Wrong number of addresses for the subcommand<br />

v Not enough space after the subcommand<br />

v The name is too long<br />

v Badly formed name<br />

v Subcommand redirection is not permitted<br />

v Restricted shell<br />

v No remembered filename<br />

v The mark name must be lowercase<br />

v The mark name is not defined<br />

v m and t subcommands require a destination address<br />

v The destination cannot straddle source in m and t<br />

v A subcommand not allowed inside g, v, G, or V<br />

v The x subcommand has become X (uppercase)<br />

v The global command is too long<br />

v Write error (no disk space)<br />

2 Usage error<br />

The error messages are issued only if h or H subcommands are used after ed<br />

displays ?. Possible error messages include:<br />

Destination cannot straddle source in m and t<br />

The range of lines being moved or copied by m or t cannot include the<br />

destination address.<br />

Global command too long<br />

There is a limit on the length of a global instruction (g or v). See Limits for<br />

this limit.<br />

m and t require destination address<br />

You must follow the m or t subcommands with an address indicating where<br />

you want to move or copy text. You omitted this address.<br />

No remembered filename<br />

You tried to run a subcommand that used a remembered filename (for<br />

example, you used w to write without specifying an output filename).<br />

254 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!