Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Started Tasks.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Started Tasks.
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 31, 2014 8:46 pm    Post subject:
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    Post subject:
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: 7904
Location: Bellevue, IA

PostPosted: Fri Aug 01, 2014 7:30 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Controlling usage of resources by tasks raja1128 CICS 3 Fri Nov 06, 2015 9:53 am
No new posts CICS ENQ RESOURCE - Multiple Tasks - ... mak_tcs CICS 2 Fri Jul 17, 2015 2:29 pm
No new posts finding the taskid for a started tran... deepa12 CICS 2 Thu Aug 07, 2014 9:06 pm
No new posts Can Started Task be assigned message ... mjadwani2785 JCL & VSAM 3 Tue Nov 26, 2013 2:10 pm
No new posts How to determine if a transaction has... dejunzhu CICS 1 Thu Apr 25, 2013 3:20 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us