View previous topic :: View next topic
|
Author |
Message |
linweir
New User
Joined: 01 May 2007 Posts: 4 Location: Toronto, Ontario, Canada
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Dick,
ok, you let the cat out of the bag, it was that long ago.
Gerry |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Not so long . . .
IIRC UCC-7 didn't come out until the early 80's.
d |
|
Back to top |
|
|
|