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
 

 

Second JCL which is procceding the first wait for 10 min

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

New User


Joined: 02 May 2006
Posts: 3

PostPosted: Wed May 03, 2006 5:40 pm    Post subject: Second JCL which is procceding the first wait for 10 min
Reply with quote

HI ,

I have a Suite which contain's number of JCL's.

After i execute the first JCL, how could i make the Second JCL which is procceding the first wait for 10 min before it get's the input from the first jcl.

Regard's

SJ
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: Thu May 04, 2006 1:10 am    Post subject: Re: Second JCL which is procceding the first wait for 10 min
Reply with quote

Um, add a step that executes a program that sets the job in a wait status for the specified amount of time.
Back to top
View user's profile Send private message
elayadath

New User


Joined: 02 Dec 2005
Posts: 9
Location: USA

PostPosted: Fri May 05, 2006 2:12 pm    Post subject: Re: Second JCL which is procceding the first wait for 10 min
Reply with quote

put this as the 1'st step to wait

//WAIT EXEC PGM=EXCMDWP,PARM='000000000'
hhmmssdc

regds
Back to top
View user's profile Send private message
Bharanidharan

New User


Joined: 20 Jun 2005
Posts: 86
Location: Chennai, India

PostPosted: Fri May 05, 2006 5:17 pm    Post subject: Re: Second JCL which is procceding the first wait for 10 min
Reply with quote

Is this module EXCMDWP user defined? I can't find it in my system libraries.
superk, you are talking about user defined program, right? Is there any standard program/utility (and its location) that can put a job in wait status?
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: Fri May 05, 2006 6:48 pm    Post subject: Re: Second JCL which is procceding the first wait for 10 min
Reply with quote

Bharanidharan wrote:
you are talking about user defined program, right?

Yes.

Bharanidharan wrote:
Is there any standard program/utility (and its location) that can put a job in wait status?

No not really, but there are Assembler macros, COBOL macros, and REXX functions. There is the UNIX "sleep" command which can work if you have the access to it.
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
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 MQ message to wait for processing mohitsaini Java & MQSeries 1 Sat Jun 20, 2015 5:39 am
No new posts How to recall (or wait for recall of)... JPVRoff PL/I & Assembler 4 Wed Feb 18, 2015 9:19 am
No new posts CICS WAIT EVENT sureshjimmy CICS 2 Sat Sep 20, 2014 4:41 pm


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