Programs
- Last UpdatedNov 06, 2025
- 2 minute read
The data bank utility programs for indexed data banks are described below.
SA004 - Data Bank Utility
The program is a utility program for data banks (indexed or sequential). Input to the program is given interactively upon request from the program.
The following operations can be performed:
|
Copy |
Objects are copied between data banks. |
|
The copied objects can be given new names different from the names of the original objects. |
|
|
Move |
Objects are moved between data banks. |
|
The moved objects can be given new names different from the names of the original objects. |
|
|
Note: Please note that it is not possible to move objects from a sequential data bank. |
|
|
Delete |
Objects are deleted from an indexed data bank. |
|
List |
Objects in a data bank are listed. |
|
Archive |
Objects are moved between different data banks as by the operation move, but the creation date of the object is kept. |
|
If the data bank is stored in another directory than the one from which the program is run, the directory must be specified separately. Objects can be specified according to the following conditions, which can be combined arbitrarily. |
|
|
Object name |
You can give a specific object name, a group name or a name with ‘wildcards’. |
In a name with ‘wildcards’, an asterisk can replace any number of characters and a per cent sign can replace exactly one character.
Example:
TB-272-*-1
*272*
TB%72*
A group name is given by zero or several characters followed by an asterisk.
Example:
TB272*
TB*
When a specific object name (without wild cards) or a group name is given, it is possible to rename the object(s) by giving a new name in the same way as the original name.
Example:
Object name TB272*
New object name
TB114*
|
Objects with the specified object code 1 are treated. |
|
Objects with the specified object code 2 are treated. |
|
Objects created after this date are treated. |
|
Objects created before this date are treated. |
Error messages are given on the standard output device, normally the terminal from where the program was initiated. The messages are self-explanatory.
A list of the performed operations is produced in a file named sa004.lst.