f2s_get_int¶

Applies to: Oracle, MS SQL, MySql/MariaDB, PostgreSQL Drivers

Syntax

f2s_get_int  {variable}

Parameter

Description

variable

uChar[] array to hold the mock .INT file contents

Description

This command returns a chunk of the INT file generated from the restructuring done inside of ENABLE_SCRIPTING and DISABLE_SCRIPTING. Since some INT files can be very large, the file can be looped through, grabbing chunks at a time.

Example
   handle hUser
   integer iNewColumn
   uChar [] INTFile
   uChar [] SQLScript

   move Users.File_Number to hUser

   set_attribute f2s_scripting_mode of _f2s_ActiveDriverID to true
   Create_field hUser at iNewColumn
   Set_Attribute DF_FIELD_NAME of hUser iNewColumn to "Start_Date"
   Set_Attribute DF_FIELD_TYPE of hUser iNewColumn to DF_DATE
   set_attribute f2s_scripting_mode to false

   f2s_get_int INTFile
   f2s_get_sql_script SQLScript

Related Commands

  • f2s_get_sql_script

Replaces: Command GET_INT_CHUNK