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

JCL to run Automatically in SDSF


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raj4neo
Warnings : 1

New User


Joined: 12 May 2006
Posts: 51
Location: India

PostPosted: Tue Mar 11, 2014 4:37 pm
Reply with quote

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
View user's profile Send private message
David Robinson

Active User


Joined: 21 Dec 2011
Posts: 199
Location: UK

PostPosted: Tue Mar 11, 2014 5:16 pm
Reply with quote

Use your job scheduler to do this.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Mar 11, 2014 5:20 pm
Reply with quote

Quote:
The job will be in SDSF

icon_eek.gif
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
View user's profile Send private message
raj4neo
Warnings : 1

New User


Joined: 12 May 2006
Posts: 51
Location: India

PostPosted: Tue Mar 11, 2014 5:26 pm
Reply with quote

David ,

yeah scheduler can do it , But is there any other command to run in Spool

BTW Enrico thanks
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Mar 11, 2014 6:26 pm
Reply with quote

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
View user's profile Send private message
raj4neo
Warnings : 1

New User


Joined: 12 May 2006
Posts: 51
Location: India

PostPosted: Tue Mar 11, 2014 6:46 pm
Reply with quote

Thanks a lot for all your Support Guys
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Tue Mar 11, 2014 7:05 pm
Reply with quote

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
View user's profile Send private message
Pandora-Box

Global Moderator


Joined: 07 Sep 2006
Posts: 1592
Location: Andromeda Galaxy

PostPosted: Tue Mar 11, 2014 7:20 pm
Reply with quote

Quote:
What Sheldon from American TV Show 'Big Bang Theory' would ask:

Is that Sarcasm?


Actually Leonard Hofstadter helps Sheldon to find the Sarcasm icon_biggrin.gif
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Tue Mar 11, 2014 7:23 pm
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Mar 11, 2014 9:21 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Tue Mar 11, 2014 10:54 pm
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Tue Mar 11, 2014 11:44 pm
Reply with quote

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
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Tue Mar 11, 2014 11:46 pm
Reply with quote

Quote:
"I followed the manuals"


Yeah right....Like most TS here read the manuals.
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Wed Mar 12, 2014 12:15 am
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Mar 12, 2014 12:25 am
Reply with quote

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 icon_cool.gif
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Wed Mar 12, 2014 12:40 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Wed Mar 12, 2014 1:13 am
Reply with quote

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
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts XDC SDSF output to temp dataset CLIST & REXX 4
No new posts Search string in job at regular Spool... CLIST & REXX 0
No new posts SDSF like solution in EJES (store com... All Other Mainframe Topics 4
Search our Forums:

Back to Top