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

Error when concat ispplib(panel lib) with datasets


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
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
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
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: 2358
Location: Israel

PostPosted: Tue Feb 21, 2006 11:29 am
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
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: 2358
Location: Israel

PostPosted: Tue Feb 21, 2006 12:57 pm
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
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
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: 2358
Location: Israel

PostPosted: Tue Feb 21, 2006 9:49 pm
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: 290
Location: Basel, Switzerland

PostPosted: Wed Mar 01, 2006 7:49 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top