End HTTP Crawler (ENDHTTPCRL)
Where allowed to run: All environments (*ALL)
Threadsafe: NoParameters
Examples
Error messagesThe End HTTP Crawling (ENDHTTPCRL) command allows you to end or temporarily pause a crawling session for a specified document list.
Top
Parameters
Keyword Description Choices Notes DOCLIST Document list file Path name Required, Positional 1 ACTION Crawling action *PAUSE, *END Optional
Top
Document list file (DOCLIST)
Specifies a document list file that was used for a crawling session that is either active or paused.
This is a required parameter.
- path-name
- Specify the path name of the document list file.
Top
Crawling action (ACTION)
Specifies the action to perform on an active crawling session identified with a document list.
- *END
- End the crawling session.
- *PAUSE
- Pause or temporarily suspend the crawling session. A paused session can be resumed by running the Resume HTTP Crawler (RSMHTTPCRL) command.
Top
Examples
Example 1: Ending a Crawling Session
ENDHTTPCRL DOCLIST('/QIBM/USERDATA/HTTPSVR/INDEX/myindex.DOCUMENT.LIST') ACTION(*END)This command ends the crawling session that had been previously started using document list file myindex.DOCUMENT.LIST located in the directory path /QIBM/USERDATA/HTTPSVR/INDEX.
Example 2: Ending a Crawling Session
ENDHTTPCRL DOCLIST('/QIBM/USERDATA/HTTPSVR/INDEX/myindex.DOCUMENT.LIST') ACTION(*PAUSE)This command pauses a crawling session that had been previously started. The crawling session can be resumed by running the Resume HTTP Crawler (RSMHTTPCRL) command and specifying the same document list file.
Top
Error messages
*ESCAPE Messages
- HTP165E
- Request to pause or end a crawling session failed. Reason &1.
Top