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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

--[no]help<br />

Help menu. Displays the syntax of the as command.<br />

--[no]verbose<br />

Specifies verbose mode, which writes additional information messages to<br />

stdout.<br />

file may be:<br />

v An MVS data set (for example, //somename)<br />

v An absolute z/<strong>OS</strong> <strong>UNIX</strong> file (for example, /somename)<br />

v A relative z/<strong>OS</strong> <strong>UNIX</strong> file (for example, ./somename or somename)<br />

The output of the as command is an object file. If you do not specify a file name via<br />

the -o option, the default name is created as follows:<br />

v If you are compiling a data set, the as command uses the source file name to<br />

form the name of the output data set. The high-level qualifier is replaced with the<br />

user ID under which the as command is running, and .OBJ is appended as the<br />

low-level qualifier. For example, if TS12345 is compiling TSMYID.MYSOURCE(src),<br />

the compiler will create an object file named TS12345.MYSOURCE.OBJ(src).<br />

v If you are compiling a z/<strong>OS</strong> <strong>UNIX</strong> file, the as command names the object file with<br />

the name of the source file with an .o extension. For example, if you are<br />

compiling src.a, the object file name will be src.o.<br />

Notes:<br />

1. The as command does not accept standard input as a file.<br />

2. The as command invokes the HLASM assembler to produce the object file. The<br />

HLASM assembler is invoked with the default options ASA and TERM. The ASA<br />

option instructs HLASM to use American National Standard printer control<br />

characters in records written to the listing file, thus making the listing file more<br />

readable in the <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> environment. The TERM option instructs<br />

HLASM to write error messages to stderr. These defaults can be changed by<br />

using the -m option or -- option.<br />

3. HLASM messages and as error messages are directed to stderr. Verbose<br />

option output is directed to stdout.<br />

4. When invoking as from the shell, any option arguments or operands specified<br />

that contain characters with special meaning to the shell must be escaped. For<br />

example, source files specified as PDS member names contain parentheses; if<br />

they are specified as fully qualified names, they contain single quotes. To<br />

escape these special characters, either enclose the option argument or operand<br />

in double quotes, or precede each character with a backslash.<br />

asa — Interpret ASA/FORTRAN carriage control<br />

Format<br />

Description<br />

asa [file ...]<br />

Historically, printouts created by programs use the first character of each line to<br />

control the spacing between that line and the previous one. For example, if the first<br />

character is a space, the rest of that line immediately follows the previous line; if it<br />

is a 1, that line should begin on a new page, and so on.<br />

as<br />

Chapter 2. Shell command descriptions 21

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

Saved successfully!

Ooh no, something went wrong!