02.05.2013 Views

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

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.

Figure A1.5 Parse Options FRCB<br />

R1<br />

+0<br />

+4<br />

+8<br />

+12<br />

+16<br />

+20<br />

Using the INFILE/FILE User Exit Facility Open Function 581<br />

Parse Options<br />

function (PARSFUNC):4<br />

Pointer to User Exit<br />

BAG Control Block<br />

(PARSEXIT)<br />

Length of the<br />

Option Name String<br />

(PARSOPTL)<br />

Pointer to the<br />

Option Name<br />

(PARSOPTN)<br />

Length of the<br />

Option Value String<br />

(PARSVALL)<br />

Pointer to the<br />

Option Value<br />

(PARSVAL)<br />

UEBCB<br />

String<br />

String<br />

When the Parse Options function receives control, PARSOPTL is set to the length of<br />

the option name, and the address of the option name is stored in PARSOPTN. For<br />

options that take a value, PARSVALL is set to the length of the value, and the address<br />

of the option value is stored in PARSVAL. For options that do not take a value, both<br />

PARSVALL and PARSVAL are set to 0.<br />

If an invalid option name or option value is detected, R15 should be set to a return<br />

code value of 8.<br />

Open Function<br />

<strong>SAS</strong> invokes the Open function after INFILE or FILE statement processing opens<br />

the associated data set. The following figure illustrates the Open FRCB and its<br />

relationship to other control blocks:

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

Saved successfully!

Ooh no, something went wrong!