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

JCL which will wait for 2 min during its execution


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

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Wed Jul 30, 2008 6:53 pm
Reply with quote

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

Senior Member


Joined: 19 May 2007
Posts: 1512
Location: Virginia, USA

PostPosted: Wed Jul 30, 2008 7:03 pm
Reply with quote

NO, have you searched the forum for wait or delay?
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 Jul 30, 2008 7:04 pm
Reply with quote

Look for "sleep", like this previous topic:

www.ibmmainframes.com/viewtopic.php?t=9708
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Wed Jul 30, 2008 7:27 pm
Reply with quote

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

Moderator Emeritus


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

PostPosted: Wed Jul 30, 2008 9:31 pm
Reply with quote

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

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jul 31, 2008 11:11 am
Reply with quote

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

Global Moderator


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

PostPosted: Thu Jul 31, 2008 11:37 am
Reply with quote

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

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 31, 2008 12:06 pm
Reply with quote

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

Active User


Joined: 07 May 2005
Posts: 110
Location: hyderabad

PostPosted: Thu Jul 31, 2008 4:50 pm
Reply with quote

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

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jul 31, 2008 5:19 pm
Reply with quote

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

New User


Joined: 07 Mar 2007
Posts: 8
Location: Mumbai

PostPosted: Thu Jul 31, 2008 5:38 pm
Reply with quote

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

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 31, 2008 5:38 pm
Reply with quote

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

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 31, 2008 5:41 pm
Reply with quote

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

Global Moderator


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

PostPosted: Thu Jul 31, 2008 5:41 pm
Reply with quote

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

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jul 31, 2008 5:43 pm
Reply with quote

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

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu Jul 31, 2008 5:45 pm
Reply with quote

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.. icon_neutral.gif
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 Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Wait for job rc CLIST & REXX 10
No new posts Parallel Sysplex - subprogram execution CICS 7
No new posts Prod parallel execution on mainframe ... CICS 1
No new posts Started transaction enters "firs... CICS 3
Search our Forums:

Back to Top