JOBPARM SYSAFF的用处

下午干活的时候不小心又被z/OS整了,后来才发现是SYSAFF在捣鬼,陷阱太多了。顺便学习一下这个东西。 貌似用*就是正在读这个job,也就是你sub的时候用的system。如果用any就是任何一个system了。
 
SYSAFF=*

SYSAFF=(*[,IND])
SYSAFF=ANY
SYSAFF=(ANY[,IND])
SYSAFF=cccc
SYSAFF=(cccc[,IND])
SYSAFF=(cccc[,cccc]...)
SYSAFF=((cccc[,cccc]...)[,IND])
Indicates the systems that are eligible to process the job. The parameter indicates from 1 through 7 system affinities.

Note:

Use the SYSAFF parameter to ensure the conversion and execution of the job will be done on a specific system. If you code SYSAFF, both processes are done on the specified system.

For TSO-submitted jobs that specify NOTIFY in the JOB statement: after a job has completed execution, JES2 may change the SYSAFF specification for the job if the job executed on a processor other than the processor that the user is logged on. This is done by JES2 during output processing to allow NOTIFY processing to take place on the user's processor.

*
Indicates the system that read the job.
ANY
Indicates any system in the JES2 multi-access spool configuration.
cccc
Identifies a specific system, where cccc is the 1-4 alphanumeric character system ID of one of the systems in the JES2 multi-access spool configuration. To specify more than one system, separate the system identifiers with commas and enclose the system ID list in parentheses; for example, SYSAFF=(cccc,cccc,cccc). Repeat cccc up to the number of processors in the configuration.

Note:

If you specify SYSAFF=cccc on the /*JOBPARM statement and also have a /*ROUTE XEQ or /*XEQ statement, the latter statement must appear before the /*JOBPARM statement.

IND
After any of the other SYSAFF specifications, indicates that JES2 is to use system scheduling in independent mode. When IND is coded, the subparameters must be enclosed in parentheses.
posted @ 2013-03-27 18:13  db2zos  阅读(310)  评论(0编辑  收藏  举报