MVS allows 2 identical named tasks to run. The best way to have only 1
is to use a lock data set.
//LOCK    DD
DSN=appl.task.LOCK,DISP=(MOD,DETETE,DELETE),SPACE=(1,TRK),UNIT=SYSDA

This will allow the first to run and others to queue up waiting on data
set.

Dennis Roach
GHG Corporation
Lockheed Martin Mission Services
Facilities Design and Operations Contract
NASA/JSC
Address:
   2100 Space Park Drive 
   LM-15-4BH
   Houston, Texas 77058
Mail:
   P.O. Box 58487
   Mail Code H4C
   Houston, Texas 77258
Phone:
   Voice:  (281)336-5027
   Cell:   (713)591-1059
   Fax:    (281)336-5410
E-Mail:  [email protected]

All opinions expressed by me are mine and may not agree with my employer
or any person, company, or thing, living or dead, on or near this or any
other planet, moon, asteroid, or other spatial object, natural or
manufactured, since the beginning of time.


> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:[email protected]] On
> Behalf Of George Rodriguez
> Sent: Wednesday, August 05, 2009 9:46 AM
> To: [email protected]
> Subject: 2 Identical STC Running at the Same Time
> 
> Hi Listeners,
> 
> 
> 
> I need your help...I have a product from Informatica, called Power
> Exchange. There are 4 STCs that run all the time, the exception to
this
> rule, is when backups are being done I shutdown one of the STC. The
> STCs
> are called:
> 
> 
> 
> DTLA            - Agent
> 
> DTLLSTNR      - Listener
> 
> DTLL             - Logger
> 
> DTLCOND      - Condenser
> 
> 
> 
> The duplicate STC happens to be the DTLL (but it could also be
DTLCOND)
> and it causes all kinds of problems when 2 of them are running. Is
> there
> any way of preventing the second STC from running?
> 
> 
> 
> TIA. . .
> 
> 
> 
> George Rodriguez
> 
> Specialist, Systems Programmer
> 
> Network & Technical Services
> 
> (561) 357-7652 (office)
> 
> (561) 707-3496 (mobil)
> 
> School District of Palm Beach County
> 
> 3348 Forest Hill Blvd.
> 
> Room B-332
> 
> West Palm Beach, FL. 33406-5869
> 
> Florida's Only A-Rated Urban District For Five Consecutive Years
> 
> 
> 
> 
> 
> ----------------------------------------------------------
> --------------Palm Beach County Schools---------------------
> 
> Rated "A" by the Florida Department of Education 2005-2009
> 
> -----Home of Florida's first LEED Gold Certified School-----
> -----------http://www.palmbeachschools.org-------------
> 
> The District of Palm Beach County is an Equal Education Opportunity
> Provider and Employer. Under Florida law, e-mail addresses are
> public records. If you do not want your e-mail address released in
> response to a public records request, do not send  electronic mail
> to this entity. Instead, contact this office by phone or in
> writing.
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: GET IBM-MAIN INFO
> Search the archives at http://bama.ua.edu/archives/ibm-main.html

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to