# PN5_60668

Updated: 1/18/2022, 5:31:44 PM
Created: 1/18/2022, 5:31:44 PM
Last Updated By: dependabot[bot]
Read Time: 1 minute(s)

# Description

New commands to list or regenerate all indexes and/or triggers from all files in an account

# Previous Release Behavior

There was no intrinsic way to display or regenerate indexes and triggers from all files in an account.

# Current Release Behavior

There are now 2 new commands:

jsh home ~ -->list-acct-indexes -?

Description: Lists indexes from all files in an account
                            -or-
             Creates a PAragraph in the MD of the account
             to regenerate all indexes in the account.
             The name of the paragraph is: create-acct-indexes

Syntax:      list-acct-indexes {-?|-h} {account name} {(options}

             account name - the name of an account from the SYSTEM file
             [If not specified then defaults to the current directory]

Options:
             A - Display All fields
             P - Send output to the spooler
             R - Create a PAragraph to Regenerate all indexes in the account
                 This option supercedes all other options.

             Options are Case Insensitive.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
jsh home ~ -->list-acct-triggers -?

Description: Lists triggers from all files in an account
                            -or-
             Creates a PAragraph in the MD of the account
             to regenerate all triggers in the account.
             The name of the paragraph is: create-acct-triggers

Syntax:      list-acct-triggers {-?|-h} {account name} {(options}

             account name - the name of an account from the SYSTEM file
             [If not specified then defaults to the current directory]

Options:
             A - Display All fields
             P - Send output to the spooler
             R - Create a PAragraph to Regenerate all triggers in the account
                 This option supercedes all other options.

             Options are Case Insensitive.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

Back to jBASE 5.7.0 Release Notes