Command reference / sys

CRTSCHIDX

Create Search Index

Creates a search index object. Panel groups added to it with ADDSCHIDXE give it its topics, which the index search function shows.

Allowed environments: *ALL. Positional parameters: 2.

Restrictions

Parameters

SCHIDX Search index

The search index to create, qualified by a library. This parameter is required.

Type
*QUAL
Required
Yes
Case
Uppercase
*CURLIB
The job's current library. If no current library is in the library list, QGPL is used.
Qualified parts (object, then library; write LIBRARY/OBJECT)

Search index Search index

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*CURLIB
Length
10
Case
Uppercase

Suggested / special values: *CURLIB

TITLE Display title

The title shown on the Search Index display, up to 55 characters. This parameter is required.

Type
*CHAR
Required
Yes
Length
55
Case
Uppercase

TEXT Text 'description'

The text that briefly describes the search index.

Type
*CHAR
Required
No
Default
*TITLE
Length
50
Case
Uppercase

Suggested / special values: *TITLE, *BLANK

*TITLE
The first 50 characters of the display title are used.
*BLANK
No text is specified.

CHRID Character identifier

The graphic character set and code page of the index. They must match the TXTCHRID of the panel groups added to it.

Type
*ELEM
Required
No
Default
*SYSVAL
Case
Uppercase

Suggested / special values: *SYSVAL

*SYSVAL
The QCHRID system value gives the values.
Elements in order

Graphic character set Graphic character set

Type
*INT4
Required
No
Case
Uppercase

Code page Code page

Type
*INT4
Required
No
Case
Uppercase

AUT Authority

The authority given to users who have no specific authority to the search index.

Type
*NAME
Required
No
Default
*LIBCRTAUT
Length
10
Case
Uppercase

Suggested / special values: *LIBCRTAUT, *CHANGE, *ALL, *USE, *EXCLUDE

*LIBCRTAUT
The CRTAUT value of the library is used.
*CHANGE
Change authority.
*ALL
All authority, including ownership changes.
*USE
Use authority.
*EXCLUDE
No authority.
name
An authorization list that must exist.

Examples

CRTSCHIDX SCHIDX(ACCOUNTING) TITLE('Accounting Help Index') TEXT('Accounting Help Index')

Creates search index ACCOUNTING in the current library.

IBM command documentation

Generated from os/cl/catalog/CRTSCHIDX.json and os/cl/help/CRTSCHIDX.json.