View previous topic :: View next topic |
Author |
Message |
kris_madras Beginner
Joined: 07 Apr 2004 Posts: 41 Topics: 30
|
Posted: Fri Aug 06, 2004 4:14 am Post subject: LISTDSI - Share disposition P'lem...- Solution pls.... |
|
|
Hi all,
I'm struggling to solve the following problem..could you help me..?
I am using LISTDSI to process all the members...in a PDS...
pdstext1 = "'E2CTSS2.SAMPLE.TEST5' directory"
x = LISTDSI(pdstext1)
and after that when I try to free the above PDS(pdstext1),
{Requirement is to delete the above PDS..}
Address "TSO" "FREE DS(" pdstext ") DELETE"
The above line causing an error as...
"DATA SET E2CTSS2.SAMPLE.TEST5 NOT FREED, DELETE DISPOSITION INVALID FOR DATA SET ALLOCATED AS SHARED"
I guess the problem is LISTDSI opening the PDS in SHARE Mode....
Could you suggest me how to Free the PDS after using LISTDSI..?
Thanks
Kris |
|
Back to top |
|
 |
bluebird Beginner
Joined: 06 Aug 2004 Posts: 2 Topics: 0
|
Posted: Fri Aug 06, 2004 5:53 am Post subject: |
|
|
I do not think you need to do a free ... just delete the damn dataset !!! |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
semigeezer Supermod
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
|
Posted: Fri Aug 06, 2004 11:43 am Post subject: |
|
|
LISTDSI does not leave an allocation. You must have an existing one that you created before or after the listdsi. |
|
Back to top |
|
 |
|
|