Article View: comp.lang.asm370
Article #1040WAIT FOR AN ECB POST IN C PROGRAM (IBM C/C++)
From: Peter Wansch
Date: Thu, 05 Dec 2002 22:55
Date: Thu, 05 Dec 2002 22:55
18 lines
1627 bytes
1627 bytes
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, Peter
Technical Details
Message-ID:
<50855413.0212051455.47b17483@posting.google.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fd4af,a5fac976a692a520,start X-Google-Attributes: gidfd4af,public X-Google-Thread: 10da59,a5fac976a692a520,start X-Google-Attributes: gid10da59,public X-Google-Thread: f8131,a5fac976a692a520,start X-Google-Attributes: gidf8131,public X-Google-ArrivalTime: 2002-12-05 14:55:55 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail From: pwansch@ca.ibm.com (Peter Wansch) Newsgroups: comp.lang.asm370,bit.listserv.ibm-main,bit.listserv.db2-l Subject: WAIT FOR AN ECB POST IN C PROGRAM (IBM C/C++) Date: 5 Dec 2002 14:55:55 -0800 Organization: http://groups.google.com/ Lines: 18 Message-ID: <50855413.0212051455.47b17483@posting.google.com> NNTP-Posting-Host: 216.183.29.38 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1039128955 28681 127.0.0.1 (5 Dec 2002 22:55:55 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: 5 Dec 2002 22:55:55 GMT