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

Create successful ePaper yourself

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

FIRST Statement<br />

FIRST ’model-control-statement ’;<br />

Procedures under z/<strong>OS</strong> SOURCE Procedure 343<br />

The FIRST statement generates initial control statements that invoke a utility program<br />

or that are needed only once. The specified model-control-statement is reproduced,<br />

left-aligned, on a record that precedes all members in the unloaded data set. You can<br />

use any number of FIRST statements. One FIRST statement can specify one model<br />

control statement. Each model control statement generates a record.<br />

LAST Statement<br />

LAST ’model-control-statement ’;<br />

The LAST statement generates final control statements that terminate a utility<br />

program or that are needed only once. The specified model-control-statement is<br />

reproduced, left-aligned, on a record that follows all members in the unloaded data set.<br />

You can use any number of LAST statements. One LAST statement can specify one<br />

model control statement. Each model control statement generates a record.<br />

BEFORE Statement<br />

BEFORE ’model-control-statement’ ;<br />

The BEFORE statement generates a utility control statement be<strong>for</strong>e each member. You<br />

can use any number of BEFORE statements. One BEFORE statement can specify one<br />

model control statement. Each model-control-statement that you specify is reproduced,<br />

left-aligned, on a record that precedes each member in the unloaded data set.<br />

By default, PROC SOURCE generates control statements <strong>for</strong> the IBM IEBUPDTE<br />

utility program be<strong>for</strong>e each member of an unloaded data set. You can use the BEFORE<br />

and AFTER statements to override the default and generate control statements <strong>for</strong><br />

other utility programs. To prevent PROC SOURCE from generating these statements,<br />

use the BEFORE statement with no parameters.<br />

Options <strong>for</strong> the BEFORE and AFTER statements are the same. A list of these<br />

options follows the description of the AFTER statement.<br />

AFTER Statement<br />

AFTER ’model-control-statement’ ;<br />

The AFTER statement generates a utility control statement after each member. You<br />

can use any number of AFTER statements. One AFTER statement can specify one<br />

model control statement. Each model-control-statement that you specify is reproduced,<br />

left-aligned, on a record that follows each member in the unloaded data set.<br />

By default, PROC SOURCE generates control statements <strong>for</strong> the IBM IEBUPDTE<br />

utility program after each member of an unloaded data set. You can use the AFTER<br />

statement to override the default and generate control statements <strong>for</strong> other utility<br />

programs.<br />

The following options are used in the BEFORE and AFTER statements:<br />

ALIAS<br />

tells <strong>SAS</strong> to produce a record containing the model-control-statement only <strong>for</strong> each<br />

defined alias. (The alias is placed into the record at the specified column, if any.)

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

Saved successfully!

Ooh no, something went wrong!