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
 

 

How to make next step wait for a few minutes?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
linweir

New User


Joined: 01 May 2007
Posts: 4
Location: Toronto, Ontario, Canada

PostPosted: Fri May 23, 2008 12:51 am    Post subject: How to make next step wait for a few minutes?
Reply with quote

I have a job running on CA7. First step is to transmit one dataset to my site. Step 2 is to process it.
Now the problem is that, 1st step always returns 0 before the file is transfered completely, therefore makes step2 fail.
I dont wanna seperate this job to be two jobs.
Can CA7 let step 2 wait for several minutes after step 1 completes? Or can JCL do...

Any helps?
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 23, 2008 12:56 am    Post subject: Re: How to make next step wait for a few minutes?
Reply with quote

linweir wrote:
Now the problem is that, 1st step always returns 0 before the file is transfered completely, therefore makes step2 fail.


You really should fix this problem instead of putting in a band-aid solution.

linweir wrote:
I dont wanna seperate this job to be two jobs.


You should, though.

linweir wrote:
Can CA7 let step 2 wait for several minutes after step 1 completes?


I don't think so, but a search of the forums for the keywords "sleep" and "wait" ought to provide some solutions.
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri May 23, 2008 7:54 am    Post subject:
Reply with quote

Hi,
most scheduling tools have utilities you can run to delay/ sleep / wait for however long is required.

I'm sure CA7 has similar facility available (it's a long time since I used CA7, and I mean a long time)

Gerry
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: Fri May 23, 2008 8:14 am    Post subject: Reply to: How to make next step wait for a few minutes?
Reply with quote

Quote:
it's a long time since I used CA7, and I mean a long time

Maybe when it was UCC-7?
Back to top
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 1703
Location: Australia

PostPosted: Fri May 23, 2008 8:16 am    Post subject:
Reply with quote

Hi Dick,
ok, you let the cat out of the bag, it was that long ago. icon_smile.gif



Gerry
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: Fri May 23, 2008 8:36 am    Post subject: Reply to: How to make next step wait for a few minutes?
Reply with quote

Not so long . . .

IIRC UCC-7 didn't come out until the early 80's.

d
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
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 Converting multiple VB files to FB fi... Viswanath Reddy JCL & VSAM 6 Mon Aug 08, 2016 11:49 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 Single step utility for compare and u... ramprakashn JCL & VSAM 5 Fri Apr 29, 2016 3:43 pm


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