Right, the Enq is there for a reason. My VPS delete Rexx only removes the 
VPSMLIST entry, not the printer member. This update works fine with an Alloc 
SHR REU.

Cheers,
MARK DOUGLAS
Senior IT Consultant | Mainframe | CITEC | www.citec.com.au
Department of Science, Information Technology, Innovation and the Arts
Queensland Government
 
Contact      [email protected] | +61 7 322 22739 | +61 410 937 141
Location    1C 317 Edward Street, Brisbane, Queensland
Postal        GPO Box 279, Brisbane QLD 4001
 
  www.citec.com.au
 

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
Hansen, Dave L - Eagan, MN
Sent: Thursday, 7 June 2012 6:39 AM
To: [email protected]
Subject: Re: Exclusive ENQ on dataset owned (SHR) by Started Task?

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


***************************** Disclaimer *****************************

The contents of this electronic message and any attachments are intended only 
for the addressee and may contain privileged or confidential information. They 
may only be used for the purposes for which they were supplied. If you are not 
the addressee, you are notified that any transmission, distribution, 
downloading, printing or photocopying of the contents of this message or 
attachments is strictly prohibited. The privilege of confidentiality attached 
to this message and attachments is not waived, lost or destroyed by reason of 
mistaken delivery to you. If you receive this message in error please notify 
the sender by return e-mail or telephone.

Please note: the Department of Science, Information Technology, Innovation and 
the Arts carries out automatic software scanning, filtering and blocking of 
E-mails and attachments (including emails of a personal nature) for detection 
of viruses, malicious code, SPAM, executable programs or content it deems 
unacceptable. All reasonable precautions will be taken to respect the privacy 
of individuals in accordance with the Information Privacy Act 2009 (Qld). 
Personal information will only be used for official purposes, e.g. monitoring 
Departmental Personnel's compliance with Departmental Policies. Personal 
information will not be divulged or disclosed to others, unless authorised or 
required by Departmental Policy and/or law.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to