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 />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

|<br />

The * offset operator specifies that the value located at the memory location<br />

following the operator be used as the offset. Thus, *0x3C indicates that the<br />

value contained in 0x3C should be used as the offset.<br />

The + offset operator specifies an incremental offset, based on the value of<br />

the last offset. Thus, +15 indicates that the offset value is 15 bytes from the<br />

last specified offset.<br />

If the byte offset has passed the file length limit, the test will not match.<br />

(b) The second field is the type of the value.<br />

The valid specifiers are listed below:<br />

d signed decimal<br />

u unsigned decimal<br />

s string<br />

u and d can be followed by an optional unsigned decimal integer that<br />

specifies the number of bytes represented by the type. The numbers of<br />

bytes supported are refined to the byte length of the C-language type char,<br />

short, int,long. u and d can also be followed by an optional size specifiers<br />

listed below:<br />

C char<br />

S short<br />

I int<br />

L long<br />

The C, S, I, or L specifiers are correspond to the number of bytes in the<br />

C-language types char, short, int, or long.<br />

All type specifiers, except for s, can be followed by a mask specifier of the<br />

form &number. The mask value will be bitwise AND ’ed with the value of<br />

the input file before the comparison with the value field of the line is made.<br />

By default the mask will be interpreted as an unsigned decimal number.<br />

With a leading 0x or 0X, the mask will be interpreted as an unsigned<br />

hexadecimal number; otherwise, with a leading 0, the mask will be<br />

interpreted as an unsigned octal number.<br />

The long format of type specifiers is supported. The valid specifiers, and<br />

their interpretation, are listed below:<br />

Specifier _<strong>UNIX</strong>03=YES _<strong>UNIX</strong>03 is not YES<br />

byte dC uC<br />

short dS uS<br />

long dL uL<br />

string s s<br />

(c) The next field is a value, preceded by an optional operator.<br />

magic<br />

If the specifier from the type field is s or string, then interpret the value as a<br />

string. Otherwise, interpret it as a number. If the value is a string, then the<br />

Appendix H. File Formats 913

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

Saved successfully!

Ooh no, something went wrong!