11.01.2013 Views

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

IBM AIX Continuous Availability Features - IBM Redbooks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

► Errno names<br />

► Signal names<br />

► FUNCTION_ENTRY: Identifies function entry point. Used with get_location_point()<br />

► FUNCTION_EXIT: Identifies function exit point. Used with get_location_point()<br />

Supported keywords/data-types of C in Vue<br />

Table 3-7 lists the C keywords used in the Vue language.<br />

Table 3-7 C keywords in Vue<br />

Supported Allowed in header files only Unsupported<br />

char auto break<br />

double const case<br />

else extern continue<br />

enum register default<br />

float static do<br />

if typedef for<br />

int volatile goto<br />

long switch<br />

return while<br />

short<br />

signed<br />

sizeof<br />

struct<br />

union<br />

unsigned<br />

void<br />

Elements of shell<br />

Vue translates exported shell variables (specified by the $ prefix) and positional parameters<br />

into their real values during the initial phase of compilation. So, $1, $2, and so on, will be<br />

replaced with corresponding value by ProbeVue.<br />

When assigning general environment variables to a string, you need to make sure it starts<br />

and ends with a backward (\) slashmark. For instance, the environment variable<br />

“VAR=abcdef” will result in an error when assigned to a string. Defining it as “VAR=\”abcdef\””<br />

is the proper way of using it in a Vue script.<br />

Restriction: The special shell parameters like $$, $@, and so on are not supported in<br />

Vue. However, they can be obtained by other predefined built-in variables.<br />

Example 3-41 illustrates the use of various variable types, and also uses kernel variables.<br />

The comments provided in the Vue script explain the scope of various variables.<br />

122 <strong>IBM</strong> <strong>AIX</strong> <strong>Continuous</strong> <strong>Availability</strong> <strong>Features</strong>

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

Saved successfully!

Ooh no, something went wrong!