Home      Mainframe Forum      Mainfarme Tutorials      IBM Manuals      Mainframe Interview Questions      Mainframe Books      IT News     SiteMap     Downloads


     
 
MAINFRAME - TIP OF THE DAY : When you use COUNT operator to set a return code of 12 or 4 if a specified data set is EMPTY, NOTEMPTY, HIGHER(n), LOWER(n), EQUAL(n) or NOTEQUAL(n). where n is a specified number of records. If you use the RC4 operand, SORT sets RC=4; otherwise it sets RC=12. E.g. COUNT FROM(IN) EMPTY

Google
 
Web mainframegurukul.com

HOw to run jcl at particular date and time?

 
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL
  View previous topic :: View next topic  
Author Message
parthiban
Member


Joined: 16 Mar 2009
Posts: 6

PostPosted: Tue Mar 17, 2009 1:48 am    Post subject: HOw to run jcl at particular date and time? Reply with quote

Hi..
I would like to know ..how to run jcl at particular date and time...Like how an automation work does...If possible..Let me know that...
pls explain with keyword and example...Thank u

Bye
_________________
PARTHIBANJ
Back to top
View user's profile Send private message

Natarajan
Moderator


Joined: 10 Oct 2008
Posts: 537
Location: chennai

PostPosted: Tue Mar 17, 2009 9:49 am    Post subject: Reply with quote

as per my knowledge, we need to use CA-7 tool to set a jcl to execute in a specified time. OR any other similar tool.
_________________
Natarajan
Chennai
Back to top
View user's profile Send private message Visit poster's website
Anuj Dhawan
Moderator


Joined: 09 Aug 2008
Posts: 1625
Location: Mumbai, India

PostPosted: Tue Mar 17, 2009 3:53 pm    Post subject: Reply with quote

Hi,

Natarajan has given you the right direction - CA-7, ESP or any other Scheduler software is the right choice for such things. There are some non-production scenarios where people use INTRDR in the last step of some JCL to initiate the next logical JCL. . . but they are not that reliable . . .
_________________
Regards,
Anuj
Back to top
View user's profile Send private message
Anuj Dhawan
Moderator


Joined: 09 Aug 2008
Posts: 1625
Location: Mumbai, India

PostPosted: Tue Mar 17, 2009 4:19 pm    Post subject: Reply with quote

Hi 'gain,

Quote:
The JES2 Set Automatic command $TA is issued on the MVS Master Console. It tells JES to execute another JES command at the specified time or interval.

The tricky part is telling JES what command to issue at that time. There are no JES commands to submit a job (you can easily start a task, though), so you have to think about what you want to do. Of course, most shops usually have a task that can be started and passed a jobname, which the task will read from a specific library and submit through the Internal Reader. You would need to know the name of that task and what library(s) it reads the jobs from.

The only possibility I can think of is to submit your job with TYPRUN=HOLD. Then, issue the $TA command for the set time. Have the $TA command issue the $A command to release your specific job.

Surely these test systems must offer some sort of alternative??

_________________
Regards,
Anuj
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    mainframegurukul.com Forum Index -> JCL All times are GMT + 5 Hours
Page 1 of 1



 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Presence of mind......too good example !!! 4 Anuj Dhawan 3990 Mon Jul 15, 2013 6:40 am
Ambrosse View latest post
This topic is locked: you cannot edit posts or make replies. In cics what is new copy.please give me a example. 4 mainframe5 10477 Fri May 04, 2012 10:58 pm
DikDude View latest post
No new posts what is SPAM RECORDS IN VSAM please give me a example. 2 mainframe5 3545 Tue Nov 25, 2008 8:46 am
Anuj Dhawan View latest post
No new posts for debugging , i need to display variables in hexadecimal 6 danig 5839 Thu Apr 17, 2008 1:34 pm
danig View latest post
No new posts SORT OUTFIL HEADER Example 4 murali gummadi 8891 Fri Aug 11, 2006 12:53 pm
Reshmi Remadevi View latest post
 





Cobol Tutorial
This cobol tutorial covers most of the important topics like STRING, UNSTRING, COMP, COMP-3.....
DB2 Tutorial
DB2 Tutorial focuses on DB2 COBOL Programming. Explains in simple language. Some Chapters are locked, Forum members have free access to these chapters
CICS Tutorial
This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming...
JCL Tutorial
This is most popular JCL tutorial from mainframegurukul. It does contain important jcl ....
SORT Tutorial
This Tutorial covers all important aspects of DFSORT. Has more SORT examples
INTERVIEW Questions
This page covers important interview questions
Mainframe Jobs
Mainframe Jobs posted by members of mainframegurukul forum
FaceBook Page
MainframeGurukul FaceBook Page
LinkedIn Page
MainframeGurkul Linkedin Page

This widget requires Flash Player 9 or better







Go to top of the page
 

Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  DB2 INTERVIEW QUESTIONS ||  COBOL INTERVIEW QUESTIONS  ||  JCL INTERVIEW QUESTIONS ||  JCL2 INTERVIEW QUESTIONS ||  VSAM INTERVIEW QUESTIONS ||  CICS INTERVIEW QUESTIONS  ||  Online tutorials ||  Online ABEND Reference ||  JCL References ||  COBOL References ||  VSAM References ||  Tutorials by Drona Series ||  SQL tutorial ||  BOOKS  ||  SiteMap  ||  Expeditor Tutorial  ||  FILE-AID Tutorial  ||  Changeman Tutorial  ||  COBOL   ||  DB2   ||  JCL  ||  CICS  ||  VSAM  ||  DB2 Interview Questions ( 110 )   || Simple JCL Tutorials  || JCL Tutorial from MainframeGurukul.com   || Simple JCL Tutorial - Chapter1 ;|| Mainframe Forum - Tutorials  || Mainframe Tutorials || Mainframe CICS tutorial|| Mainframe COBOL Tutorial

Drona Educational Forums - Mainframe Cobol DB2 CICS Board
Powered by phpBB

mainframetopic-3833.html