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

Submit the job for every Month end with Time Trigger?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Mon Apr 09, 2007 5:37 pm
Reply with quote

I want to submit the job for every Month end , But i forgot to submit the job . it makes lot of manual work to submit it again , Is there any suitable method to run the job using Time Trigger.
Back to top
View user's profile Send private message
vkphani

New User


Joined: 29 Oct 2003
Posts: 29

PostPosted: Mon Apr 09, 2007 6:23 pm
Reply with quote

If you have a scheduler then you can include the job over there and frequency of running can be set.
Back to top
View user's profile Send private message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Mon Apr 09, 2007 6:35 pm
Reply with quote

Sorry , I am not having any scheduler to run.

Thanks

Ram
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Apr 09, 2007 7:34 pm
Reply with quote

ramfrom84 wrote:
Sorry , I am not having any scheduler to run.


Well, then, what DO you have? What is available on your system that is date and time aware and is allowed to submit jobs? There needs to be something somewhere that knows when your job needs to be submitted. The Forum members don't know your enterprise configuration, so we can't give you a specific answer.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 10, 2007 12:54 am
Reply with quote

Hello,

How does your organization handle other "monthend" jobs?

It is unlikely that you are the only one with a monthend requirement. Whatever means the other monthend jobs are scheduled, you should use. There is no reason for you to create some new non-standard scheduling process.
Back to top
View user's profile Send private message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Wed Apr 11, 2007 7:54 pm
Reply with quote

Hi All,
Other than Scheduling method, Is there is any way to submit the job, The job may put hold for whole month and run when the month end comes.

Becomes in my working enviroment there is no scheduler..

Thanks
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Apr 11, 2007 8:01 pm
Reply with quote

Quote:
Becomes in my working enviroment there is no scheduler..

Well I must admit, I find that a little strange.

Do you use 3420 and punch cards too icon_biggrin.gif
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Wed Apr 11, 2007 8:04 pm
Reply with quote

ram, I'm aware that this is a common issue when you're working on client machines without access to basic facilities that most of us take for granted.

I presume you know that you can submit your job(s) with TYPRUN=HOLD and they'll just sit on the input queue until they are released. The problem is - what will release them? MVS can issue a console command to release your job at a set time, but that only works on a 24-hour clock timeframe.

- Can you just do that and then ask the operators to release your jobs at the appropriate day and time?

- Again, I ask, what DO you have access to that is date and time aware? Netview? Connect:Direct? Auto-Operator?

- Setup a CRON schedule in UNIX to submit your job(s)?

- Setup a schedule on a PC or workstation or server that can submit your job(s)?

- Sounds like a lot of you folks need to look into designing your own simple and portable job scheduling systems.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Wed Apr 11, 2007 8:15 pm
Reply with quote

Hello,

And regardless of which platforms you work on and what the data center has or does not have in the way of a scheduling product, there are most likely other monthly jobs.

I repeat - why should this job not be handled the same as other monthly jobs are?

IMHO, if this is needed every month, you should not be able to forget to run it. Individuals might forget, even a manual schedule will not.
Back to top
View user's profile Send private message
ramfrom84

New User


Joined: 23 Aug 2006
Posts: 93
Location: chennai

PostPosted: Tue Apr 17, 2007 2:51 pm
Reply with quote

Thanks for all to take Interest on this issue..

1. In my working Environment , there is No schedular to trigger the job.
2. It is my personal job to show monthly scorcard.So i cannot ask other to run the job on month end.
3. I use Windows schedular to run this job at month using FTP Method but the disadvantage is Change in password for both window login and mainframe Password

My friend suggest that It may possible using REXX Program to submit the job at particular time u want. so I raise this message. If anybody know it reply me back,,.,

Thanks once again for ur interest...
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Apr 17, 2007 3:18 pm
Reply with quote

Just a picky question :-)

how do You behave when You have other tasks to complete on a certain deadline ?!?

What if You are on leave when the job should be run ?

Usually any organization has an operating team with the task of
submitting jobs,
both for standard runs and
for end user requests ( given that the end user has prepared and documented it )

Unless You are the operating team :-)
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Apr 17, 2007 3:31 pm
Reply with quote

Quote:
1. In my working Environment , there is No schedular to trigger the job.
2. It is my personal job to show monthly scorcard.So i cannot ask other to run the job on month end.

My friend suggest that It may possible using REXX Program to submit the job at particular time u want. so I raise this message. If anybody know it reply me back,,.,

Is there really no scheduler package at your shop, which I would find an extreme rarity, or is it that you can not use the scheduler because this is a "private" job ?

The REXX method
- batch - How will it work, you submit a REXX job that will just sit there hogging an initiator and consuming copious amounts of resource until the end of month when it finally submits the selected job. No, not a good idea.

I suppose you could sub the job daily to see if it is end of month and then submit the job, but if you forget to sub the job to sub the job, then that's the same as forgetting to sub the original job anyway.

- online - A REXX exec that you either run manually once a day, unless of course you forget, which is exactly the same as forgetting to sub your job on the right day anyway, or maybe an additional step to your standard logon proc. This means a non standard logon procedure which I'm sure that your sysprogs will not take kindly to. Anyway, what will happen if you logoff and logon again at month end, submit the job twice, or more ?

I can vaguely recall a JES parameter that will execute certain commands at a given time, which means that if you can persuade your sysprogs to change the parameter library for the system IPL they may include a daily occurrance to submit your job to see if it is month end to submit your job if it is. But don't be surprised if you get booted out of their office with the sound of hysterical laughter.

Basically, it's not a production job, it's not part of an integral testing or reporting process, so it is your responsibility to ensure that you do not forget to submit the job on time.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Tue Apr 17, 2007 11:53 pm
Reply with quote

Hello,

Even if this was a "regular production" job, you do not want to tie up resources month after month so it can be submitted at the correct time.

Given that it is a personal project, i'd suggest adding something to your tso login proc to check if the time is right and submit the job. You will also want to make an entry somewhere that the job has been submitted "this month" and not submit it multiple times.

Another optoin might be to just run your job on the pc and use the scheduling available on your pc. What kind of code is running on the mainframe to do your monthly job?
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Populate last day of the Month in MMD... SYNCSORT 2
No new posts JCL sort card - get first day and las... JCL & VSAM 9
No new posts To get the the current time DFSORT/ICETOOL 13
No new posts RC query -Time column CA Products 3
No new posts C Compile time time stamps Java & MQSeries 10
Search our Forums:

Back to Top