IBM Sterling Transformation Extender

Sterling Transformation Extender

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

 View Only
Expand all | Collapse all

How to set environment variable on windows 7

  • 1.  How to set environment variable on windows 7

    Posted Tue March 24, 2015 11:35 AM

    Originally posted by: JayCh


    I've recently encountered with a problem When executing an update operation on a table in a Unicode Oracle instance containing a 'CHAR' column.

    The error looks like below.The 'CHAR' column was of type "char(1 char)". When tried to update this column with value "Y", this was being inserted as "Y   ", which is causing the error. The data language is "Native" in the type tree for this column.

    Error returned by OCIStmtExecute, errcode=12899
    ORA-12899: value too large for column "SUPPORT"."TEST6"."COL2" (actual: 4, maximum: 1)

     

     I found the below solution from IBM, but I couldn't figure how to set envirnment variable. Need advice on how to do this.

    To disable the WTX default column padding functionality, the following environment variable can be set:

    TX_DB_PAD_CHAR=0

     

    Help much appreciated

     

    Thanks,

    Jay

     


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


  • 2.  Re: How to set environment variable on windows 7

    Posted Tue March 24, 2015 11:51 AM

    Originally posted by: paul.brett


    From the Control Panel / System applet, choose 'Advanced systems settings'.

    {See screenshot1}

    From the Advanced tab, click the Environment variables button.

    {See screenshot2}

    Use the New button in the System variable section, and create your entry.

    {See screenshot3}

    Thank-you.

    Paul.

    Follow me on Twitter


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


  • 3.  Re: How to set environment variable on windows 7

    Posted Tue March 24, 2015 12:46 PM

    Originally posted by: JayCh


    Thanks Much Paul!

    Now my map updates the column without any problem

     

    Best Regards,

    Jay


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