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
 

 

Error when concat ispplib(panel lib) with datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
vijayalayancse

New User


Joined: 29 Aug 2005
Posts: 25
Location: Chennai

PostPosted: Tue Feb 21, 2006 10:43 am    Post subject: Error when concat ispplib(panel lib) with datasets
Reply with quote

when i concat ispplib(panel lib) with datasets,the following error is coming
"CONCAT- SPECIFIED DDNAME(S) ALREADY "OPEN" "
Can anyone plz let me know ASAP?
Back to top
View user's profile Send private message

amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Tue Feb 21, 2006 11:28 am    Post subject:
Reply with quote

Hey vijayalayancse,
First tell me 1thing why we will have to concate the ISPPLIB? For running a REXX routine, u need not have to concate the ISPPLIB. Only the REXX DS is to be concatenated. However from your error message I think that ur panel lib is already opened in edit mode.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Feb 21, 2006 11:29 am    Post subject:
Reply with quote

I think that the message you get is self explanatory.

To see to which file your dataset is allocated, use TSO ISRDDN and look for the library name.

O.
Back to top
View user's profile Send private message
vijayalayancse

New User


Joined: 29 Aug 2005
Posts: 25
Location: Chennai

PostPosted: Tue Feb 21, 2006 12:45 pm    Post subject: Re: what is this error?
Reply with quote

hi!
i cancat the a dataset with the ispplib using (Alloc f(xyz) f('ds') shr resue"

"cancat ispplib xyz").while executing thro' online mode, i am getting the
above mentioned error. i am also getting the same error even i do it thro'
option 6(command prompt)

advance tanx.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Feb 21, 2006 12:57 pm    Post subject:
Reply with quote

Again - Your library is probably already allocated to other file. Try the ISRDDN option.

O.
Back to top
View user's profile Send private message
amitava
Warnings : 1

Active User


Joined: 30 Oct 2005
Posts: 186
Location: India

PostPosted: Tue Feb 21, 2006 2:32 pm    Post subject:
Reply with quote

Hey adding to OFFER71 afetr issuing the ISRDDN command, search the ISPPLIB and find out whether that library is already allocated or not. I am also sending you a sample CONCAT code. Just check it out.

TSOCMD = ALLOC F(SYSPROC) DA('<Your Library Name>') SHR REUSE"
ADDRESS TSO TSOCMD
Back to top
View user's profile Send private message
vijayalayancse

New User


Joined: 29 Aug 2005
Posts: 25
Location: Chennai

PostPosted: Tue Feb 21, 2006 8:48 pm    Post subject: Re: what is this error?
Reply with quote

hi!

ya. i knew it ispplib would be allocated to some other datasets(seen thro' issrdn ot ddlist).but can't we cancat a lib that is allocated to some other
dataset.if so, when ever we execute some tool how come we allocate sysproc to the tool dataset.
again, the error would be not this, if that is the problem.
this error is something else i suppose.
correct me if iam wrong.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Feb 21, 2006 9:49 pm    Post subject:
Reply with quote

You can allocate a dataset for exclusive use if it's already allocated to another file. That's the way MVS works.

O.
Back to top
View user's profile Send private message
martin9

Active User


Joined: 01 Mar 2006
Posts: 287
Location: Basel, Switzerland

PostPosted: Wed Mar 01, 2006 7:49 pm    Post subject:
Reply with quote

with the LIBDEF you can temporariliy concatinate a library to an existing
dd-name (i.e ISPPLIB). Note: all your dd-names which ISPF uses, are
preallocated. If you need an extra library use the LIBDEF ISPPLIB DATASET ID('library') and remove it after usage LIBDEF ISPPLIB DATASET. If you don't do removing, then it will be kept as long your
tso session exists, only in batch it will be freed again automatically.

this method is useful, when you have your own application libraries...

martin9
Back to top
View user's profile Send private message
rameshvs
Currently Banned

New User


Joined: 10 Aug 2007
Posts: 30
Location: atlanta

PostPosted: Tue Oct 30, 2007 7:40 pm    Post subject:
Reply with quote

Hi All,

I am hitting the same error as mentioned here. I can succesfully allocate a dataset or add a dataset to the concatenation of a SYSPROC or SYSEXEC using the ALLOC command but when I try to do the same for a ISPPLIB or an ISPMLIB am getting the error Library already open. Is there a work around for that other than LIBDEF? because I guess when we do LIBDEF our dataset is removed from concatenation when the application loses control. But what I am expecting is that once I add a dataset to ISPPLIB it should be there in the concatenation until the user logs off.

Please correct me if I am trying something that cannot be done.

Thanks
Ramesh.
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Is the 'prompt' data for the DSLIST p... Willy Jensen TSO/ISPF 2 Tue Dec 06, 2016 4:38 am
No new posts S922 Error yuvan ABENDS & Debugging 3 Fri Dec 02, 2016 6:58 pm


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