Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

JCL to run Automatically in SDSF

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
raj4neo
Warnings : 1

New User


Joined: 12 May 2006
Posts: 49
Location: India

PostPosted: Tue Mar 11, 2014 4:37 pm    Post subject: JCL to run Automatically in SDSF
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: 175
Location: UK

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

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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Mar 11, 2014 5:20 pm    Post subject: Reply to: JCL to run Automatically in SDSF
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: 49
Location: India

PostPosted: Tue Mar 11, 2014 5:26 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Mar 11, 2014 6:26 pm    Post subject: Reply to: JCL to run Automatically in SDSF
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: 49
Location: India

PostPosted: Tue Mar 11, 2014 6:46 pm    Post subject:
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: 645
Location: Pennsylvania

PostPosted: Tue Mar 11, 2014 7:05 pm    Post subject:
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

Moderator


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

PostPosted: Tue Mar 11, 2014 7:20 pm    Post subject:
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: 645
Location: Pennsylvania

PostPosted: Tue Mar 11, 2014 7:23 pm    Post subject:
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: 1445
Location: Azeroth

PostPosted: Tue Mar 11, 2014 9:21 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Mar 11, 2014 10:54 pm    Post subject: Reply to: JCL to run Automatically in SDSF
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: 1445
Location: Azeroth

PostPosted: Tue Mar 11, 2014 11:44 pm    Post subject:
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: 645
Location: Pennsylvania

PostPosted: Tue Mar 11, 2014 11:46 pm    Post subject:
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: 1445
Location: Azeroth

PostPosted: Wed Mar 12, 2014 12:15 am    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Wed Mar 12, 2014 12:25 am    Post subject: Reply to: JCL to run Automatically in SDSF
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: 645
Location: Pennsylvania

PostPosted: Wed Mar 12, 2014 12:40 am    Post subject:
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

Site Director


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

PostPosted: Wed Mar 12, 2014 1:13 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SDSF Command Avtrix CLIST & REXX 4 Fri Sep 30, 2016 11:13 am
No new posts SDSF REXX - Console command with ' vasanthz CLIST & REXX 2 Thu Feb 18, 2016 11:35 pm
No new posts SDSF REXX for DFHSM vasanthz IBM Tools 7 Mon May 11, 2015 7:16 pm
No new posts Vsam file updated to RLS disabled aut... biswaranjan Parimanik JCL & VSAM 10 Fri May 01, 2015 12:43 pm
No new posts Batch JCL to Move the SDSF HELDQ Jobs... raj4neo TSO/ISPF 3 Thu Apr 23, 2015 12:44 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us