31.01.2013 Views

using the bootstrap loader

using the bootstrap loader

using the bootstrap loader

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

3.2.7 %CONSOLE, %MANUAL, and %AUTO Macros<br />

CONFIGURING THE FIRST STAGE<br />

The CONSOLE, MANUAL, and AUTO macros specify how <strong>the</strong> first stage identifies <strong>the</strong><br />

file that <strong>the</strong> second stage will load (ei<strong>the</strong>r <strong>the</strong> load file or <strong>the</strong> third stage) and <strong>the</strong> device on<br />

which <strong>the</strong> file is found.<br />

The syntax of <strong>the</strong> %CONSOLE, %MANUAL, and %AUTO macros is<br />

%CONSOLE<br />

% MANUAL<br />

%AUTO<br />

There are no parameters associated with any of <strong>the</strong>se macros.<br />

Depending on <strong>the</strong> action you want <strong>the</strong> Bootstrap Loader to take, you can include none,<br />

any, or all <strong>the</strong>se macros, and <strong>the</strong> combination you choose defines <strong>the</strong> set of actions taken.<br />

Because <strong>the</strong> %MANUAL macro automatically includes both <strong>the</strong> %CONSOLE and<br />

%AUTO macros, five functionally-distinct combinations are possible. Each of <strong>the</strong>se<br />

combinations requires that <strong>the</strong> device list at <strong>the</strong> end of <strong>the</strong> BS l.A86 or BS IMB2.A86 file<br />

be set up in a certain way. For more information on <strong>the</strong> device list, see <strong>the</strong> discussion of<br />

<strong>the</strong> %DEVICE macro later in this chapter. The following paragraphs list <strong>the</strong> possible<br />

macro combinations, <strong>the</strong> device requirements, and <strong>the</strong> actions that <strong>the</strong> Bootstrap Loader<br />

takes when each combination is invoked.<br />

No<br />

%CONSOLE,<br />

% MANUAL,<br />

or%AUTO<br />

macro<br />

%CONSOLE<br />

only<br />

Bootstrap Loader<br />

(Requires that <strong>the</strong> device list defined with %DEVICE macros have<br />

only one entry.)<br />

• The Bootstrap Loader tries once to load from <strong>the</strong> active device.<br />

• The Bootstrap Loader tries once to load <strong>the</strong> file with <strong>the</strong> default<br />

pathname (<strong>the</strong> one you define with <strong>the</strong> %DEFAULTFILE macro).<br />

(Requires that <strong>the</strong> device list have only one entry.)<br />

o The Bootstrap Loader tries once to load from <strong>the</strong> device in <strong>the</strong> device<br />

list.<br />

• The Bootstrap Loader displays an asterisk (*) prompt at <strong>the</strong> console<br />

terminal and waits for you to enter <strong>the</strong> pathname of <strong>the</strong> file to load. It<br />

tries once to load <strong>the</strong> file you specify.<br />

If you enter a pathname, <strong>the</strong> Bootstrap Loader loads <strong>the</strong> file<br />

with that pathname.<br />

3-15

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

Saved successfully!

Ooh no, something went wrong!