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

How to make next step wait for a few minutes?


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Fri May 23, 2008 12:56 am
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: 1702
Location: Australia

PostPosted: Fri May 23, 2008 7:54 am
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

Moderator Emeritus


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

PostPosted: Fri May 23, 2008 8:14 am
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: 1702
Location: Australia

PostPosted: Fri May 23, 2008 8:16 am
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

Moderator Emeritus


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

PostPosted: Fri May 23, 2008 8:36 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts Return codes-Normal & Abnormal te... JCL & VSAM 7
No new posts trying to make sense of keylists TSO/ISPF 11
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts convert file from VB to FB and use tr... DFSORT/ICETOOL 8
No new posts Wait for job rc CLIST & REXX 10
Search our Forums:

Back to Top