Retrieve Stop Word List Source (RTVSWLSRC)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The Retrieve Stop Word List Source (RTVSWLSRC) command is used to retrieve the words from an IBM-supplied or user-created stop word list into a source file.

Top

Parameters

Keyword Description Choices Notes
LANGID Language ID Character value Required, Positional 1
SRCFILE Source file Qualified object name Required, Positional 2
Qualifier 1: Source file Name
Qualifier 2: Library Name, *LIBL, *CURLIB
SRCMBR Source member Name, *LANGID Optional
TYPE Stop word list type *IBM, *USER Optional
Top

Language ID (LANGID)

Specifies the language identifier (ID) for the stop word list.

This is a required parameter.

Top

Source file (SRCFILE)

Specifies the qualified name of the source file used to receive the stop word list words. The contents of the source file are replaced.

source-file-name
Specify the name of the source file.

The possible library values are:

*LIBL
All libraries in the library list for the current thread are searched until the first match is found.
*CURLIB
The current library for the job is used to locate the source file. If no library is specified as the current library for the job, the QGPL library is used.
library-name
Specify the name of the library where the source file is located.

This is a required parameter.

Top

Source member (SRCMBR)

Specifies the name of the source file member used to receive the stop word list words. The member is in the source file specified on the SRCFILE parameter.

*LANGID
The language ID is used as the source file member name.
source-file-member-name
Specify the name of the member in the source file used to receive the stop word list.
Top

Stop word list type (TYPE)

Specifies the type of stop word list being retrieved

*IBM
The stop word list is IBM-supplied.
*USER
The stop word list is user-created.
Top

Examples

RTVSWLSRC   LANGID(ENG)  SRCFILE(MYLIB/MYFILE)

This command retrieves the stop word list into source file MYFILE in library MYLIB that has the language ID ENG.

Top

Error messages

*ESCAPE Messages

CPF8723
Record length too small for database source file.
CPF8725
&1 type stop word list not supported for language.
CPF9899
Error occurred during processing of command.
Top