Yes the binder API header as coded does cause harm when included in a MetalC 
program.  Below is the result of including the binder API header as provided by 
IBM:

ERROR CCN3244 /usr/include/__iew_api.h:659   External variable __IEW_GE cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:658   External variable __IEW_GE cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:657   External variable __IEW_GE cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:588   External variable __IEW_GE cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:583   External variable __IEW_GE cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:579   External variable __IEW_GE cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:701   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:699   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:698   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:697   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:695   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:690   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:687   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:685   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:683   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:680   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:678   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:675   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:672   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:670   External variable __IEW_FD cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:661   External variable __IEW_SE cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:644   External variable __IEW_SE cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:638   External variable __IEW_RE cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:613   External variable __IEW_IN cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:610   External variable __IEW_IN cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:607   External variable __IEW_IN cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:604   External variable __IEW_IN cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:600   External variable __IEW_IN cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:561   External variable __IEW_AL cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:548   External variable __IEW_AL cannot 
be redefined.       
ERROR CCN3244 /usr/include/__iew_api.h:530   External variable __IEW_AD cannot 
be redefined.       
CCN0793(I) Compilation failed for file //'TSOUSER.TEST.CSRC(TESTBIND)'.  Object 
file not created.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Steve Smith
Sent: Thursday, August 16, 2018 12:11 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Using the Binder API and MetalC

Metal C is an alternative to assembler in some situations, particularly where 
the overhead of setting up LE is a problem, and also not needed.

If you want to use it as an "assembler replacement", then you'll need to avoid 
pulling in header files generated for LE C.

If you want to use Metal C, then you live with its restrictions and 
limitations.  IBM won't and can't make it work just like real C.

And btw, you didn't answer Peter Relson's question: "... does its presence 
cause you harm? "

--


This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to