Page 1 of 5

Schedule any JCL program at a specific time

PostPosted: Sat Feb 08, 2014 10:57 pm
by ramu65
hi ...I am totally new to TWS and mainframe..Is it possible to schedule any jcl program at a specific time using tws in mainframe????..Can u please tell me the steps in OPC panel to accomplish this???...I am confused between long term plan,current plan and trial plan???..please resolve my problem ....Thanks in advance..

Re: TWS job scheduling

PostPosted: Sun Feb 09, 2014 12:54 am
by NicC
Hello and welcome. You should ask these questions of your co-workers. It will be part of your intooduction to your new job to be taught these things by them or to be sent on a course.

There is no such thing as a "JCL program". JCL is not a programming language - it is a means by which humans let the machine know what programs to run, in what sequence and what resources are needed by those programs.

OPC (TWS) can sumit jobs for many conditions - it is time to start, a predecessor job has completed, a dataset has appeared from somewhere (maybe by FTP) etc. Also, jobs that it monitors need not be submitted by itself but may have come from a remote location or some other job that that it did kick off.

What is confusing about the terms "long term", "current" and "trial"? those mean exactly what the words mean normally. But, the current plan is a subset of the long term plan for the current period. And guess what a "trial plan" is!

Re: TWS job scheduling

PostPosted: Mon Feb 10, 2014 9:45 pm
by apru
Hi..I want to schedule a job in tiwoli opc panel...I created the current plan...The job started at the scheduled time but the status is remaining as S even after the deadline date and time is over..what might be the reason for this???.....am I going wrong with the scheduling procedure???

Re: TWS job scheduling

PostPosted: Wed Feb 12, 2014 1:30 pm
by Blackthorn
The deadline date/time has nothing to do with the status of the job. If it is started, it will remain started until it completes or fails.

What is the extended status of the job?

Re: TWS job scheduling

PostPosted: Wed Feb 12, 2014 2:57 pm
by apru
hi....can u please tell me where I should write the code for job????...

Re: TWS job scheduling

PostPosted: Wed Feb 12, 2014 2:57 pm
by apru
i mean in opc panel

Re: TWS job scheduling

PostPosted: Wed Feb 12, 2014 3:46 pm
by Blackthorn
Sorry, I do not understand what you mean.

Can you elaborate?

Re: TWS job scheduling

PostPosted: Sat Feb 15, 2014 11:45 pm
by apru
sorry ....actually i am totally new to OPC...I want to schedule a job using OPC...i have read the IBM manuals..This is what I understood after reading the manuals..To schedule a job ,first we need to define a worksation...then create application,run cycle,operation,job description and finally add occurrence in current plan...Am I right???....please correct me if I am wrong....When I followed the above steps,I was able to see the jcl for job in current plan but the job is always in waiting status and the workstation status is active -(waiting for connection)(type-computer(stc/job)......please help me resolve my problem......

Re: TWS job scheduling

PostPosted: Sun Feb 16, 2014 8:13 pm
by NicC
If you want a job scheduled then speak to your scheduling people. They will know what you need to do. IF you are a trainee scheduler person then ask your senior scheduler people - that is one of the reasons that they are there - to help train newbies.

Re: TWS job scheduling

PostPosted: Sun Feb 16, 2014 10:06 pm
by apru
My team mates are not aware of scheduling...dats y I thought of posting my problem in this forum in the hope of getting a solution