Compact Mode

By selecting compact mode, the advanced user can specify object parameters to execute unload, load or scan functions in only two steps. Other object parameters can also be specified or modified by selecting an appropriate submenu. Another feature of compact mode is to execute one or more processing steps described in wizard mode (see Wizard) without having to pass the entire sequence of processing steps. Compact mode is thus more powerful than advanced mode and requires yet more expert knowledge. This document covers the following topics:


How to Select Compact Mode

There are two ways to select compact mode:

  • Adjust the Object Handler profile
    See the documentation on the INPUT-MODE parameter in Profile Settings.

  • By the command SET INPUT-MODE C or SET IM C
    See the documentation on the SET INPUT command in Commands for Navigation and Special Functions in Direct Commands.

How Instructions are Processed in Compact Mode

In compact mode, processing instructions can be carried out in two steps. In step one, you choose a function to be executed from the compact mode main menu. As a result, a second menu specific to your choice is displayed. Here, you can enter parameters specific to the function chosen in step one. This section covers both menus:

Compact Mode Main Menu

In the compact mode main menu, the following fields can be specified:

Field PF Key Explanation
Function   Choose a function:
U   unload (default)
L load
S scan

Caution:
Once the unload function has been started, further modifications for Function are not permitted unless you terminate the unload function by exiting the menu and restart compact mode.

Object   Type of object to be processed:
L   Natural library object (default)
E Natural system error message
C Natural command processor source
R Natural-related object
X External Object
F FDT
A Any Natural object. Only available if L or S has been selected for Function.
Work file format   File format for loading and unloading operations to be applied to data to be processed:
I   Internal format (default)
T Transfer format
See Work File Format.
Portable work file   Not required for the load and scan functions, which automatically choose the appropriate work file type and ignore this option if set.

Portable work file is only valid if the following applies:

  • Use default options (this is the default) has been selected.

  • Transfer format has not been selected.

If Portable work file has been selected, the work file is written or read in portable format. See also Work File Format in Work Files.
Use PC file   Only applies if Entire Connection is installed.

If selected, the data to be processed is read from or written to an Entire Connection work file.

PC file   Only applies if Entire Connection is installed.

The complete path name to the Entire Connection work file. If your system environment does not accept a backslash (\) separator, use a slash (/) instead.

Write report   If set to Y writes a report of the objects processed to the report text object specified in theReport text member field. The Write report option is set to Y by default.

To display the report, enter the internal command SHOW REPORT FILE (see Commands for Navigation and Special Functions in Direct Commands).

Report text member   Only valid if Write report has been selected. The name of the text object stored in the Workplan library to which the report is written.
Set additional options PF4 If set to Y invokes the Options screen where you can modify the default settings and enter additional options for the processing sequence. For the options available, see Set Additional Options. Cannot be used (option specifications are ignored) when Use Option Workplan is set to Y.

Note:
If any options have been defined, the text (Options are defined) is displayed.

Use Option Workplan   If set to Y, a Workplan of type OPTION is used. See also Workplans
Option Workplan name   The name of a Workplan of type OPTION to be used.
  PF5 Display a selection list of available Workplans of type OPTION. See also List the Available Workplans in the Workplan Library in Administration.
  PF6 Displays the contents of the Workplan specified in the Option Workplan name field.
Set global parameters PF7 Invokes the Parameters screen. See Set Global Parameters and parameter-setting (Direct Commands) for descriptions of keywords and valid input values.

Cannot be used (parameter specifications are ignored) when Use Parameter Workplan is set to Y.

Note:
If any parameters have been defined, the text (Parameters are defined) is displayed.

Use Parameter Workplan   If set to Y, a Workplan of the type PARAMETER is used. See also Workplans.
Parameter Workplan name   The name of the PARAMETER Workplan to be used.
  PF8 Displays a selection list of available Workplans of the type PARAMETER. See also List the Available Workplans in the Workplan Library in Administration.
  PF9 Display the contents of the Workplan specified in Parameter Workplan name.

Compact Mode Subsequent Menu

In the compact mode subsequent menu, you add information specific to the selection you made in the compact mode main menu. For information on attributes that can be specified, see Object Specification.