void UTF_SCRIPT_LoadTableFromGround(int argc, char *argv[]) { char Table_Name[30], File_Name[50]; /* UTF_put_text("Entered UTF_SCRIPT_LoadTableFromGround\n"); */ if (argc != 3) { UTF_error("Error: Read %d args w/script cmd LOAD_TABLE_FROM_GROUND. Expected 2.\n", argc - 1); UTF_exit(); } strcpy(Table_Name, argv[1]); strcpy(File_Name, argv[2]); UTF_put_text("Table_Name is %s\n", Table_Name); UTF_put_text("File_Name is %s\n", File_Name); UTF_TBL_LoadTableFromGround(Table_Name, File_Name); return; }
void UTF_SCRIPT_LoadTableFromGround(int argc,char *argv[]) { int debug = 1; int32 status; char Table_Name[30], File_Name[50]; if (argc != 3) { UTF_error("Error: Read %d args w/script cmd LOAD_TABLE_FROM_GROUND. Expected 2.\n", argc -1 ); UTF_exit(); } strcpy(Table_Name,argv[1]); strcpy(File_Name,argv[2]); if (debug) UTF_put_text("UTF_SCRIPT_LoadTableFromGround called for Table_Name = '%s', File_Name = '%s'\n", Table_Name, File_Name); status = UTF_TBL_LoadTableFromGround(Table_Name, File_Name); if (debug) UTF_put_text("UTF_TBL_LoadTableFromGround returned %d", status); return; }