Display Objects Renamed to Folder Name

This document covers the following topics:


Description

Program

B99990

Function

Display all objects that have been renamed via API subprogram Z-MOD13 to the name specified in the renamed-to parameter. If requested, restore all corrupted system folders and objects in the Inbasket, Outbasket and Wastebasket.

Notes:

  1. It is recommended that this utility should be run if API subprogram Z-MOD13, delivered with Con-nect 3.2.3 or earlier, has been run to rename the last (in alphabetical sequence) folder/file in a cabinet.
  2. It is also recommended that utility B99130 Fix Corrupted Folder/File Records should be run after restoring corrupted objects with this utility.

Online Input Screen

  11:52 AM             * * *  C O N - N E C T  3  * * *              18.Oct.1999
 Cabinet LS         Display Objects Renamed to Folder Name               B99990


     Process the following objects:

     From Cabinet   ________  to Cabinet   ________

                   ('*' for all cabinets)

     Renamed to     _______________

     By User ID     ________ (optional)

     Modified on    ___________ (optional)

              Mark  _  to fix system folder names and object names
                       in Inbasket, Outbasket and Wastebasket

Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
            Menu  Quit
Complete the information above and press ENTER to continue

Utility Parameters

Parameter Format Description
From Cabinet A8  
To Cabinet A8 Optional
Renamed to A15  
By User ID A8 Optional. User ID that modified objects/folders.
Modified on A11 Optional. Date range in which items were modified.
Mark to Fix A1 If this parameter is marked, then corrupted system folder names and objects in the Inbasket/Outbasket/Wastebasket folders will be recovered.

Procedure

When this utility is run, all objects in the specified cabinet(s) that have been renamed by Z-MOD13 to the name specified in the rename-to parameter are returned. Included in the output for each object is the cabinet name, object number, name of object, folder number, file number, date and time of last modification and user ID.

If the Mark-to-fix parameter is marked, all corrupted objects in the system folders Inbasket, Outbasket and Wastebasket are recovered. For each object recovered, the resulting output includes the message "<--Name was fixed".

If a corrupted object is found and the Mark-to-fix parameter is not marked, the message "<--Can be fixed to this name" and the object's original name is also returned. In this case, the corrupted object is not automatically recovered.

The end of the output includes the total number of objects found and the total number of objects recovered.

Batch Examples

Return all objects with the name MARKETING in cabinets XSIS*. This would be coded as follows:

LOGON SYSCNT2B 
MENU 
B99990
XSIS*,,MARKETING 
FIN

Return all objects with the name MEETINGS from all cabinets starting from CAB and fix the corresponding corrupted objects in system folders Inbasket, Outbasket and Wastebasket.

LOGON SYSCNT2B 
MENU
B99990 
CAB,Z9999999,MEETINGS,,,X
FIN