I'm guessing that not setting commands is causing your problem.

Jon

    On Saturday, August 24, 2019, 06:27:05 PM PDT, Joseph Reichman 
<reichman...@gmail.com> wrote:  
 
  

Simple little program cannt  believe it

 

    #include <ctest.h>                                                

    #include <ceeedcct.h>                                            

    #include <string.h>                                              

    #include <stdio.h>                                                

    #include <stdlib.h>                                              

    #include <dll.h>                                                  

    #pragma map(__ceetest,"CEETEST")                                  

    #pragma linkage(CEETEST,OS_NOSTACK)                              

      main( int argc, char* argv[])                                    

    {                                                                

    typedef int (DLL_FN)(char *)                                      

    dllhandle* dllHandle;                                            

      DLL_FN* fn;                                                      

    _VSTRING commands;                                                

              _FEEDBACK fc;


      CEETEST(&commands,&fc);                                          

      dllHandle = dllload("SYSADATA");                                  

      fn = (DLL_FN*) (dllqueryfn(dllHandle, "opendata"));              

          fn("SYSADATA");                                              

      return;              

}

                                            

    CEE3204S The system detected a protection exception (System Completion
Code=0C4).

          From entry point dtFuncDeclarator::BeginNestedFunc(sFuncSymbol*)
at statement 729 at compile unit offset

          +00000510 at entry offset +00000510 at address 21DEB1B8.

                                                              


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

----------------------------------------------------------------------
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