> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:ibm-m...@bama.ua.edu] On Behalf Of Steve Comstock
> Sent: Tuesday, July 07, 2009 9:44 AM
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: Question about REUS=NONE

<snip>

> 
> You need to be careful with dynamic call vs. attaching. Enterprise
> COBOL programs can appear in a multitasking environment if they
> are compiled with the THREAD option. Each task will have its own
> copy of working-storage. COBOL programs cannot do the attach, but
> they may be attached.
> 

The COBOL manual mentions POSIX threading along with the THREAD option. I 
wonder if that means that a COBOL program could use the UNIX pthread services 
such as BPX1PTC to create a new pthread (similar to ATTACH, but different) and 
BPX1PTJ to wait for that thread to end (similar to WAIT on the ECB for ATTACH, 
but different).

<snip>
--
John McKown 
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone * (817)-961-6183 cell
john.mck...@healthmarkets.com * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM

 

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

Reply via email to