The scheduler combines the functionality of for STC and CEA into one started task.
For example:
<Scheduler SCHEDULER_NAME="TAURISPF" LISTENER_PORT="1200" FIRST_PORT="1201" LAST_PORT="1249" USER_SERVER_JOBNAME="IVPUSRT" CCSID="037" DEFAULT="1" > <UserServer CCSID="037" /> </Scheduler>
If you have change the name of the STC user server JCL procedure (IVPUSRT) in the PROCLIB you must change the USER_SERVER_JOBNAME value to match.
By specifying DEFAULT="1" in a scheduler you are instructing the MFA Server that this is the Scheduler to use when the AWM client has entered the value of "DEFAULT" in the Scheduler Name field of the New Connection dialog box. Only one scheduler should be marked as the default.
You can have multiple Schedulers defined and you can specify their names in the Scheduler Name field of the New Connection dialog box.
If you type DEFAULT in the Scheduler Name field of the New Connection dialog box, and there is no default defined you will get the following message saying there is no default scheduler defined:
No default z/Server Scheduler configured.
If you specify a Scheduler Name that does not exist you get an error message saying that a matching scheduler could not be found:
Unable to find matching server details for z/Server Scheduler named Scheduler Name.
For clients supplied with versions of Enterprise Developer earlier than 3.0 the scheduler is unable to determine what type of user server the client requires. By default, the scheduler attempts to start an STC user server. You can specify the default user server to be started by the scheduler by adding the DEF_USRSRV_MODE parameter with the value of STC or CEA.
For CEA
To configure the scheduler for CEA, you need to add the following to the configuration:
For example:
<Scheduler SCHEDULER_NAME="TAURISPF" LISTENER_PORT="1200" FIRST_PORT="1201" LAST_PORT="1249" USER_SERVER_JOBNAME="IVPUSRT" CCSID="037" CEA_LOGONPROC=”CEAPROC” CEA_ACCOUNT=”ACCT#” > <UserServer CCSID="037" /> </Scheduler>
Optionally, if you have uncommented MAILHDR in the scheduler procedure, you need to add the MAIL_NOTIFY="1" attribute to the scheduler section.
For example:
<Scheduler SCHEDULER_NAME="TAURISPF" LISTENER_PORT="1200" FIRST_PORT="1201" LAST_PORT="1249" USER_SERVER_JOBNAME="IVPUSRT" CCSID="037" MAIL_NOTIFY=”1” > <UserServer CCSID="037" /> </Scheduler>
See Configuration parameters reference for more information on the available parameters for a scheduler address space.
See Configuration reference for more information on the parameters applicable to a CEA scheduler.