1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
|
/*
========== licence begin GPL
Copyright (C) 2002-2003 SAP AG
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
========== licence end
*/
package com.sap.dbtech.vsp001;
/**
* copy of some funcion codes
*/
public abstract class FunctionCode {
public static final int Nil_FC = 0;
public static final int CreateTable_FC = 1;
public static final int SetRole_FC = 2;
public static final int Insert_FC = 3;
public static final int Select_FC = 4;
public static final int Update_FC = 5;
public static final int Delete_FC = 9;
public static final int Explain_FC = 27;
public static final int DBProcExecute_FC = 34;
public static final int Commit_FC = 54;
public static final int Rollback_FC = 55;
public static final int Commit_Release_FC = 241;
public static final int Rollback_Release_FC = 242;
public static final int FetchFirst_Fc = 206;
public static final int FetchLast_Fc = 207;
public static final int FetchNext_Fc = 208;
public static final int FetchPrev_Fc = 209;
public static final int FetchPos_Fc = 210;
public static final int FetchSame_Fc = 211;
public static final int FetchRelative_Fc = 247;
public static final int Show_FC = 216;
public static final int Describe_FC = 224;
public static final int Select_into_FC = 244;
public static final int DBProcWithResultSetExecute_FC = 248;
public static final int MSelect_FC = 1004;
public static final int MDelete_FC = 1009;
public static final int MFetchFirst_Fc = 1206;
public static final int MFetchLast_Fc = 1207;
public static final int MFetchNext_Fc = 1208;
public static final int MFetchPrev_Fc = 1209;
public static final int MFetchPos_Fc = 1210;
public static final int MFetchSame_Fc = 1211;
public static final int MSelect_into_FC = 1244;
public static final int MFetchRelative_Fc = 1247;
/*
* copy of application codes coded in the 11th byte of parseid
*/
public static final int csp1_p_none = 0;
public static final int csp1_p_command_executed = 1;
public static final int csp1_p_use_adbs = 2;
public static final int csp1_p_release_found = 10;
public static final int csp1_p_fast_select_dir_possible = 20;
public static final int csp1_p_not_allowed_for_program = 30;
public static final int csp1_p_close_found = 40;
public static final int csp1_p_describe_found = 41;
public static final int csp1_p_fetch_found = 42;
public static final int csp1_p_mfetch_found = 43;
public static final int csp1_p_mass_select_found = 44;
public static final int csp1_p_reuse_mass_select_found = 46;
public static final int csp1_p_mass_command = 70;
public static final int csp1_p_mselect_found = 114;
public static final int csp1_p_for_upd_mselect_found = 115;
public static final int csp1_p_reuse_mselect_found = 116;
public static final int csp1_p_reuse_upd_mselect_found = 117;
public static final int[] massCmdAppCodes = {
csp1_p_mfetch_found,
csp1_p_mass_select_found,
csp1_p_reuse_mass_select_found,
csp1_p_mass_command,
csp1_p_mselect_found,
csp1_p_for_upd_mselect_found,
csp1_p_reuse_mselect_found,
csp1_p_reuse_upd_mselect_found,
};
}
|