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
- Requires *ADD authority to the library where the search index is created.
- Only panel groups created with CRTPNLGRP can be added to it.
Parameters
SCHIDX
Search index
The search index to create, qualified by a library. This parameter is required.
*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
Library
Library
Suggested / special values:
*CURLIB
TITLE
Display title
The title shown on the Search Index display, up to 55 characters. This parameter is required.
TEXT
Text 'description'
The text that briefly describes the search index.
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.
Suggested / special values:
*SYSVAL
*SYSVAL- The QCHRID system value gives the values.
Elements in order
Graphic character set
Graphic character set
Code page
Code page
AUT
Authority
The authority given to users who have no specific authority to the search index.
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.
Generated from os/cl/catalog/CRTSCHIDX.json and os/cl/help/CRTSCHIDX.json.