View previous topic :: View next topic
|
Author |
Message |
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
Hi,
we have a requirement to setup STC after IPL.
I understand that STC needs to be coded in proc.
I want to know if a normal JOB can be setup as STC?
Can I setup the below SAMPLE JCL as STC as is? If not, then what modifications needs to be made?
Sample JCL
Code: |
//XXXXXXXA JOB (XX00,0000),'XXXXXXXA',CLASS=S,MSGCLASS=X,REGION=96M
//*
//S1 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTLIST DD SYSOUT=*
//SORTIN DD DISP=SHR,DSN=XXXXXXX.TEST.INPUT
//SORTOUT DD DISP=(NEW,CATLG,DELETE),DSN=XXXXXXX.TEST.OUTPUT,
// UNIT=SYSDA,SPACE=(CYL,(10,10),RLSE),
// DCB=(RECFM=FB,LRECL=50)
//SYSIN DD *
OPTION VLSHRT
SORT FIELDS=COPY
INCLUDE COND=(5,15,CH,EQ,C'DATA ----------')
OUTREC FIELDS=(1:15,50),CONVERT
/*
|
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
You will need to speak with your systems programmers to achieve this as they will control which tasks are started immediately after an IPL.
Obviously they will be more au-fait with the standards in place at your shop than any of us would be. |
|
Back to top |
|
|
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
yes, I will speak with them.
I just want to know that such kind of JCL (with instream parms like SYSIN DD *) can be setup as STC? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
The answer depends upon your level of z/OS. 1.13 allows DD * in PROC as well as started tasks. If your site is running 1.12 or earlier, then the answer is that you MUST place the SYSIN statements into a PDS member or sequential data set and reference that on your SYSIN statement. However, your site standards prevail -- if they don't allow for SYSIN DD * in a started task, then you won't be able to use it no matter what release of z/OS your site runs. |
|
Back to top |
|
|
gylbharat
Active Member
Joined: 31 Jul 2009 Posts: 565 Location: Bangalore
|
|
|
|
Thanks Robert. |
|
Back to top |
|
|
|