Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP 9000 Networking: HP-UX SNAplus2 Administration Command Reference > Chapter 3 Commands (query_3270_diag to query_userid_password)

query_default_pu

» 

Technical documentation

Complete book in PDF
» Feedback
Content starts here

 » Table of Contents

 » Index

The query_default_pu command returns information about the default PU, which is defined using define_default_pu.

Supplied Parameters

No parameters are supplied for this command.

Returned Parameters

Parameter name           Type           Length
def_pu_name character 8
description character 31
def_pu_sess character 8

If the command executes successfully, SNAplus2 returns the following parameters:

def_pu_name

Name of the most recently defined default PU. This parameter is blank if no default PU has been defined or the default PU has been deleted..

description

A text string describing the default PU, as specified in the definition of the default PU.

def_pu_sess

Name of the PU associated with the currently active default PU session.

This parameter usually contains the same value as the def_pu_name parameter. However, if a new default PU has been defined but the session associated with it is not active, SNAplus2 continues to use the session associated with the previous default PU until the session associated with the defined default PU becomes active. In this case, def_pu_sess specifies the name of the previous default PU, and is different from the def_pu_name parameter.

This parameter is blank if there are no active PU sessions.

Error Return Codes

If the command cannot be executed, SNAplus2 returns a primary return code to indicate the type of error and a secondary return code to provide specific details about the reason for unsuccessful execution.

Parameter Check

No parameter errors occur for this command.

State Check

No specific state errors, other than those listed in Appendix A “Common Return Codes from snapadmin Commands” occur for this command.

Other Conditions

Appendix A “Common Return Codes from snapadmin Commands” lists combinations of primary and secondary return codes that are common to all commands.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 2001 Hewlett-Packard Development Company, L.P.