View previous topic :: View next topic
|
Author |
Message |
veena_nagesh2002 Warnings : 1 Active User
Joined: 07 May 2005 Posts: 110 Location: hyderabad
|
|
|
|
can some body provide me jcl which will wait for 2 min during its execution
step 1: copy
Step 2 : this steps has to wait for 2 min then
step 3 : which will add another job
i want step2 in this case |
|
Back to top |
|
|
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 1512 Location: Virginia, USA
|
|
|
|
NO, have you searched the forum for wait or delay? |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
I know that I have asked this questions countless times in the past, and fear yet another trip down 'crap design alley', but what on earth is either the business or technical justification for doing this. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
can some body provide me jcl which will wait for 2 min during its execution
|
To echo what Expat posted - this is utter nonsense.
You need a more appropriate design. This will only cause long-term production support issues. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
dick scherrer wrote: |
To echo what Expat posted - this is utter nonsense. |
I've been associated with this Forum since some time now, never seen this "hardness" in Dick's responses ..time to check your site standards.. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Anuj D. wrote: |
dick scherrer wrote: |
To echo what Expat posted - this is utter nonsense. |
I've been associated with this Forum since some time now, never seen this "hardness" in Dick's responses ..time to check your site standards.. |
I guess like everyone else, the same inane question being asked time and time again as a 'get out of trouble card' in lieu of proper application (or even scheduling) design can grind down even the most revered and level headed moderator ( as well as mere mortals ) |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Harsh would have been: who ever designed this is an idiot.
Instead Dick, appropriately, attacked the idea, not the person.
While we are talking about site standards....
few posters read the forum rules;
few search;
or when they search they just execute the forum search utility which is subject to the titles
(by the way, the OP did use a good title for this thread);
many questions are based on false assumptions, which many posters are unwilling to change;
many problems in the past stemmed from lack of english knowledge: there are practically no 'do not demand' responses anymore; complete missuse of terminology is often overlooked - you can only stuff so much crap into a 5 lb. bag;
many, many questions are posted that should be presented directly by the OP to their appropriate support personnel;
everytime somebody asks for compile/link/bind jcl and someone gives it to them, I laugh. |
|
Back to top |
|
|
veena_nagesh2002 Warnings : 1 Active User
Joined: 07 May 2005 Posts: 110 Location: hyderabad
|
|
|
|
guys
I have seen some of your updates like above previously, this is not the first time...... always learn, if someone is asking a question, eventhough its small to you --- but the answere could be great honour to him since he is unware of that..... if you are interested to update the repeated questions then provide your updates or with the links, otherwise ignore it from your mind, someother person will update who had intension to help others at any instance eventhough its small or repeated. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi Veena,
Well, Kevin's (superk) reply does contain a hint & link to the required answer. Actually, there are many thing which can be "done" but should not be done..all other post implies to this underlined thought..please don't take it to heart.. |
|
Back to top |
|
|
anandmsteds
New User
Joined: 07 Mar 2007 Posts: 8 Location: Mumbai
|
|
|
|
Hi Veera,
Did you tried the Time parameter.
you can code this in job card as well as step.
Syntax is : TIME=minutes
or
TIME=minutes,seconds
All,
please correct me if i am worng..
Thanks
Anand |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
veena_nagesh2002,
you are confusing HELP and DOING THE WORK.
besides, help includes advice. In this case, you came to use with a solution and you wanted us to say, yeah! good idea.
also, you did not really answer anything. you just want a sleep step. you should have searched.
you can spend all day on your BS "be kind to others crap", but it all adds up to the same thing. what you want to do used to be done that way about 20 years ago.
nowadays, there is no reason for this kind of silliness. anytime you have a job, delaying itself defeats the purpose of a scheduler.
you thought of a solution to a problem, brought to this board and did not receive the answer you wanted. So, here: "hey, so clever to think of a 20 year old solution to a problem that does not exist on modern computer systems". |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
and then along comes Anand, another solution to a non-problem.
Anand,
do you have any idea what the TIME parm on a JOB or STEP card means?
why should I be nice? this is the second thread where people have volunteered incorrect info. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
anandmsteds wrote: |
Hi Veera,
Did you tried the Time parameter.
you can code this in job card as well as step.
Syntax is : TIME=minutes
or
TIME=minutes,seconds
All,
please correct me if i am worng..
Thanks
Anand |
OK. I will correct you.
Your solution is to set a defined CPU time limit on the job / step, depending on where the TIME= is coded. This does not cause a delay in processing, which the OP has clearly requested. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
Hi,
anandmsteds wrote: |
you can code this in job card as well as step.
Syntax is : TIME=minutes
or
TIME=minutes,seconds |
Ah..are you sure..please read manual on TIME parameter in JOB card.. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6248 Location: Mumbai, India
|
|
|
|
I'm too tempted, can't stop -
The TIME parameter sets a limit on the amount of CPU time a job step can consume. When the CPU time limit supplied by the TIME parameter has been used, the job step will be terminated with a S322 abend, whether the step has finished processing or not.
Amen.. |
|
Back to top |
|
|
|