MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

When is a CATLG'ed DS available?

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
btnwood
Beginner


Joined: 27 Apr 2005
Posts: 1
Topics: 1

PostPosted: Wed Apr 27, 2005 3:33 pm    Post subject: When is a CATLG'ed DS available? Reply with quote

Simple question which I can't find the answer. When is a dataset catalogued and available to other jobs - at the end of the step or at the end of the job? I'm planning to catalog a tape file in each step of a job with 8+ steps. I like to tell the DBA that a file is available for him to load after each step. Can I do that? Or do I have to wait until the job completes to have the files available?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Thu Apr 28, 2005 7:40 am    Post subject: Reply with quote

btnwood,

If you are creating a new dataset and cataloging it , then it is available only AT THE END OF THE JOB. You need to wait for the completion of jobs.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
SureshKumar
Intermediate


Joined: 23 Jan 2003
Posts: 211
Topics: 21

PostPosted: Thu Apr 28, 2005 8:38 am    Post subject: Reply with quote

Kolusu,
I had a similar requirement years ago, wherein I wanted jobs to be triggerred as and when a Step is complete, and the file from that step was used to trigger an update job. I don't recollect now but its something that can be tweaked on CA7 to release the file for further processing as soon as the step is complete. What do you think ?
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12380
Topics: 75
Location: San Jose

PostPosted: Thu Apr 28, 2005 9:14 am    Post subject: Reply with quote

SureshKumar,

I am not aware of a feature in CA-7 which lets you release the dataset after completion of the job. I will check the manuals

Thanks

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Thu Apr 28, 2005 9:33 am    Post subject: Reply with quote

Coding FREE on the DD card will release the dataset when the last step that uses it ends.
Back to top
View user's profile Send private message
kvssbhaskar
Beginner


Joined: 27 Dec 2004
Posts: 2
Topics: 1

PostPosted: Thu May 26, 2005 2:35 am    Post subject: Reply with quote

Hi Kolusu

As u said, a dataset is cataloged at the end of the job, but when u try to access the same dataset in the next step of the same job u wont be giving the VOLUME and UNIT parameters as required by uncataloged data sets.

Can u please correct me if I am wrong

Regards
K.V.S.S.Bhaskar
Back to top
View user's profile Send private message
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Mon May 30, 2005 5:04 pm    Post subject: Reply with quote

Hi K.V.,

I think you're right; the dataset is cataloged at step end and a non-cataloged ds "exists" as a completed entiy at step end. But they are still "reserved" to the creating job (as are DIDP=OLD ds) until job end or, as bithead noted, until a "free" is issued for it.

Existence and availability are not the same thing.
_________________
Regards, Jack.

"A problem well stated is a problem half solved" -- Charles F. Kettering
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group