IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
#Supplychain
 View Only
  • 1.  EXIT for load module in C on z/OS

    Posted 08/28/07 08:50 AM

    Originally posted by: SystemAdmin


    Hi,

    has anyone experience in calling a c program on z/OS?
    If I define a rule:
    pre
    =EXIT(
    " ",
    "SHA256",
    "abc"
    [/pre]
    to execute the module SHA256 in my loadlib concatenated in the steplib I get an error saying:
    preLoad failed for program SHA256[/pre]

    Andreas
    #IBM-Websphere-Transformation-Extender
    #DataExchange
    #IBMSterlingTransformationExtender


  • 2.  Re: EXIT for load module in C on z/OS

    Posted 08/28/07 12:03 PM

    Originally posted by: N8JUC


    The EXIT function presumes you're calling a function in a DLL. The format is "dllname->functionname". You'll need to compile with the C compiler DLL feature.
    #DataExchange
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender


  • 3.  Re: EXIT for load module in C on z/OS

    Posted 08/29/07 02:52 PM

    Originally posted by: SystemAdmin


    Doesn't work on z/OS:
    Load failed for program SHA256->SHA256

    Which compiler options?
    pre
    Compiler options. . . . . . . : *NOGONUMBER *NOALIAS *RENT *TERMINAL *NOUPCONV *SOURCE *LIST
    : *NOXREF *AGGR *NOPPONLY *NOEXPMAC *NOSHOWINC *NOOFFSET *MEMORY *NOSSCOMM
    : *NOLONGNAME *START *EXECOPS *ARGPARSE *NOEXPORTALL*NODLL(NOCALLBACKANY)
    : *LIBANSI *NOWSIZEOF *REDIR *ANSIALIAS *DIGRAPH *NOROCONST *ROSTRING
    : *TUNE(5) *ARCH(5) *SPILL(128) *MAXMEM(2097152) *NOCOMPACT
    : *TARGET(LE,CURRENT) *FLAG(I) *NOTEST(SYM,BLOCK,LINE,PATH,HOOK) *NOOPTIMIZE
    : *NOINLINE(AUTO,NOREPORT,100,1000) *NESTINC(255) *BITFIELD(UNSIGNED)
    : *NOCHECKOUT(NOPPTRACE,PPCHECK,GOTO,ACCURACY,PARM,NOENUM,
    : NOEXTERN,TRUNC,INIT,NOPORT,GENERAL,CAST)
    : *FLOAT(HEX,FOLD,AFP) *STRICT *NOIGNERRNO *NOINITAUTO
    : *NOCOMPRESS *NOSTRICT_INDUCTION *AGGRCOPY(NOOVERLAP) *CHARS(UNSIGNED)
    : *NOCSECT
    : *NOEVENTS
    : *OBJECT
    : *NOOPTFILE
    : *NOSERVICE
    : *NOOE
    : *NOIPA
    : *SEARCH(//'CEE.SCEEH.+', 'CEE.SCEEH.+')
    : *NOLSEARCH
    : *NOLOCALE *HALT(16) *PLIST(HOST)
    : *NOCONVLIT
    : *NOASCII
    : *NOGOFF *ILP32 *NOWARN64
    : *NOXPLINK(NOBACKCHAIN,NOSTOREARGS,NOCALLBACK,GUARD,OSCALL(NOSTACK))
    : *ENUMSIZE(SMALL)
    : *NOHALTONMSG
    : *NOSUPPRESS
    : *NODEBUG
    : *NOSQL
    : *NOCICS
    : *UNROLL(AUTO)
    [/pre]
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 4.  Re: EXIT for load module in C on z/OS

    Posted 08/28/07 02:56 PM

    Originally posted by: laurieaw


    Can the EXIT "program" be a java program?
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender