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 which will wait for 2 min during its execution

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: JCL which will wait for 2 min during its execution
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    Post subject:
Reply with quote

NO, have you searched the forum for wait or delay?
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Jul 30, 2008 7:04 pm    Post subject: Reply to: need jcl for wait
Reply with quote

Look for "sleep", like this previous topic:

http://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: 8593
Location: Back in jolly old England

PostPosted: Wed Jul 30, 2008 7:27 pm    Post subject:
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

Site Director


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

PostPosted: Wed Jul 30, 2008 9:31 pm    Post subject:
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

Senior Member


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

PostPosted: Thu Jul 31, 2008 11:11 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 31, 2008 11:37 am    Post subject:
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    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Jul 31, 2008 5:19 pm    Post subject:
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    Post subject: Reply to: JCL which will wait for 2 min during its execution
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    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Thu Jul 31, 2008 5:41 pm    Post subject: Re: Reply to: JCL which will wait for 2 min during its execu
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

Senior Member


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

PostPosted: Thu Jul 31, 2008 5:43 pm    Post subject: Re: Reply to: JCL which will wait for 2 min during its execu
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

Senior Member


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

PostPosted: Thu Jul 31, 2008 5:45 pm    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Job to wait and continue based on reply yugendran COBOL Programming 5 Wed Oct 05, 2016 1:46 pm
This topic is locked: you cannot edit posts or make replies. JCL MULTIPLE STEP EXECUTION QUERY Susanta JCL & VSAM 18 Sat Jul 30, 2016 1:17 pm
No new posts output DDname JESMSGLG job during exe... italo_pm TSO/ISPF 16 Tue Jun 21, 2016 11:13 am
No new posts OMEGAMON to see In-DB2 times and Wait... Archana89 IBM Tools 4 Fri Mar 04, 2016 11:28 am
No new posts Can a DB2 insert trigger execution of... TS70363 DB2 6 Tue Nov 24, 2015 10:44 pm


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