View previous topic :: View next topic
|
Author |
Message |
vijayalayancse
New User
Joined: 29 Aug 2005 Posts: 25 Location: Chennai
|
|
|
|
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 |
|
|
amitava Warnings : 1 Active User
Joined: 30 Oct 2005 Posts: 186 Location: India
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
vijayalayancse
New User
Joined: 29 Aug 2005 Posts: 25 Location: Chennai
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
Again - Your library is probably already allocated to other file. Try the ISRDDN option.
O. |
|
Back to top |
|
|
amitava Warnings : 1 Active User
Joined: 30 Oct 2005 Posts: 186 Location: India
|
|
|
|
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 |
|
|
vijayalayancse
New User
Joined: 29 Aug 2005 Posts: 25 Location: Chennai
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
martin9
Active User
Joined: 01 Mar 2006 Posts: 290 Location: Basel, Switzerland
|
|
|
|
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 |
|
|
rameshvs Currently Banned New User
Joined: 10 Aug 2007 Posts: 30 Location: atlanta
|
|
|
|
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 |
|
|
|