Previous section.

Systems Management: Distributed Software Administration
Copyright © 1997 The Open Group

NAME

swask - ask for user responses

SYNOPSIS

swask [-c catalog][-f file][-s source][-t targetfile][-x option=value]
[
-X options_file][software_selections][@ targets]

DESCRIPTION

The swask utility runs the interactive software request scripts for the software objects selected. These scripts store the responses to the response files for later use by the swinstall and swconfig utilities.

The swinstall and swconfig can also run the interactive request scripts directly.

OPTIONS

The swask utility supports the following options. Where there is no description, the description in Common Definition for Utilities applies.

-c catalog

Specifies the pathname to an exported catalog structure below which the response files created by the request scripts are stored for later use.

If the c catalog option is omitted, the utility uses the source catalog, <distribution path>>/catalog, as the directory in which to store the response files. Hence these response files will be the ones available for use by the control scripts executed by swinstall.

-f file

-s source

-t targetfile

-x option=value

-X options_file

OPERANDS

The swask utility supports the software_selections operand described in Common Definition for Utilities .

Specifying values for the targets operand does not imply operations on the target role. The values are simply written as a list of targets for the targets option in the file made available to the request script via the SW_SESSION_OPTIONS environment variable. See Control Script Execution and Environment .

EXTERNAL INFLUENCES

See Common Definition for Utilities for descriptions of external influences common to all utilities.

Extended Options

The swask utility supports the following extended options. The description in Common Definition for Utilities applies.

autoselect_dependencies=true

distribution_source_directory=implementation_defined_value

distribution_source_serial=implementation_defined_value

logfile=implementation_defined_value

loglevel=1

ask=true

software=

verbose=1

EXTERNAL EFFECTS

See Common Definition for Utilities .

EXTENDED DESCRIPTION

See Common Definition for Utilities for general information. There are two phases in the swask utility:

  1. Selection phase

  2. Execution phase

Selection Phase

The software selections apply to the software available from the distribution source if the -s option was specified. Otherwise, the software selections apply to software that has been already installed on the targets. Each specified selection is added to the selection list after it passes the following checks:

Add any dependencies to the selection list if autoselect_dependencies=true.

Execution Phase

For each selected software that has a request control script:

EXIT STATUS

See Common Definition for Utilities .

CONSEQUENCES OF ERRORS

See Common Definition for Utilities .


Footnotes

1.
If there are multiple product versions selected, they has separate control directories as specified in the software packaging layout. Update the global INDEX in the exported catalog structure so the appropriate version can be identified later.

2.
The swinstall and swconfig utilities will distribute the response file to the targets for use by that targets control scripts.


Why not acquire a nicely bound hard copy?
Click here to return to the publication details or order a copy of this publication.

Contents Next section Index