Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Starting/stopping the mail reader

&pagelevel(3)&pagelevel

Starting the mail reader

Use one of the following two commands to start the mail reader:

/START-MAILREADER

or

/START-PROGRAM *MODULE($.SYSPRG.MAIL.nnn,READER,*ANY,*ADVANCED)

Stopping the mail reader

Use one of the following two commands to stop the mail reader:

/INFORM-PROGRAM 'SHUTDOWN',*TSN(<tsn>)

or

/INFORM-PROGRAM 'CANCEL',*TSN(<tsn>)

These commands stop the mail reader in a controlled manner, i.e. after any ongoing accessing of a mailbox is completed.

The following conditions apply for the described /INFORM-PROGRAM commands:

  • The commands must be entered via the console interface of the system user

  • The mail reader must be executed as a batch task

  • The TSN of the batch task must be specified

The user terminates the mail reader executed as a batch task as follows:

/CANCEL-JOB JOB-IDENTIFICATION=*TSN(TSN=<tsn of the batch task>)