IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Started Tasks.


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Thu Jul 31, 2014 8:33 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu Jul 31, 2014 8:46 pm
Reply with quote

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
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Thu Jul 31, 2014 9:46 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Aug 01, 2014 7:30 am
Reply with quote

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
View user's profile Send private message
gylbharat

Active Member


Joined: 31 Jul 2009
Posts: 565
Location: Bangalore

PostPosted: Fri Aug 01, 2014 1:24 pm
Reply with quote

Thanks Robert.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Started task using a generation dataset JCL & VSAM 7
No new posts Run a simple JOB as Started Task All Other Mainframe Topics 4
No new posts non-system user tasks in CICS CICS 1
No new posts Started transaction enters "firs... CICS 3
No new posts How to specify TCBLIMIT for DB2CONN i... CICS 3
Search our Forums:

Back to Top