STRMSF (Start Mail Server Framework)
Purpose
The Start Mail Server Framework (STRMSF) command starts the mail server framework jobs in the system work subsystem (QSYSWRK).
Optional Parameters
- MSGOPT
- Specifies how the mail server framework processes existing mail server framework messages.
*RESUME: All existing mail server framework messages continue processing from the point the mail server framework previously ended.
*RESET: All existing mail server framework messages are processed as if they were just created.
*CLEAR: All existing mail server framework messages are deleted. This option should only be used when a software error is reported with the mail server framework or its associated exit point programs.
- NBRMSFJOB
- Specifies the number of mail server framework jobs to start. This option allows concurrent processing of several mail server framework messages.
3: Three jobs are started.
number-of-jobs: Specify the number of jobs you want handling mail server framework messages. The valid values range from 1 through 99.
Examples for STRMSF
Example 1: Starting One Mail Server Framework Job
STRMSF NBRMSFJOB(1)This command starts one mail server framwork job in a normal manner, processing any mail server framework messages at the point at which processing was interrupted.
Example 2: Restarting Mail Server Framework Jobs
STRMSF MSGOPT(*RESET)This command starts three mail server framework jobs and any mail server framework messages which were partially handled by previous mail server famework jobs are processed again from the beginning.
Error messages for STRMSF
*ESCAPE Messages
- CPFAFAA
- STRMSF did not complete successfully.
- CPFAFAD
- Mail Server Framework currently active.
- CPFAFA0
- Errors detected on MSF internal message index.
- CPFAFA1
- Errors detected on MSF internal message queue.
- CPFAFFF
- Internal system error in program &1.