Linda,
My parmlibs have the printer members in them. I was just trying to get a REXX
job to delete a printer member.
Address ISPEXEC
"LMINIT DATAID(INDD) DATASET('VPS.PARMLIB3') ENQ(SHRW)"
"LMOPEN DATAID("INDD") OPTION(OUTPUT)"
"LMMDEL DATAID("INDD") MEMBER(DAVE)"
"LMCLOSE DATAID("INDD")"
"LMFREE DATAID("INDD")"
Thanks for everybody's help, Dave
Dave Hansen
Eagan Software Systems Branch
651-406-1208
[email protected]
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of
Linda Mooney
Sent: Wednesday, June 06, 2012 2:50 PM
To: [email protected]
Subject: Re: Exclusive ENQ on dataset owned (SHR) by Started Task?
Hi Dave,
Which VPS dataset?
Thanks,
Linda
----- Original Message -----
From: "Dave L - Eagan Hansen, MN" <[email protected]>
To: [email protected]
Sent: Wednesday, June 6, 2012 9:33:55 AM
Subject: Exclusive ENQ on dataset owned (SHR) by Started Task?
Group,
We are running z/OS V1R13 and a product called VPS. I wrote some code to
ADD, UPDATE and DELETE members of a PDS. It worked fine until VPS came up.
I see that the VPS started task "OWNS SHR" the dataset.
I need to allocate a dataset exclusively (EXCL/DISP=MOD) to do a delete from
REXX (or batch).
I can go out by hand using 3.4 and delete all I want from the dataset while
VPS is up.
I asked the vendor if they can FREE the dataset after program initialization.
Waiting to hear back.
Q). What is the best way to delete a PDS member while the started task has it
allocated DISP=SHR?
Thanks in advance, Dave
Dave Hansen
Eagan Software Systems Branch
651-406-1208
[email protected]
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN