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.

Options<br />

Examples<br />

To be able to use the extattr command for the +l option, you must have at<br />

least read access to the BPX.FILEATTR.SHARELIB resource in the<br />

FACILITY class. For more information about BPX.FILEATTR.SHARELIB,<br />

see z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning.<br />

Note: l is a lower case L, not an upper case i.<br />

p When this attribute is set (+p) on an executable program file (load module),<br />

it causes the program to behave as if an RDEFINE had been done for the<br />

load module to the PROGRAM class. When this program is brought into<br />

storage, it does not cause the environment to be marked dirty.<br />

To be able to use the extattr command for the +p option, you must have at<br />

least read access to the BPX.FILEATTR.PROGCTL resource in the<br />

FACILITY class. For more information about BPX.FILEATTR.PROGCTL ,<br />

see z/<strong>OS</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> Planning.<br />

s When this attribute is not set (–s), the _BPX_SHAREAS=YES and<br />

_BPX_SHAREAS=REUSE environment variable settings are ignored when<br />

the file is spawn()ed. Use of the _BPX_SHAREAS=MUST setting and the<br />

–s option will result in a spawn() failure. By default, this attribute is set (+s)<br />

for all executable files.<br />

Rule: To specify any of these attributes, the user must be the owner of the file or<br />

have superuser authority.<br />

-F format file ...<br />

extattr command will accept the -F option flag with values consistent with<br />

the cp command to indicate the format of the file. The command will set the<br />

file format accordingly.<br />

Note: Setting the file format flag on a file does not modify the data in the<br />

file. The file format can be displayed via ls -H command.<br />

For format you can specify:<br />

NA Not specified<br />

BIN Binary data<br />

NL Newline<br />

CR Carriage return<br />

LF Line feed<br />

CRLF Carriage return followed by line feed<br />

LFCR Line feed followed by carriage return<br />

CRNL Carriage return followed by newline<br />

The format option can be specified in lowercase, uppercase or in mixed<br />

cases. The format option can also be specified with a space or no space<br />

after the file format flag (-F). For example: extattr -FLFcr file<br />

The file format flag (-F) can be used with other extattr flags (+alps/-alps),<br />

but it must be separated by a space or tab. For example:<br />

extattr +aps -F BIN file is a valid entry.<br />

extattr -apsF NA file is not a valid entry.<br />

Following are valid examples of the use of extattr:<br />

exrecover daemon<br />

Chapter 2. Shell command descriptions 271

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

Saved successfully!

Ooh no, something went wrong!