Enumeration types
The APPC file transfer has the following enumeration types.
Values in the HF_FTAPPC_ABORT_UPLOAD_FLAG
Upload Abort Mask : Specifies what to do when one of the following conditions occurs during upload.
•  eFTAPPC_Abort_Field_Truncation: A field truncation occurred. Used with eFTAPPC_FileType_Ascii, TAPPC_FileType_Basic_Sequential, and eFTAPPC_FileType_Tabbed
•  eFTAPPC_Abort_Record_Extra_Data: Extra data at the end of record. Used with eFTAPPC_FileType_Source
•  eFTAPPC_Abort_BasicRandom_Conversion_Error: Conversion error in BASIC Random file. Used with eFTAPPC_FileType_Basic_Random
•  eFTAPPC_Abort_Length_Mistmatch: Actual record length does not match Host file record length. Used with eFTAPPC_FileType_DIF_Excel
If the corresponding mask is set, then the file transfer is aborted.
Values in the HF_FTAPPC_TIME_FORMAT
Specifies the Time Format:
•  eFTAPPC_TimeFormat_HMS: Hours Minutes Seconds (hh:mm:ss)
•  eFTAPPC_TimeFormat_ISO: International Standards Organization (hh.mm.ss)
•  eFTAPPC_TimeFormat_USA_Std:USA Standard (hh:mm AM or PM)
•  eFTAPPC_TimeFormat_IBM_Eur_Std:IBM European Standard (hh.mm.ss)
•  eFTAPPC_TimeFormat_Japan_ISCE: Japanese Industrial Standard Christian Era (hh:mm:ss)
•  eFTAPPC_TimeFormat_AS400_DDS: AS/400 Data Description Specifications (AS/400 file attribute)
•  eFTAPPC_TimeFormat_AS400_Job_Default: AS/400 Job Default
Values in the HF_FTAPPC_TIME_SEPARATOR
Time Separator:
•  eFTAPPC_TimeSep_Colon: Colon (:)
•  eFTAPPC_TimeSep_Period: Period (.)
•  eFTAPPC_TimeSep_Comma: Comma (,)
•  eFTAPPC_TimeSep_Blank: Blank ()
•  eFTAPPC_TimeSep_Null: Null (no separator)
•  eFTAPPC_TimeSep_Host_Job_Default: Host Job Default
Values in the HF_FTAPPC_DATE_FORMAT
Date Format:
•  eFTAPPC_DateFormat_AS400_Job_Default: AS/400 Job Default
•  eFTAPPC_DateFormat_MDY: Month Day Year (mm/dd/yy)
•  eFTAPPC_DateFormat_DMY: Day Month Year (dd/mm/yy)
•  eFTAPPC_DateFormat_YMD: Year Month Day (yy/mm/dd)
•  eFTAPPC_DateFormat_Julian: Julian (yy/ddd)
•  eFTAPPC_DateFormat_ISO: International Standards Organization (yyyy-mm-dd)
•  eFTAPPC_DateFormat_USA_Std: USA Standard (mm/dd/yyyy)
•  eFTAPPC_DateFormat_IBM_Eur_Std: IBM European Standard (dd.mm.yyyy)
•  eFTAPPC_DateFormat_Japan_ISCE: Japanese Industrial Standard Christian Era (yyyy-mm-dd)
•  eFTAPPC_DateFormat_AS400_DDS: AS/400 Data Description Specifications (AS/400 file attribute)
Values in the HF_FTAPPC_DATE_SEPARATOR
Date Separator:
•  eFTAPPC_DateSep_Slash: Slash (/)
•  eFTAPPC_DateSep_Dash: Dash (-)
•  eFTAPPC_DateSep_Period: Period (.)
•  eFTAPPC_DateSep_Comma: Comma (,)
•  eFTAPPC_DateSep_Blank: Blank ()
•  eFTAPPC_DateSep_Null: Null (no separator)
•  eFTAPPC_DateSep_Host_Job_Default: Host Job Default
Values in the HF_FTAPPC_NUMDATA_SEPARATOR
Numerical Data Separator:
•  eFTAPPC_DataSep_Period: Period (.)
•  eFTAPPC_DataSep_Comma: Comma (,)
•  eFTAPPC_DataSep_PC_Default: Default (PC default)
Values in the HF_FTAPPC_FILE_TYPE
PC File Type:
•  eFTAPPC_FileType_Ascii: ASCII
•  eFTAPPC_FileType_Dos_Random: DOS Random
•  eFTAPPC_FileType_Basic_Sequential: BASIC Sequential
•  eFTAPPC_FileType_Basic_Random : BASIC Random
•  eFTAPPC_FileType_No_Conversion: No Conversion
•  eFTAPPC_FileType_Dos_Random_2: DOS Random 2
•  eFTAPPC_FileType_Source: Source
•  eFTAPPC_FileType_RestoreBackup: To Restore - Download only, To Backup - Upload only
•  eFTAPPC_FileType_Tabbed: Tabbed
•  eFTAPPC_FileType_DIF_Excel: DIF Format – Excel
Values in the HF_FTAPPC_UPLOAD_MEMBER_STATUS
Upload Member Status:
•  eFTAPPC_Up_Member_Status_Replace: Replace member if existing
•  eFTAPPC_Up_Member_Status_NewMember: Create a new member
•  eFTAPPC_Up_Member_Status_NewFileMember: Create a new file and member
Values in the HF_FTAPPC_UPLOAD_AUTHORITY
Upload Authority:
•  eFTAPPC_Up_Authority_ReadWrite
•  eFTAPPC_Up_Authority_All
•  eFTAPPC_Up_Authority_None
•  eFTAPPC_Up_Authority_ReadOnly
Values in the HF_FTAPPC_UPLOAD_MEMBER_TYPE
Upload Member Type:
•  eFTAPPC_Up_Member_Type_Source: Source
•  eFTAPPC_Up_Member_Type_Data: Data
Values in the HF_CNX_TYPE
Connection type:
•  eCnx_Local: The COM object resides on the same machine as HostFront server. It talks to HF server through the shared memory.
•  eCnx_TcpIp: The COM object talks to HostFront server through a TCP/IP connection.
•  eCnx_Http: The COM object talks to HostFront server through a HTTP request
Values in the HF_FTP_EMUL_TYPE
•  eEmul_HFA5250:
•  eEmul_HFM3270:
•  eEmul_Unknown:
Values in the HF_FTP_XFER_TYPE
•  eXfer_Ascii:
•  eXfer_Binary:
•  eXfer_Unknown: