InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IFileTransfer Interface / Xfr400ForceHexConversion Property


In This Topic
    Xfr400ForceHexConversion Property
    In This Topic
    Returns or specifies whether InfoConnect translates data that is in coded character set ID (CCSID) 65535 from hexadecimal to EBCDIC when transferring it to the host or from hexadecimal to ANSI when receiving it from the host.
    Syntax
    'Declaration
     
    
    Property Xfr400ForceHexConversion As Boolean
    'Usage
     
    
    Dim instance As IFileTransfer
    Dim value As Boolean
     
    instance.Xfr400ForceHexConversion = value
     
    value = instance.Xfr400ForceHexConversion
    bool Xfr400ForceHexConversion {get; set;}

    Property Value

    The default value is True.

    Use the default value (True) only if you are sure that the data contained within columns tagged with the 65535 CCSID are in a defined CCSID that matches the user profile CCSID of the jobs that will access it. Accessing 65535 CCSID data from job CCSID that does not match the data may corrupt the database file.

    When this property is False, InfoConnect sends and receives data in hexadecimal format instead of translating it.


    Exceptions
    ExceptionDescription
    This exception is thrown when you modify an InfoConnect property that has been secured via the Permissions Manager, or if such a modification requires Administrator privileges.
    Remarks

    Columns tagged with the 65535 CCSID are designed not to be converted when transferring to and from the PC. This property keeps InfoConnect from converting CCSID 65535 data into character data and should be set to True only when it is not possible to change the column or file CCSID from 65535. Every attempt should be made to appropriately tag the data with the correct CCSID.

    This property is applicable to 5250 sessions only.

    See Also