Scan

#### Search Results

Search

# Scan

This functions is used to scan for objects in Natural work files.

The following restrictions apply to the scan function:

- You cannot scan Natural-related objects and external files in remote environments located on z/OS. Natural DDMs can only be scanned in remote environments located on z/OS.

- You cannot apply the scan function while you are executing an unload function. If you end the current unload to perform a scan, the unload file will be closed. A subsequent unload then writes the data to a new work file. So, if you do not change the work file name, the existing file will be overwritten.

To invoke the scan function

- Activate advanced-user mode and use the Scan Work File for menu option as described below.

  Or:
  Use the function Scan objects in Natural work file(s) of the load wizard as described in the section Wizards.

This section covers the following topic:

- Scan in Advanced User Mode

## Scan in Advanced User Mode

For information on the table columns and cells that appear in the boxes generated by the scan function, refer to the section Object Specification.

To scan objects in advanced-user mode

1. From the Actions menu, choose Scan Work File for.

   A window appears where you can select one object type or select all object types:

   - All objects

   - Natural library objects

   - Natural system error messages

   - Natural command processor sources

   - DDMs
     (remote environments only)

   - Natural-related objects

   - External files

   - FDTs

   - Use Selection or List

2. Choose the OK command button.

3. Depending on the object type selected, one or more additional windows appear where you can specify selection criteria and option and parameter settings:

   - For the keywords and valid values that apply to each object type, see the relevant explanations in the section Object Specification.

   - For possible settings, see the section Settings.

4. After you have made all object specifications and specified the settings, choose the Scan command button to execute the function.

   The scan window appears with a table of all objects that meet the selection criteria specified and that are contained in the work file.

   For information on the table columns, refer to the section Object Specification.

   For the options provided in the scan window, see Table Functions below.

5. To terminate the scan function:

   From the Object menu, choose Close.

   Or:
   Choose the standard Windows close button.

This section covers the following topic:

- Table Functions

### Table Functions

The following functions are available in the object selection table of the scan window:

Function | Explanation/Instruction
--- | ---
Details | Shows further table columns. From the Options menu, choose the Details button so that you can scroll to list further table columns with more information on the objects found.
Unload | Unloads objects. This function can only be applied, if the unload function of the Object Handler has been activated (see also Advanced User Unload in the section Advanced User). Select one or more objects and, from the context or Object menu, choose Unload.
Load | Loads objects. This function can only be applied, if the load function of the Object Handler has been activated (see also Advanced User Load in the section Advanced User). Select one or more objects and, from the context or Object menu, choose Load.
Save Into | Saves a list of selected objects as Workplan of the type LIST. Select one or more objects and, from the context or Object menu, choose Save Into.