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.  ECHOIN AND HANDLEIN

    Posted 10/21/09 01:38 PM

    Originally posted by: SystemAdmin


    Hi.

    When I am trying to use the below code for 5mb input file, it works fine. But when I tried for 30MB file it fails saying 'Target not available'.

    =VALID(RUN("X12_Claim_Local_" + IF(FileType = "65C", "CC", FileType) + ".mmc",
    ECHOIN(1, PACKAGE(837P_clm_Fixed)) +" -OE3" + " -AEW"),
    FAIL("FAILED<US>" + LASTERRORCODE() + " " + LASTERRORMSG()))

    When i modified the rule to

    =VALID(RUN("X12_Claim_Local_" + IF(FileType = "65C", "CC", FileType) + ".mmc",
    HANDLEIN(1, PACKAGE(837P_clm_Fixed)) +" -OF3" + " -AEW"),
    FAIL("FAILED<US>" + LASTERRORCODE() + " " + LASTERRORMSG()))

    the maps says - map completed successfully. But in the actual output card it puts "0" (zero). What should I do to make it write to output. Any inputs??
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender
    #DataExchange


  • 2.  Re: ECHOIN AND HANDLEIN

    Posted 10/21/09 02:00 PM

    Originally posted by: SystemAdmin


    I guess I am using wrong syntax - Instead of "-OE3", I am using "-OF3". I will try that - hope it works~
    #IBMSterlingTransformationExtender
    #IBM-Websphere-Transformation-Extender
    #DataExchange


  • 3.  Re: ECHOIN AND HANDLEIN

    Posted 10/21/09 04:16 PM

    Originally posted by: repanzer


    If you're executing a RUN(MaP), you can over ride the settings, or input/outputs.

    If I wanted to over ride the input with a File, it would be -IF1 /path/filename.txt

    I for Input
    F for File
    1 for Input card 1.

    If I wanted to over ride the first output card with a file, it would be -OF1 /path/filename.txt.

    O = outbound
    F = file
    1 for output card 1.

    OE1 is ECHO output card one, back into the field where you're excecuting your RUN MAP. If will go out, run it, and return the output of card 1 into that field.

    After you specify which card and what adapter type (-OF1, file adapter), you must supply the adapter commands. For file, there is only one adapter commands, which is the path and filename. You switched your map from -OE1 to OF1, but you did not supply a path and filename where the map should put OF1.
    #DataExchange
    #IBM-Websphere-Transformation-Extender
    #IBMSterlingTransformationExtender


  • 4.  Re: ECHOIN AND HANDLEIN

    Posted 10/28/09 04:21 PM