>Can you run an STC as a batch job? Most of the time you can simply by >putting the proper JOB card in front of it: > >//STCNAME JOB (ACCT),'RUN STCNAME',CLASS=A,MSGCLASS=X >//STCNAME EXEC PROC=STCNAME >// > > >However, this will _NOT_ work properly if the STC is a single step STC >which runs a program which is in the PPT; set up in the SCHEDnn member of >PARMLIB.
Only if the task needs the SYST (system task attribute) wil this not work. All of the other PPT attributes will be honoured for jobs as well. Some differences to consider: - WLM classification is done under subsys STC or JESx, resp. - STCs are demand selected, i.e. started immediately on the system where the START command is issued. - Multiple instances of an STC may run in parallel on the same or different systems in the sysplex - Jobs are submitted to JESx and are only started when an initiator is available to run the job. They also may run on any system (if not directed to a specific system via SYSAFF, SYSTEM, or SCHED parameters). - Only one job with a given jobname can usually run at a time in the sysplex (unless JESx is setup to allow otherwise). -- Peter Hunkeler ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
