Hi

 

I am getting the following error on a CATTR Assembly statement

 

0001B0A                00000000 00001B51   2833 OPENFI#C CSECT ,
000000

                                            2834 M_WSA    CATTR
RMODE(ANY),PART(openfile),NOTEXECUTABLE,ALIGN(2)          000000

** ASMA155S Previous use of symbol is not this section type

** ASMA167E Required name missing

** ASMA435I Record 2371 in IBMUSER.TEST.SOURCE(OPENFILE) on volume: JOEABC

 

 

Openfile is the name of my C function it is not a global variable  don’t
know why the compiler is generating a CATTR statement

 

   #ifdef __MVS__                                               

     BOOL  openfile(int *aletd, char *filename, void *sysptrs) 

     {                                                         

 

When I change the function name from openfile to something else e.g. openfil
I don’t get the error don’t get it

Reply via email to