View previous topic :: View next topic
|
Author |
Message |
raj4neo Warnings : 1 New User
Joined: 12 May 2006 Posts: 51 Location: India
|
|
|
|
Hi ,
I Submit the Job with TYPRUN = HOLD and the Job will be waiting in SDSF to Release , Is there any command to Automatically release and run the Job at particular TIME , Say we Submit the Job in Morning 11 clock , The job will be in SDSF and it should Automatically run @ 23:00 Once it satisfy the time
Thanks in Adavance |
|
Back to top |
|
|
David Robinson
Active User
Joined: 21 Dec 2011 Posts: 199 Location: UK
|
|
|
|
Use your job scheduler to do this. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
Quote: |
The job will be in SDSF |
Quote: |
Joined: 12 May 2006 |
after 9 years of hanging around You should know how to use better terminology
jobs do not reside in SDSF ... jobs reside ( ugly term ) in the SPOOL
SDSF is just a tool to manage them
rather than using the ugly jes/mvs console/operator commands |
|
Back to top |
|
|
raj4neo Warnings : 1 New User
Joined: 12 May 2006 Posts: 51 Location: India
|
|
|
|
David ,
yeah scheduler can do it , But is there any other command to run in Spool
BTW Enrico thanks |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
why not ask Your support about it...
we do not belong to Your organization and we do not know the rules!
it would be a waste of time to provide a solution that does not agree with YOUR ORGANIZATION PRACTICES |
|
Back to top |
|
|
raj4neo Warnings : 1 New User
Joined: 12 May 2006 Posts: 51 Location: India
|
|
|
|
Thanks a lot for all your Support Guys |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Quote: |
Thanks a lot for all your Support Guys
|
What Sheldon from American TV Show 'Big Bang Theory' would ask:
Is that Sarcasm? |
|
Back to top |
|
|
Pandora-Box
Global Moderator
Joined: 07 Sep 2006 Posts: 1592 Location: Andromeda Galaxy
|
|
|
|
Quote: |
What Sheldon from American TV Show 'Big Bang Theory' would ask:
Is that Sarcasm? |
Actually Leonard Hofstadter helps Sheldon to find the Sarcasm |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Correct, Sheldon asks, and Leonard answers the question.
Sometimes his answer is sarcastic, and they start a loop.
In this case, the TS has to provide the answer.... |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
Hello,
Look at the $TA command, which can issue other JES commands.
Untested code:
Code: |
$TA,T=23.00,'$AJ(jobname)' |
Should release a job in hold at 23:00 hrs. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
what really bothers me is that people give suggestions based on the lowly technicalities
completely disregarding good judgement and forgetting about the organization rules.
JES2 timed command are something frowned upon by most, I dare to say all organizations
and as such is very bad suggestion !
and what will the guy tell his support when he is going to get into trouble ??? |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
Quote: |
JES2 timed command are something frowned upon by most, I dare to say all organizations |
I was not aware of this and my suggestion maybe inappropriate
Quote: |
what will the guy tell his support when he is going to get into trouble ??? |
"I followed the manuals" |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Quote: |
"I followed the manuals"
|
Yeah right....Like most TS here read the manuals. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
|
|
Quote: |
JES2 timed command are something frowned upon by most, I dare to say all organizations |
It would be helpful if you could please educate why this commands could be harmful and prohibited.
Its like, we are newbie nuclear physicists with some theoritical know-how, doing some research on nuclear fusion intending to solve energy crisis, but some experienced soul should educate/guide what not to do in the research, so that the process does not create a NUKE |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10886 Location: italy
|
|
|
|
read my previous comments ...
WE DO NOT KNOW THE RULES....
the TS support does, thats why the support should be involved
and if You had scrolled down a few lines You would have stumble on the
Quote: |
Authority Required
When $T A creates a command element, it requires a console of at least equal authority to reference it with another $T A command.
This command requires system authority. The description of the $T RDRnn command explains how to ensure that the authority of the appropriate MVS system command group is assigned.
This command can require control security access authority. For a description of assigning command input authority, see z/OS JES2 Initialization and Tuning Guide, SA32-0991.
Access level to create an automatic command is always READ. Access level to modify (or cancel) an automatic command depends on whether the requestor created the automatic command. If the requestor created the automatic command, the access level is READ. If not, the access level required is CONTROL. |
most probably the TS does not even have the required authority |
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Furthermore, this is yet another situation where the TS as already determined a solution to their requirement.
They ask how invoke their solution, not describe the requirement, and get expert help with possible alternatives.
Joe: Here is my requirement....blah...blah..blah
Sam: I have a solution: Say we Submit the Job in Morning 11 clock , The job will be in SDSF and it should Automatically run @ 23:00 Once it satisfy the time
Joe: Would that really work? How do you do that?
Sam; I don't know, it sounds good to me. I'll just post on the MAINFRAME Forum. Somebody there will know how to do it.
Joe: Cool! |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
All of the oganizations i've supported in the last 20+ years want all of this done thru the system schedule, not some workaround an individual chooses to implement.
If all is done thru the schedule, there is much better control.
Imagine the potential confusion/problems if several people on that system implement "their own" version of a schedule. Centrol control of the Operation would be lost. Jobs could pop in at any time - even if they conflict with other work . . . |
|
Back to top |
|
|
|