Article View: comp.lang.asm370
Article #1041Re: WAIT FOR AN ECB POST IN C PROGRAM (IBM C/C++)
From: Dan Espen
Date: Fri, 06 Dec 2002 02:07
Date: Fri, 06 Dec 2002 02:07
23 lines
2325 bytes
2325 bytes
pwansch@ca.ibm.com (Peter Wansch) writes: > Hi, > > I am writing a C program that issues IFI READA calls > and want to pass an ECB to it (that I have defined as > int in my C program), that gets posted by DB2 when the buffer > gets filled. > > Is there a simple way to wait for an ECB to get posted in > a C program? I use IBM C/C++ (we do not have SAS/C installed). > I think they have a WAIT1(&ecb) in ostask.h. I want to accomplish > something similar, or is my only chance to write an external > assembler program that calls wait? > > What would my signal/interrupt situation then be in case my C > program receives a signal? > > I appreciate any help or pointers, Sure is: selectex()
Technical Details
Message-ID:
<ic4r9rq4rg.fsf@home-1.localdomain>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!cox.net!nntp2.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mailReferences:
<50855413.0212051455.47b17483@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd4af,a5fac976a692a520 X-Google-Attributes: gidfd4af,public X-Google-Thread: 10da59,a5fac976a692a520 X-Google-Attributes: gid10da59,public X-Google-Thread: f8131,a5fac976a692a520 X-Google-Attributes: gidf8131,public X-Google-ArrivalTime: 2002-12-05 18:07:15 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.stueberl.de!cox.net!nntp2.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!nntp3.aus1.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail NNTP-Posting-Date: Thu, 05 Dec 2002 20:07:13 -0600 Sender: dane@home-1.localdomain Newsgroups: comp.lang.asm370,bit.listserv.ibm-main,bit.listserv.db2-l Subject: Re: WAIT FOR AN ECB POST IN C PROGRAM (IBM C/C++) References: <50855413.0212051455.47b17483@posting.google.com> Content-Type: text/plain; charset=US-ASCII From: Dan Espen <dane@mk.telcordia.com> Date: 05 Dec 2002 21:07:31 -0500 Message-ID: <ic4r9rq4rg.fsf@home-1.localdomain> Organization: None User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Lines: 23 NNTP-Posting-Host: 68.37.149.55 X-Trace: sv3-qBRmAkiB/pDBDiwJJmXV2kxZurmLpsuFKbH3rvO2pJeZ6CvWoelqxZ0th6SHKb/oVTYGywNrvnJBAw0!wxyEPk8d4/Iu/9oDdKLhyXxIBf28SBft2AVaXYyo27IuU9KhTpfkllYH/5E= X-Complaints-To: abuse@comcast.com X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.1