28.11.2012 Views

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

IBM Tivoli NetView for z/OS Programming: Pipes - IBM notice

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

PIPE XCFQUERY<br />

Usage Notes<br />

Examples<br />

272 <strong>Programming</strong>: <strong>Pipes</strong><br />

group_name<br />

Returns detailed in<strong>for</strong>mation about the specified group and its members.<br />

The value <strong>for</strong> group_name canbe1–8characters in length.<br />

member_name<br />

Returns detailed in<strong>for</strong>mation about the specified member. The value <strong>for</strong><br />

group_name canbe1–16characters in length. This option is only valid if<br />

group_name is specified.<br />

SYSTEMS<br />

Returns a list of systems in the sysplex.<br />

v Query failures generally produce return codes from the IXCQUERY macro that<br />

are returned in the CNM273I message. Return codes are documented in the<br />

z/<strong>OS</strong> V1R9.0 MVS <strong>Programming</strong>: Sysplex Services Reference, SA22–7618.<br />

v The XCFQUERY stage command returns the query results to the primary output<br />

stream.<br />

v The output of the XCFQUERY stage is un<strong>for</strong>matted data (including binary data)<br />

that is returned by the z/<strong>OS</strong> IXCQUERY macro instruction. You can use the<br />

EDIT stage to re<strong>for</strong>mat the data to character data. The CF, GROUPS, and<br />

SYSTEMS output is mapped by the QUASYS1, QUAGRP, QUAMEM1 and<br />

QUACF1 mappings in the IXCYQUAA z/<strong>OS</strong> system macro. The CFGINFO<br />

output consists of the data in Table 9 (in the order listed).<br />

Table 9. CFGINFO output<br />

Number of<br />

IXCQUERY z/<strong>OS</strong> system<br />

bytes Data<br />

macro parameter<br />

4 maximum number of systems possible in the<br />

sysplex<br />

MAXSYS<br />

4 current maximum number of systems in the<br />

sysplex<br />

CURRMAXSYS<br />

8 sysplex name PLEXNAME<br />

4 coupling facility level CFLEVEL<br />

32 node descriptor ND<br />

8 sysplex token SYSPLEXID<br />

8 sysplex token SYSTEMID<br />

1 XCF-local mode flag (X'00' if false, X'01' if true) LOCAL<br />

1 monoplex mode flag (X'00' if false, X'01' if<br />

true)<br />

MONOPLEX<br />

Example: Displaying all the XCF Groups in a Sysplex<br />

The following example displays all the XCF groups in a sysplex:<br />

PIPE XCFQUERY GROUPS | CONS<br />

Example: Displaying all the Members in a Group<br />

The following example displays all the members in the DSIPLX01 <strong>NetView</strong> group:<br />

PIPE XCFQUERY GROUPS DSIPLX01 | CONS

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

Saved successfully!

Ooh no, something went wrong!