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 

Check for ISRDDN Allocation before issuing "FREE DD(DDN

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF
View previous topic :: View next topic  
Author Message
amit4u79
Beginner


Joined: 24 Oct 2005
Posts: 109
Topics: 36
Location: India

PostPosted: Wed Nov 23, 2005 8:53 pm    Post subject: Check for ISRDDN Allocation before issuing "FREE DD(DDN Reply with quote

Hi Techfundoos,

Can you kindly let me know if I am allocating some DSNs to a DDName using "ALLOC DD(AAAA) DSN(ZZZZ.AAAA.EEEE)" and before this I am issuing a "FREE DD(AAAA)" command through my REXX. But for the first time it gives me informational message that DD name not allocated..not freed.

Is there any way I can check if a particular DDname is allocated in the TSO ISRDDN list ?? If yes only then I need to issue the FREE DD command.

Please let me know.

Regards,
Amit Joshi
Singapore.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
semigeezer
Supermod


Joined: 03 Jan 2003
Posts: 1014
Topics: 13
Location: Atlantis

PostPosted: Wed Nov 23, 2005 9:09 pm    Post subject: Reply with quote

You don't need to isuse the FREE command because you can add REUSE to the ALLOC command. That will free the ddname if it is allocated before it does the new allocation.
Back to top
View user's profile Send private message Visit poster's website
amit4u79
Beginner


Joined: 24 Oct 2005
Posts: 109
Topics: 36
Location: India

PostPosted: Wed Nov 23, 2005 11:45 pm    Post subject: Reply with quote

Hey thanks a lot for the information. My code is working fine now.

Thanks again.

Regards,
Amit Joshi.
_________________
I did not fail; I have found 10,000 ways that would not work - Albert Einstein.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> TSO and ISPF 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