/* This file is automatically generated by sql_to_c.awk */

#include "sqlnode.h"
#include "sqlfn.h"
#include "sqltype.h"

/* dbpump_root.sql */

static const char *other0 = 
"sequence_set (\'dbpump_temp\', 0, 0)\n";
static const char *other1 = 
"sequence_set (\'dbpump_id\', 1, 0)\n";
static const char *tbl0 = 
"create table \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\n"
"\"name\" varchar,\n"
"\"dflt\" varchar,\n"
"\"short_help\" varchar,\n"
"\"full_help\" long varchar,\n"
"primary key(\"name\")\n"
")\n";

static const char *proc0 = 
"create procedure \"PUMP\".\"DBA\".\"__CHECK_TITLE\" ( in sname varchar )\n"
"{\n"
"declare shelp any;\n"
"declare cr cursor for select  \"short_help\" from \"PUMP\".\"DBA\".\"DBPUMP_HELP\" where \"name\"=sname;\n"
"\n"
"open cr;\n"
"whenever not found goto fin;\n"
"while (1)\n"
"{\n"
"fetch cr into shelp;\n"
"if (shelp is not null and length(shelp)>0)\n"
"{\n"
"http(\' title=\\\"\');\n"
"http(shelp);\n"
"http(\'\\\"\');\n"
"}\n"
"}\n"
"fin:\n"
"close cr;\n"
"}\n"
"--src dbpump_root.sql:69\n";

static const char *proc1 = 
"create procedure \"PUMP\".\"DBA\".\"__GET_KEYWORD\" ( in name varchar, in arr any, in def varchar )\n"
"{\n"
"if (arr is not null)\n"
"return get_keyword(name,arr,def);\n"
"return \'\';\n"
"}\n"
"--src dbpump_root.sql:92\n";

static const char *proc2 = 
"create procedure \"PUMP\".\"DBA\".\"__GET_DUMP_NAME\" ( out pars any )\n"
"{\n"
"declare s varchar;\n"
"s := sprintf(\'backup_%d\', sequence_next(\'dbpump_id\'));\n"
"\n"
"s := \"PUMP\".\"DBA\".\"CHANGE_VAL_IF_NOT_SET\" (pars, \'dump_dir\', s);\n"
"\n"
"return s;\n"
"}\n"
"--src dbpump_root.sql:101\n";

static const char *proc3 = 
"create procedure \"PUMP\".\"DBA\".\"__CHECK_HELP\" ( in sname varchar , in text varchar )\n"
"{\n"
"declare lhelp any;\n"
"declare cr cursor for select  \"full_help\" from \"PUMP\".\"DBA\".\"DBPUMP_HELP\" where \"name\"=sname;\n"
"declare fnd integer;\n"
"fnd := 0;\n"
"\n"
"open cr;\n"
"whenever not found goto fin;\n"
"while (1)\n"
"{\n"
"fetch cr into lhelp;\n"
"if (lhelp is not null and length(lhelp)>0)\n"
"{\n"
"http(\'<a onclick=\\\"var w=window.open(\\\'dbhelp.vsp?topic=\');\n"
"http(sname);\n"
"http(concat(\'\\\',\\\'helpWindow\\\',\\\'toolbar=no,status=no,resizable=no,titlebar=no,height=200,width=400\\\');w.focus();return false;\\\" href=\\\"\',sname,\'\\\">\'));\n"
"if (text is not null and length(text)>0)\n"
"http(text);\n"
"else\n"
"http(\'?\');\n"
"http(\'</a>\');\n"
"fnd := 1;\n"
"}\n"
"}\n"
"fin:\n"
"close cr;\n"
"if (fnd = 0)\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (text);\n"
"}\n"
"--src dbpump_root.sql:114\n";

static const char *proc4 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" ( in attr varchar, in val varchar)\n"
"{\n"
"if (val is not null and length(val)>0)\n"
"{\n"
"http(sprintf(\' %s=\"\',attr));\n"
"http(\"PUMP\".\"DBA\".\"PROTECT_STRING\" (val));\n"
"http(\'\" \');\n"
"}\n"
"}\n"
"--src dbpump_root.sql:148\n";

static const char *proc5 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_STR_OUT\" (in val varchar)\n"
"{\n"
"if (val is not null and length(val)>0)\n"
"http(\"PUMP\".\"DBA\".\"PROTECT_STRING\" (val));\n"
"}\n"
"--src dbpump_root.sql:160\n";

static const char *proc6 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_STR_ENCODE_OUT\" (in val varchar)\n"
"{\n"
"declare i,n,c integer;\n"
"\n"
"if (val is not null and length(val)>0)\n"
"{\n"
"n := length(val);\n"
"i := 0;\n"
"while (i<n)\n"
"{\n"
"c := aref(val,i);\n"
"if (c = 32)\n"
"http(\'&nbsp;\');\n"
"else\n"
"http(sprintf(\'%c\',c));\n"
"i := i + 1;\n"
"}\n"
"}\n"
"}\n"
"--src dbpump_root.sql:168\n";

static const char *proc7 = 
"create procedure \"PUMP\".\"DBA\".\"URLIFY_STRING\" (in val varchar)\n"
"{\n"
"declare i,n,c integer;\n"
"declare s varchar;\n"
"s := \'\';\n"
"\n"
"\n"
"if (val is not null and length(val)>0)\n"
"{\n"
"n := length(val);\n"
"i := 0;\n"
"while (i<n)\n"
"{\n"
"c := aref(val,i);\n"
"\n"
"if (c = 32)\n"
"s := concat(s,\'+\');\n"
"else\n"
"{\n"
"if ((c>=48 and c<=57) or (c>=97 and c<=122) or (c>=65 and c<=90))\n"
"s := concat(s,sprintf(\'%c\',c));\n"
"else\n"
"s := concat(s,sprintf(\'%%%02X\',c));\n"
"}\n"
"i := i + 1;\n"
"}\n"
"}\n"
"\n"
"return s;\n"
"}\n"
"--src dbpump_root.sql:191\n";

static const char *proc8 = 
"create procedure \"PUMP\".\"DBA\".\"PROTECT_STRING\" (in val varchar)\n"
"{\n"
"declare i,n,c,l integer;\n"
"declare s, ss varchar;\n"
"s := \'\';\n"
"\n"
"if (val is not null and length(val)>0)\n"
"{\n"
"n := length(val);\n"
"i := 0;\n"
"while (val is not null and length(val)>0)\n"
"{\n"
"l := strchr(val,\'<\');\n"
"if (l is null)\n"
"{\n"
"s := concat(s, val);\n"
"return s;\n"
"}\n"
"ss := subseq(val,0,l);\n"
"\n"
"s := concat(s,ss);\n"
"s := concat(s,\'&lt;\');\n"
"val := subseq(val,l+1);\n"
"}\n"
"}\n"
"return s;\n"
"}\n"
"--src dbpump_root.sql:224\n";

static const char *proc9 = 
"create procedure \"PUMP\".\"DBA\".\"EXTRACT_HOST_FROM_LINES\" ( in pars any )\n"
"{\n"
"declare host varchar;\n"
"declare i,n integer;\n"
"n:=length(pars);\n"
"i:=0;\n"
"while (i<n)\n"
"{\n"
"host:=aref(pars,i);\n"
"if (host like \'Host: %\')\n"
"{\n"
"host:=trim(subseq(host, 5),\'\\r\\n \\\"\\t\');\n"
"return host;\n"
"}\n"
"i:=i+1;\n"
"}\n"
"}\n"
"--src dbpump_root.sql:254\n";

static const char *proc10 = 
"create procedure \"PUMP\".\"DBA\".\"EXTRACT_PORT_FROM_INI\" ( )\n"
"{\n"
"declare sect, item, item_value varchar;\n"
"sect := \'Parameters\';\n"
"declare nitems, j integer;\n"
"nitems := cfg_item_count(virtuoso_ini_path(), sect);\n"
"\n"
"j := 0;\n"
"while (j < nitems)\n"
"{\n"
"item := cfg_item_name(virtuoso_ini_path(), sect, j);\n"
"item_value := cfg_item_value(virtuoso_ini_path(), sect, item);\n"
"if (equ(item,\'ServerPort\'))\n"
"return  item_value;\n"
"j := j + 1;\n"
"}\n"
"return \'1111\';\n"
"}\n"
"--src dbpump_root.sql:276\n";

static const char *proc11 = 
"create procedure \"PUMP\".\"DBA\".\"CHANGE_VAL\" ( out pars any, in name varchar, in val varchar )\n"
"{\n"
"declare i,n integer;\n"
"declare str,s,argsfile varchar;\n"
"\n"
"n := length(pars);\n"
"i := n - 2;\n"
"while (i>=0)\n"
"{\n"
"s := aref(pars,i);\n"
"if (equ(s,name))\n"
"{\n"
"aset (pars, i+1, val);\n"
"return;\n"
"}\n"
"i := i - 2;\n"
"}\n"
"pars := vector_concat (pars, vector (name, val));\n"
"return;\n"
"}\n"
"--src dbpump_root.sql:297\n";

static const char *proc12 = 
"create procedure \"PUMP\".\"DBA\".\"CHANGE_VAL_IF_NOT_SET\" ( out pars any, in name varchar, in val varchar )\n"
"{\n"
"declare i,n integer;\n"
"declare str,s,argsfile varchar;\n"
"\n"
"n := length(pars);\n"
"i := n - 2;\n"
"while (i>=0)\n"
"{\n"
"s := aref (pars,i);\n"
"str := aref (pars,i+1);\n"
"if (equ(s,name))\n"
"if (str is not null and length (str))\n"
"{\n"
"\n"
"return str;\n"
"}\n"
"else aset (pars,i+1, val);\n"
"i := i - 2;\n"
"}\n"
"vector_concat (pars, vector (name, val));\n"
"return val;\n"
"}\n"
"--src dbpump_root.sql:320\n";

static const char *proc13 = 
"create procedure \"PUMP\".\"DBA\".\"OBTAIN_DSN\" ( out pars any, in lines any )\n"
"{\n"
"declare port varchar;\n"
"port := \"PUMP\".\"DBA\".\"EXTRACT_PORT_FROM_INI\" ( );\n"
"\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'datasource\', concat(\'localhost:\',port));\n"
"\n"
"declare auth varchar;\n"
"declare _user varchar;\n"
"declare _pwd varchar;\n"
"\n"
"auth  := db.dba.vsp_auth_vec (lines);\n"
"\n"
"_user := get_keyword (\'username\', auth, \'\');\n"
"\n"
"\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'user\', _user);\n"
"\n"
"}\n"
"--src dbpump_root.sql:345\n";

static const char *proc14 = 
"create procedure \"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" ( in afrom any, out ato any, in name varchar, in dflt varchar )\n"
"{\n"
"declare s varchar;\n"
"s := get_keyword (name, afrom);\n"
"if (s is null)\n"
"s := dflt;\n"
"declare s2 any;\n"
"s2 := vector (name, s);\n"
"ato := vector_concat (ato, s2);\n"
"}\n"
"--src dbpump_root.sql:368\n";

static const char *proc15 = 
"create procedure \"PUMP\".\"DBA\".\"OUT_HIDDEN_PARS\" ( in arr any, in req varchar )\n"
"{\n"
"declare vreq, treq any;\n"
"vreq := split_and_decode (req,0,\'\\0\\0@\');\n"
"declare s, name varchar;\n"
"declare i, n integer;\n"
"n := length(vreq);\n"
"i := 0;\n"
"treq := vector();\n"
"while (i<n)\n"
"{\n"
"name := aref(vreq,i);\n"
"treq := vector_concat (treq, vector (name, \'\'));\n"
"i := i + 1;\n"
"}\n"
"n := length(arr);\n"
"i := n - 2;\n"
"while (i>=0)\n"
"{\n"
"s := aref (arr,i);\n"
"if (get_keyword (s, treq) is null)\n"
"{\n"
"http (concat (\'<input type=\\\'hidden\\\' name=\\\'\',s,\'\\\' value=\\\'\',aref (arr,i+1),\'\\\'>\\n\'));\n"
"}\n"
"i := i - 2;\n"
"}\n"
"\n"
"}\n"
"--src dbpump_root.sql:380\n";

static const char *proc16 = 
"create procedure \"PUMP\".\"DBA\".\"OUT_CHK_DFLT_PARS\" ( in req varchar )\n"
"{\n"
"declare vreq, treq any;\n"
"vreq := split_and_decode (req,0,\'\\0\\0@\');\n"
"declare s, _name varchar;\n"
"declare i, n integer;\n"
"if (vreq is null)\n"
"return 0;\n"
"n := length(vreq);\n"
"i := 0;\n"
"treq := vector();\n"
"http (\'<script> function chk_dflt () {var s=\\\'\\\';\\n\');\n"
"while (i<n)\n"
"{\n"
"_name := aref(vreq,i);\n"
"\n"
"declare sh varchar;\n"
"whenever not found goto smth;\n"
"select \"dflt\" into sh from \"PUMP\".\"DBA\".\"DBPUMP_HELP\" where \"name\"=_name;\n"
"\n"
"\n"
"http (sprintf(\'if (document.forms[0].%s.value != \\\'%s\\\')\\n\', _name, sh));\n"
"http (\'{return 0;}\\n\');\n"
"smth:\n"
"i := i + 1;\n"
"}\n"
"http (\'return 1;\\n}</script>\\n\');\n"
"return 0;\n"
"}\n"
"--src dbpump_root.sql:410\n";

static const char *proc17 = 
"create procedure \"PUMP\".\"DBA\".\"RESTORE_DEFAULT_PARS\" ( in req varchar )\n"
"{\n"
"declare vreq, treq any;\n"
"vreq := split_and_decode (req,0,\'\\0\\0@\');\n"
"declare s, _name varchar;\n"
"declare i, n integer;\n"
"if (vreq is null)\n"
"return 0;\n"
"n := length(vreq);\n"
"i := 0;\n"
"treq := vector();\n"
"http (\'<script> function restore_dflt () {\\n\');\n"
"while (i<n)\n"
"{\n"
"_name := aref(vreq,i);\n"
"\n"
"declare sh varchar;\n"
"whenever not found goto smth;\n"
"select \"dflt\" into sh from \"PUMP\".\"DBA\".\"DBPUMP_HELP\" where \"name\"=_name;\n"
"\n"
"http (sprintf(\'document.forms[0].%s.value=\\\'%s\\\';\\n\', _name, sh));\n"
"smth:\n"
"i := i + 1;\n"
"}\n"
"http (\'return 1;\\n}</script>\\n\');\n"
"return 0;\n"
"}\n"
"--src dbpump_root.sql:442\n";

static const char *proc18 = 
"create procedure \"PUMP\".\"DBA\".\"HIDDEN_VAL_OUT\" (	inout arr any,  in name varchar )\n"
"{\n"
"declare s varchar;\n"
"s := cast(\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name, arr, \'0\') as varchar);\n"
"http (\'<script language=\"JavaScript\">\');\n"
"http (sprintf (\'document.forms[0].%s.value=\"%s\";\', name, s));\n"
"http (\'</script>\\n\');\n"
"}\n"
"--src dbpump_root.sql:473\n";

/* oper_pars.sql */


static const char *other2 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'_datasource\',\'\',\'Selected Datasource\',\'Selected Datasource\')\n";

static const char *other3 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'datasource\',\'\',\'Selected Datasource\',\'Selected Datasource\')\n";

static const char *other4 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'comment\',\'\',\'General comment\',\'General comment\')\n";

static const char *other5 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'user\',\'\',\'User Name\',\'This string identifies the user in terms of Virtuoso DBMS core.<br>\')\n";

static const char *other6 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'owner_mask\',\'%\',\'Owner Filter\',\'Template for tables selection.<br>\')\n";

static const char *other7 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'password\',\'\',\'User Password\',\'This string authenticates the user in terms of Virtuoso DBMS core.<br>\')\n";

static const char *other8 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'back\',\'\',\'To previous page\',\'This will discard all operational parameters changes which was made on current page.<br>\')\n";

static const char *other9 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'accept\',\'\',\'Accept last changes\',\'This will accept all operational parameters changes which was made on current page.<br>\')\n";

static const char *other10 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'dump\',\'\',\'dump\',\'dump\')\n";

static const char *other11 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'restore\',\'\',\'restore\',\'restore\')\n";

static const char *other12 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'lpath\',\'\',\'Local Path\',\'Path on local computer to oper.parsupload.<br>\')\n";

static const char *other13 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'rpath\',\'\',\'Remote Path\',\'Path on server to dump schema/tables.<br>\')\n";

static const char *other14 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'print_to_screen\',\'\',\'Print To Screen\',\'If true, result in text form will be sent to client. In other case it will be saved at remote path.<br>\')\n";

static const char *other15 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'tabname\',\'%\',\'Table Name\',\'Filter of table names.<br>\')\n";

static const char *other16 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'qualifier\',\'\',\'Database Qualifier\',\'Database Qualifier.<br>\')\n";

static const char *other17 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'selected_qualifier\',\'%\',\'Qualifier Filter\',\'Template for tables selection.<br>\')\n";

static const char *other18 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'qualifier_mask\',\'%\',\'Qualifier Filter\',\'Template for tables selection.<br>\')\n";

static const char *other19 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'text_flag\',\'Binary\',\'SQL or Binary\',\'Choice of results format.<br>\')\n";

static const char *other20 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'split_by\',\'\',\'Split By\',\'Size of maximal result parts in MB.<br>\')\n";

static const char *other21 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'sql_where\',\'\',\'Sql Where\',\'This will be used as a filter in dumping of tables.<br>\')\n";

static const char *other22 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'from1\',\'\',\'From\',\'.<br>\')\n";

static const char *other23 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'from2\',\'\',\'From\',\'.<br>\')\n";

static const char *other24 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'to1\',\'\',\'To\',\'.<br>\')\n";

static const char *other25 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'to2\',\'\',\'To\',\'.<br>\')\n";

static const char *other26 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'tab_linkage_calls\',\'\',\'Produce Table Linkage Calls\',\'Produce Table Linkage Calls .<br>\')\n";

static const char *other27 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'link_none_if_fails\',\'\',\'Link none if any linkage fails \',\'Link none if any linkage fails .<br>\')\n";

static const char *other28 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'produce_primary_key_by_any_means\',\'\',\'Produce Primary Key by any means \',\'Produce Primary Key by any means.<br>\')\n";

static const char *other29 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'surround_doublequotes\',\'\',\'Surround all column and index names with doublequotes \',\'Surround all column and index names with doublequotes .<br>\')\n";

static const char *other30 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'prefix_names\',\'\',\'Prefix all names with backslash \',\'Prefix all names with backslash.<br>\')\n";

static const char *other31 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'prefix_select\',\'\',\'Like above but also in select statement \',\'Like above but also in select statement .<br>\')\n";

static const char *other32 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'no_drops\',\'\',\'No drops \',\'No drops.<br>\')\n";

static const char *other33 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'no_foreach\',\'\',\'Never use foreach \',\'Never use foreach .<br>\')\n";

static const char *other34 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'verbose_flag\',\'\',\'Brief/Verbose\',\'Brief/Verbose.<br>\')\n";

static const char *other35 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'escape_flag\',\'\',\'Type Of Escaping\',\'Escape strange chars/Escape also ISO-8859/1/Escape only single quotes by doubling them<br>\')\n";

static const char *other36 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'debug_trace\',\'\',\'Debug Trace\',\'Debug Trace.<br>\')\n";

static const char *other37 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'default_conversions\',\'\',\'Virtuoso Default Conversions \',\'Virtuoso Default Conversions .<br>\')\n";

static const char *other38 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'new_name_for_tables\',\'\',\'New name for Table\',\'New name for Table.<br>\')\n";

static const char *other39 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'initial_statement\',\'\',\'Initial Statement\',\'Initial Statement.<br>\')\n";

static const char *other40 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'select_override\',\'\',\'Select Override\',\'Select Override.<br>\')\n";

static const char *other41 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'unquoted_columns\',\'\',\'Unquoted Columns\',\'Unquoted Columns.<br>\')\n";

static const char *other42 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'need_table\',\'\',\'Dump Tables\',\'Dump Tables.<br>\')\n";

static const char *other43 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'need_system_table\',\'\',\'Dump System Tables\',\'Dump System Tables.<br>\')\n";

static const char *other44 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'need_global_temporary\',\'\',\'Dump Global Temporary Tables\',\'Dump Global Temporary Tables.<br>\')\n";

static const char *other45 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'need_view\',\'\',\'Dump Views\',\'Dump Views.<br>\')\n";

static const char *other46 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'need_synonym\',\'\',\'Dump Synonyms\',\'Dump Synonyms.<br>\')\n";

static const char *other47 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'need_local_temporary\',\'\',\'Dump Local Temporary\',\'Dump Local Temporary.<br>\')\n";

static const char *other48 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'need_alias\',\'\',\'Dump Aliases\',\'DumpAliases.<br>\')\n";

static const char *other49 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'insert_mode\',\'1\',\'Insert Mode\',\'INTO/SOFT/REPLACING.<br>\')\n";

static const char *other50 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'maxline\',\'\',\'Max Line Length\',\'Max Line Length.<br>\')\n";

static const char *other51 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'hexlen\',\'\',\'Max HexLen\',\'Max HexLen.<br>\')\n";

static const char *other52 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'retrieve_tables\',\'\',\'List of Available Tables\',\'List of Available Tables\')\n";

static const char *other53 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'choice_tables\',\'\',\'Component For Selecting an Available Tables\',\'Component For Selecting an Available Tables\')\n";

static const char *other54 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'choice_sav\',\'\',\'internal property\',\'internal property\')\n";

static const char *other55 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'dump_name\',\'\',\'Dump Name\',\'File Name of schema/tables data to dump/restore\')\n";

static const char *other56 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'result_txt\',\'\',\'Text explaining the result of last action\',\'Text explaining the result of last action\')\n";

static const char *other57 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'debug_in_footer\',\'\',\'This allows the debug print in footer\',\'This allows the debug print in footer\')\n";

static const char *other58 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'upload_flag\',\'\',\'\',\'\')\n";

static const char *other59 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'allow_make_path\',\'\',\'Allow to make Path\',\'This allows to create nonexisting path in dump  of schema & tables\')\n";

static const char *other60 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'manual_datasource\',\'\',\'This allows you to change datasource by hands rather then define it from listbox.\',\'This allows you to change datasource by hands rather then define it from listbox.\')\n";

static const char *other61 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'connected_flag\',\'\',\'\',\'\')\n";

static const char *other62 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'dump_type\',\'1\',\'Dump Type\',\'Choice between \"Everything\", \"Schema only\", \"Data only\", \"Custom\" Shows \"Custom\" when non-default values are defined in Checkboxes #3-#10 on screen \"Dump Options\"\')\n";

static const char *other63 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'table_defs\',\'on\',\'Include Definition\',\'If true, resulting tables dumps will begin from table definitions.<br>\')\n";

static const char *other64 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'triggers\',\'on\',\'Include Triggers Definition\',\'If true, resulting tables dumps will end from trigger definitions.<br>\')\n";

static const char *other65 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'stored_procs\',\'on\',\'Include Stored Procs Definition\',\'If true, resulting dumps will contain procs definitions.<br>\')\n";

static const char *other66 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'constraints\',\'on\',\'Include Constraints\',\'If true, resulting tables dumps will contain constraints definitions.<br>\')\n";

static const char *other67 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'fkconstraints\',\'\',\'Include Foreign Keys Constraints\',\'If true, resulting tables dumps will contain foreign keys constraints definitions.<br>\')\n";

static const char *other68 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'views\',\'on\',\'Include Views Definition\',\'If true, resulting dumps will contain views definitions.<br>\')\n";

static const char *other69 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'users\',\'on\',\'Include Users Definition\',\'If true, resulting dumps will contain users definitions.<br>\')\n";

static const char *other70 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'grants\',\'on\',\'Include Grants Definition\',\'If true, grants will be restored.<br>\')\n";

static const char *other71 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'restore_users\',\'on\',\'Restore Users Definition\',\'If true, users will be restored.<br>\')\n";

static const char *other72 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'restore_grants\',\'on\',\'Restore Grants Definition\',\'If true, resulting dumps will contain grants definitions.<br>\')\n";

static const char *other73 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'table_data\',\'on\',\'Include Table Data\',\'If true, resulting tables dumps will contain data.<br>\')\n";

static const char *other74 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'change_qualifier\',\'\',\'Change Qualifier\',\'If true, resulting tables dumps will have custom qualifier.<br>\')\n";

static const char *other75 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'change_owner\',\'\',\'Change Owner\',\'If true, resulting tables dumps will have custom owner.<br>\')\n";

static const char *other76 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'new_qualifier\',\'\',\'New Qualifier\',\'Custom qualifier for dumped tables.<br>\')\n";

static const char *other77 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'new_owner\',\'\',\'New Owner\',\'Custom owner for dumped tables.<br>\')\n";

static const char *other78 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'change_rqualifier\',\'\',\'Change Restore Qualifier\',\'If true, resulting tables restores will have custom qualifier.<br>\')\n";

static const char *other79 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'change_rowner\',\'\',\'Change Restore Owner\',\'If true, resulting tables restores will have custom owner.<br>\')\n";

static const char *other80 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'new_rqualifier\',\'\',\'New Restore Qualifier\',\'Custom qualifier for restored tables.<br>\')\n";

static const char *other81 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'new_rowner\',\'\',\'New Restore Owner\',\'Custom owner for restored tables.<br>\')\n";

static const char *other82 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'show_content\',\'6\',\'Show Content\',\'What to show in current dump directory.<br> \')\n";

static const char *other83 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'next_url\',\'\',\'\',\'\')\n";

static const char *other84 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'custom_qual\',\'0\',\'\',\'\')\n";

static const char *other85 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'custom_dump_opt\',\'0\',\'\',\'\')\n";

static const char *other86 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'dump_path\',\'./backup\',\'Path to dump\\\'s root directory\',\'Path to dump\\\'s root directory\')\n";

static const char *other87 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'dump_dir\',\'\',\'Name of the dump\\\'s root directory\',\'Name of the dump\\\'s root directory\')\n";

static const char *other88 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'selected_tables\',\'\',\'\',\'\')\n";

static const char *other89 = 
" insert soft \"PUMP\".\"DBA\".\"DBPUMP_HELP\" (\"name\",\"dflt\",\"short_help\",\"full_help\") values (\n"
"\'last_error\',\'\',\'\',\'\')\n";
/* components.sql */

static const char *proc19 = 
"create procedure \"PUMP\".\"DBA\".\"__GET_TEMPORARY\" (  )\n"
"{\n"
"return  sprintf(\'./tmp/dbpump%d.tmp\', sequence_next(\'dbpump_temp\'));\n"
"}\n"
"--src components.sql:26\n";

static const char *proc20 = 
"create procedure \"PUMP\".\"DBA\".\"DBPUMP_START_COMPONENT\" ( 	in pars any,\n"
"in name varchar,\n"
"in arg varchar )\n"
"{\n"
"declare i,n integer;\n"
"declare str,allt,s,argsfile varchar;\n"
"declare outarr any;\n"
"\n"
"allt := \'all_together_now\';\n"
"argsfile := sprintf(\'./tmp/%s.cmd-line\',name);\n"
"if (arg is null or length(arg)=0)\n"
"arg := \'DUMMY\';\n"
"str := sprintf(\'%s %s \', name, arg);\n"
"n := length(pars);\n"
"\n"
"str := concat (str, sprintf (\' %s=%s \', allt,\n"
"\"PUMP\".\"DBA\".\"URLIFY_STRING\" (\n"
"\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (allt,pars,\'\'))));\n"
"i := n - 2;\n"
"while (i>=0)\n"
"{\n"
"s := aref(pars,i);\n"
"if (neq (allt, s))\n"
"str := concat (str, sprintf (\' %s=%s \', s,\"PUMP\".\"DBA\".\"URLIFY_STRING\" (aref(pars,i+1))));\n"
"i := i - 2;\n"
"}\n"
"\n"
"string_to_file (argsfile,str,-2);\n"
"str := sprintf (\'@%s\', argsfile);\n"
"\n"
"\n"
"commit work;\n"
"run_executable (\'dbpump\', 1, str);\n"
"return str;\n"
"}\n"
"--src components.sql:32\n";

static const char *proc21 = 
"create procedure \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" ( 	inout pars any,\n"
"in name varchar,\n"
"in arg varchar,\n"
"in outerr integer := 1 )\n"
"{\n"
"declare i,n integer;\n"
"declare str,allt,s,argsfile varchar;\n"
"declare tmp,errstr varchar;\n"
"declare outarr any;\n"
"\n"
"allt := \'all_together_now\';\n"
"tmp := \"PUMP\".\"DBA\".\"__GET_TEMPORARY\" ();\n"
"argsfile := sprintf(\'./tmp/%s.cmd-line\',name);\n"
"if (arg is null or length(arg)=0)\n"
"arg := \'DUMMY\';\n"
"str := sprintf(\'%s %s %s\', name, arg, tmp);\n"
"n := length(pars);\n"
"\n"
"str := concat (str, sprintf (\' %s=%s \', allt,\n"
"\"PUMP\".\"DBA\".\"URLIFY_STRING\" (\n"
"\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (allt,pars,\'\'))));\n"
"i := n - 2;\n"
"while (i>=0)\n"
"{\n"
"s := aref(pars,i);\n"
"if (neq (allt, s))\n"
"str := concat (str, sprintf (\' %s=%s \', s,\"PUMP\".\"DBA\".\"URLIFY_STRING\" (aref(pars,i+1))));\n"
"i := i - 2;\n"
"}\n"
"\n"
"declare exit handler for sqlstate \'*\' { errstr := sprintf (\'Temporary file creation error:\\n%s %s\\nprobably permissions were revoked for temporary folder\\nor it doesn\\\'t exist\', __SQL_STATE, __SQL_MESSAGE); goto error_gen; };\n"
"\n"
"string_to_file(argsfile,str,-2);\n"
"str := sprintf (\'@%s\', argsfile);\n"
"\n"
"\n"
"commit work;\n"
"declare exit handler for sqlstate \'*\' { errstr := sprintf (\'Dbpump running error:\\n%s %s\\nProbably the executable \\\'dbpump\\\' doesn\\\'t exist in \\\'bin\\\' folder\', __SQL_STATE, __SQL_MESSAGE); goto error_gen; };\n"
"run_executable(\'dbpump\', 1, str);\n"
"\n"
"declare exit handler for sqlstate \'*\' { errstr := sprintf (\'Results obtaining error:\\n%s %s\\nProbably the executable \\\'dbpump\\\' crashed during the work\', __SQL_STATE, __SQL_MESSAGE); goto error_gen; };\n"
"str := file_to_string(tmp);\n"
"string_to_file(sprintf(\'./tmp/%s.cmd-out\',name),str,-2);\n"
"\n"
"\"PUMP\".\"DBA\".\"DBPUMP_START_COMPONENT\" (pars, \'remove_temporary\', tmp);\n"
"\n"
"return str;\n"
"\n"
"error_gen:\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'last_error\', errstr);\n"
"if (outerr)\n"
"return sprintf (\'last_error=%s\', errstr);\n"
"else\n"
"return \'\';\n"
"}\n"
"--src components.sql:72\n";

/* comp_html.sql */

static const char *proc22 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_A_OUT\" ( 	in arr any,\n"
"in href varchar,\n"
"in text varchar,\n"
"in class varchar,\n"
"in dop varchar,\n"
"in onclick varchar )\n"
"{\n"
"http(\'<a \');\n"
"if (length(arr)>1)\n"
"href := sprintf(\'%s?all_together_now=%s\',href,\n"
"\"PUMP\".\"DBA\".\"URLIFY_STRING\" (\n"
"\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (\'all_together_now\',arr,\'\')));\n"
"\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'href\',href);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'onclick\',onclick);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"http(\'>\');\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (text);\n"
"http(\'</a>\\n\');\n"
"}\n"
"--src comp_html.sql:29\n";

static const char *proc23 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" ( in arr any,\n"
"in name varchar,\n"
"in val varchar,\n"
"in onclick varchar,\n"
"in class varchar,\n"
"in dop varchar  )\n"
"{\n"
"http(\'<input type=button \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',val);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'onclick\',onclick);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',name);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\\n\');\n"
"\n"
"}\n"
"--src comp_html.sql:55\n";

static const char *proc24 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_LINK_OUT\" (	in arr any,\n"
"in href varchar,\n"
"in text varchar,\n"
"in class varchar,\n"
"in dop varchar ,\n"
"in code integer)\n"
"{\n"
"if (code=49)\n"
"{\n"
"declare s varchar;\n"
"s := sprintf (\'document.forms[0].action=\\\'%s\\\';\',href);\n"
"\"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" ( arr, \'button\', text,\n"
"concat (s,\'document.forms[0].submit();\'), class, \'STYLE=\"background-color:#cccccc\"\');\n"
"}\n"
"else\n"
"{\n"
"declare s varchar;\n"
"s := \'disabled=\"true\" STYLE=\"background-color:\';\n"
"if (code=50)\n"
"s := concat(s,\'#cccccc;\"\');\n"
"else\n"
"s := concat(s,\'#666666;\"\');\n"
"\"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" ( arr, NULL, text, \'document.forms[0].submit();\', class, s);\n"
"}\n"
"}\n"
"--src comp_html.sql:98\n";

static const char *proc25 = 
"create procedure \"PUMP\".\"DBA\".\"TEST_CONNECTED\" ( in flag integer , in val integer )\n"
"{\n"
"if (flag)\n"
"return val;\n"
"return 50;\n"
"}\n"
"--src comp_html.sql:126\n";

static const char *proc26 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_HEADER_OUT\" ( in arr any,  in text varchar, in mask varchar)\n"
"{\n"
"http(\'<BODY>\\n\');\n"
"http(\'<TABLE WIDTH=\"100%\" BORDER=\"0\" CELLPADDING=\"0\" CELLSPACING=\"0\">\\n\');\n"
"\n"
"if (text is not null)\n"
"text := sprintf (\'<a href=\"dbdoc.vsp\">%s</a>\', text);\n"
"\n"
"http(sprintf(\'<TR><TD CLASS=\"AdmPagesTitle\"><H2>%s</H2></TD></TR>\', coalesce(text,\'NO HEADING\')));\n"
"http(\'<TR><TD CLASS=\"AdmBorders\" COLSPAN=\"2\" ALIGN=\"middle\">\\n\');\n"
"\n"
"\n"
"\n"
"if (mask is null)\n"
"mask := \'        \';\n"
"if (length(mask)<8)\n"
"mask := sprintf(\'%-.8s\',mask);\n"
"\n"
"http(\'<form method=get>\');\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"http(\'</TD></TR><TR><TD CLASS=\"AdmBorders\" COLSPAN=\"1\"><IMG SRC=\"images/1x1.gif\" WIDTH=\"1\" HEIGHT=\"2\" ALT=\"\"></td></tr>\\n\');\n"
"http(\'<TR><TD CLASS=\"CtrlMain\" COLSPAN=\"2\" ALIGN=\"middle\">\');\n"
"\n"
"\n"
"}\n"
"--src comp_html.sql:135\n";

static const char *proc27 = 
"create procedure \"PUMP\".\"DBA\".\"DUMP_DEBUG_INFO\" ( in arr any )\n"
"{\n"
"declare i,n integer;\n"
"declare s varchar;\n"
"\n"
"i:=0;\n"
"http(\'<table class=\"genlist\" border=\"0\" cellpadding=\"0\">\');\n"
"n:=length(arr);\n"
"while(i<n)\n"
"{\n"
"http(\'<tr><td CLASS=\"statlisthead\">\');\n"
"http(aref(arr,i));\n"
"http(\'</td><td CLASS=\"statdata\">\');\n"
"s:=aref(arr,i+1);\n"
"if (s is not null and length(s)>100)\n"
"s := subseq(s,0,100);\n"
"http(s);\n"
"http(\'</td></tr>\');\n"
"i:=i+2;\n"
"}\n"
"http(\'</table>\');\n"
"}\n"
"--src comp_html.sql:175\n";

static const char *proc28 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_FOOTER_OUT\" ( inout arr any )\n"
"{\n"
"http(\'</form></td></tr>\');\n"
"declare s varchar;\n"
"s := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (\'last_error\',arr,\'\');\n"
"if (s is not null and length(s))\n"
"{\n"
"http (\'<TR><TD CLASS=\"CtrlMain\" COLSPAN=\"2\" ALIGN=\"middle\">\');\n"
"\"PUMP\".\"DBA\".\"HTML_LARGETEXT_OUT\" (arr, \'last_error\', \'Internal error:\\n\', NULL, NULL, \'  width=50% \');\n"
"http (\'</TD></TR>\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (arr, \'last_error\', \'\');\n"
"\"PUMP\".\"DBA\".\"HIDDEN_VAL_OUT\" (arr, \'last_error\');\n"
"}\n"
"\n"
"s := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (\'debug_in_footer\',arr,\'\');\n"
"if (s is not null and equ(s,\'on\'))\n"
"{\n"
"http (\'<TR><TD CLASS=\"AdmBorders\" COLSPAN=\"2\"><IMG SRC=\"images/1x1.gif\" WIDTH=\"1\" HEIGHT=\"2\" ALT=\"\"></TD></TR>\\n\');\n"
"http (\'<TR><TD CLASS=\"CtrlMain\" COLSPAN=\"2\" ALIGN=\"middle\">\');\n"
"\"PUMP\".\"DBA\".\"DUMP_DEBUG_INFO\" (arr);\n"
"http (\'</TD></TR>\');\n"
"}\n"
"http (\'<TR><TD CLASS=\"CopyrightBorder\" COLSPAN=\"2\"><IMG SRC=\"/admin/images/1x1.gif\" WIDTH=\"1\" HEIGHT=\"2\" ALT=\"\"></TD></TR>\');\n"
"http (\'<TR><TD ALIGN=\"right\" COLSPAN=\"2\"><P CLASS=\"Copyright\">Virtuoso Server \');\n"
"http (sys_stat(\'st_dbms_ver\'));\n"
"http (\' DBPUMP Interface - Copyright&copy; 1998-2010 OpenLink Software.</P></TD></TR>\');\n"
"http (\'</TABLE>\\n</BODY>\');\n"
"}\n"
"--src comp_html.sql:200\n";

static const char *proc29 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_RESET_OUT\" ( in arr any,\n"
"in name varchar,\n"
"in val varchar,\n"
"in onclick varchar,\n"
"in class varchar,\n"
"in dop varchar  )\n"
"{\n"
"http(\'<input type=reset \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',val);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'onclick\',onclick);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',name);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\\n\');\n"
"\n"
"}\n"
"--src comp_html.sql:231\n";

static const char *proc30 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_SUBMIT_OUT\" ( 	in arr any,\n"
"in name varchar,\n"
"in val varchar,\n"
"in onclick varchar,\n"
"in class varchar,\n"
"in dop varchar  )\n"
"{\n"
"http(\'<input type=reset \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,val));\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'onclick\',onclick);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',name);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\\n\');\n"
"\n"
"}\n"
"--src comp_html.sql:251\n";

static const char *proc31 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_EDIT_OUT\" ( in arr any,\n"
"in name varchar,\n"
"in text varchar,\n"
"in val varchar,\n"
"in class varchar,\n"
"in dop varchar  )\n"
"{\n"
"\n"
"if (text is not null)\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (name, text);\n"
"http(\'<input type=text \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,val));\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',name);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\\n\');\n"
"}\n"
"--src comp_html.sql:271\n";

static const char *proc32 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_EDIT_ROW_OUT\" ( 	in arr any,\n"
"in name varchar,\n"
"in text varchar,\n"
"in val varchar,\n"
"in class varchar,\n"
"in dop varchar  )\n"
"{\n"
"\n"
"http (\'<tr><td CLASS=\"statlisthead\">\');\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (name, text);\n"
"http (\'</td>\');\n"
"http (\'<td CLASS=\"statdata\">\');\n"
"http(\'<input type=text \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,val));\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',name);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\');\n"
"http (\'</td><tr>\\n\');\n"
"}\n"
"--src comp_html.sql:292\n";

static const char *proc33 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_HIDDEN_OUT\" (  	in arr any,\n"
"in name varchar,\n"
"in val varchar,\n"
"in dop varchar )\n"
"{\n"
"http(\'<input type=hidden \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,val));\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',name);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"http(\'>\\n\');\n"
"}\n"
"--src comp_html.sql:316\n";

static const char *proc34 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_PASSWORD_OUT\" ( 	in arr any,\n"
"in name varchar,\n"
"in text varchar,\n"
"in val varchar,\n"
"in class varchar,\n"
"in dop varchar  )\n"
"{\n"
"\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (name, text);\n"
"http(\'<input type=password \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,val));\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',name);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\\n\');\n"
"}\n"
"--src comp_html.sql:330\n";

static const char *proc35 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_PASSWORD_ROW_OUT\" (	in arr any,\n"
"in name varchar,\n"
"in text varchar,\n"
"in val varchar,\n"
"in class varchar,\n"
"in dop varchar  )\n"
"{\n"
"\n"
"http (\'<tr><td CLASS=\"statlisthead\">\');\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (name, text);\n"
"http (\'</td>\');\n"
"http (\'<td CLASS=\"statdata\">\');\n"
"http(\'<input type=password \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,val));\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',name);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\');\n"
"http (\'</td><tr>\\n\');\n"
"}\n"
"--src comp_html.sql:350\n";

static const char *proc36 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_TEXTAREA_OUT\" ( 	in arr any,\n"
"in name varchar,\n"
"in text varchar,\n"
"in val varchar,\n"
"in class varchar,\n"
"in dop varchar  )\n"
"{\n"
"\n"
"if (text is not null)\n"
"{\n"
"http (\'<table class=\"genlist\" border=\"0\" cellpadding=\"0\">\');\n"
"http (\'<tr><td class=\"genhead\">\');\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (name, sprintf(\'&nbsp;%s&nbsp;\', text));\n"
"http (\'</td></tr>\');\n"
"http (\'<tr><td class=\"statdata\">\');\n"
"}\n"
"http(\'<textarea \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',name);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\\n\');\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,val));\n"
"http(\'</textarea>\');\n"
"if (text is not null)\n"
"http (\'</td></tr></table>\');\n"
"}\n"
"--src comp_html.sql:374\n";

static const char *proc37 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_LARGETEXT_OUT\" ( 	in arr any,\n"
"in name varchar,\n"
"in text varchar,\n"
"in val varchar,\n"
"in class varchar,\n"
"in dop varchar  )\n"
"{\n"
"\n"
"if (dop is null)\n"
"dop := \'\';\n"
"http (sprintf (\'<table class=\"genlist\" border=\"0\" cellpadding=\"0\" %s>\', dop));\n"
"http (\'<tr><td class=\"genhead\">\');\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (name, sprintf(\'&nbsp;%s&nbsp;\', text));\n"
"http (\'</td></tr>\');\n"
"http (\'<tr><td CLASS=\"statdata\">\');\n"
"http(\'<pre>\\n\');\n"
"declare s varchar;\n"
"s := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,val);\n"
"if (s is null or length(s)=0)\n"
"s := \'<empty>\';\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (s);\n"
"http(\'</pre></td></tr></table>\');\n"
"}\n"
"--src comp_html.sql:405\n";

static const char *proc38 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_CHECKBOX_OUT\" (  	in arr any,\n"
"in name varchar,\n"
"in text varchar,\n"
"in val varchar,\n"
"in onclick varchar,\n"
"in class varchar,\n"
"in dop varchar )\n"
"{\n"
"http(\'<input type=checkbox \');\n"
"declare v varchar;\n"
"v := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,val);\n"
"\n"
"if (equ(v,\'on\'))\n"
"http(\' checked \');\n"
"\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\', v);\n"
"\n"
"onclick:=concat(onclick, sprintf(\'if (this.checked)this.form.%s.value=\\\'on\\\';else this.form.%s.value=\\\'\\\';\',name,name));\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'onclick\',onclick);\n"
"\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\');\n"
"\n"
"if (text is not null)\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (name, text);\n"
"http(\'</input>\\n\');\n"
"\"PUMP\".\"DBA\".\"HTML_HIDDEN_OUT\" (arr, name, v, NULL);\n"
"}\n"
"--src comp_html.sql:432\n";

static const char *proc39 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_RADIO_OUT\" ( 	in arr any,\n"
"in name varchar,\n"
"in val varchar,\n"
"in onclick varchar,\n"
"in class varchar,\n"
"in dop varchar )\n"
"{\n"
"declare v any;\n"
"declare i,n integer;\n"
"\n"
"v := split_and_decode(val,0);\n"
"n := length(v);\n"
"if (n<2)\n"
"return;\n"
"i := 0;\n"
"\n"
"declare cmp varchar;\n"
"cmp := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,\'\');\n"
"while  (i<n)\n"
"{\n"
"http(\'<input type=radio \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',aref(v,i));\n"
"onclick:=concat(onclick, sprintf(\'if (this.checked)this.form.%s.value=\\\'%s\\\';else this.form.%s.value=\\\'off\\\';\',name,aref(v,i),name));\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'onclick\',onclick);\n"
"if (equ(cmp,aref(v,i)))\n"
"http(\' checked \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',concat(name,\'_value\'));\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\');\n"
"if (i+1<n)\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (name, aref(v,i+1));\n"
"i := i+2;\n"
"http(\'</input>\\n\');\n"
"}\n"
"\"PUMP\".\"DBA\".\"HTML_HIDDEN_OUT\" (arr, name, v, NULL);\n"
"\n"
"}\n"
"--src comp_html.sql:465\n";

static const char *proc40 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_IMAGE_OUT\" ( in arr any,\n"
"in name varchar,\n"
"in val varchar,\n"
"in onclick varchar,\n"
"in src varchar,\n"
"in class varchar,\n"
"in dop varchar )\n"
"{\n"
"http(\'<input type=image \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,val));\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'onclick\',onclick);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',name);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'src\',src);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\\n\');\n"
"\n"
"}\n"
"--src comp_html.sql:507\n";

static const char *proc41 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_FILE_OUT\" (	in arr any,\n"
"in name varchar,\n"
"in text varchar,\n"
"in val varchar,\n"
"in class varchar,\n"
"in dop varchar  )\n"
"{\n"
"\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (name, text);\n"
"http(\'<input type=file \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',\"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,val));\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',name);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"http(\'>\\n\');\n"
"}\n"
"--src comp_html.sql:529\n";

static const char *proc42 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" ( 	in arr any,\n"
"in name varchar,\n"
"in text varchar,\n"
"in val varchar,\n"
"in class varchar,\n"
"in dop varchar,\n"
"in exclude varchar,\n"
"in wid integer := 40,\n"
"in onchange varchar := \'\'\n"
")\n"
"{\n"
"declare realname, testval varchar;\n"
"realname := concat(name, \'_value\');\n"
"testval := \'\';\n"
"if (text is not null)\n"
"{\n"
"http (\'<table class=\"genlist\" border=\"0\" cellpadding=\"0\" width=100%>\');\n"
"http (\'<tr><td class=\"genhead\">\');\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (name, sprintf(\'&nbsp;%s&nbsp;\', text));\n"
"http (\'</td></tr>\');\n"
"http (\'<tr><td CLASS=\"statdata\">\');\n"
"}\n"
"http (sprintf (\'<select style=\\\"width=%gin\\\"\',wid/10));\n"
"\"PUMP\".\"DBA\".\"__CHECK_TITLE\" (name);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'name\',realname);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'class\',class);\n"
"\n"
"onchange := concat (sprintf (\'this.form.%s.value=this.value;\', name), onchange);\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'onchange\', onchange);\n"
"\n"
"\"PUMP\".\"DBA\".\"HTML_STR_OUT\" (dop);\n"
"http(\'>\');\n"
"declare v,vcmp any;\n"
"declare vexcl any;\n"
"declare i,n,ncmp,j integer;\n"
"if (exclude is not null)\n"
"vexcl := split_and_decode (exclude,0);\n"
"else\n"
"vexcl := NULL;\n"
"v := split_and_decode(val,0);\n"
"n := length(v);\n"
"http (sprintf (\'<option>%s</option>\\n\', repeat(\'+\',wid)));\n"
"if (n<2)\n"
"{\n"
"goto fin;\n"
"}\n"
"i := 0;\n"
"\n"
"declare cmp varchar;\n"
"cmp := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (name,arr,\'\');\n"
"vcmp := split_and_decode (cmp,0,\'\\0\\0@\');\n"
"ncmp := length (vcmp);\n"
"while  (i<n)\n"
"{\n"
"declare exstr,valem varchar;\n"
"valem := trim (aref (v,i),\' \\t\\r\\n\');\n"
"if (vexcl is not null and length(vexcl)>=2)\n"
"{\n"
"exstr := get_keyword(valem,vexcl,\'\');\n"
"}\n"
"else\n"
"exstr := NULL;\n"
"if ((exstr is null or length(exstr)=0 or neq(valem,exstr)) and valem is not null and length(valem)>0)\n"
"{\n"
"http(\'<option \');\n"
"\"PUMP\".\"DBA\".\"HTML_SMTH_OUT\" (\'value\',valem);\n"
"j := 0;\n"
"while (j<ncmp)\n"
"{\n"
"if (equ(aref(vcmp,j),valem))\n"
"{\n"
"http(\' selected \');\n"
"testval := valem;\n"
"}\n"
"j := j + 1;\n"
"}\n"
"http(\'>\');\n"
"if (i+1<n)\n"
"\"PUMP\".\"DBA\".\"HTML_STR_ENCODE_OUT\" (aref(v,i+1));\n"
"http(\'\\n\');\n"
"}\n"
"i := i+2;\n"
"}\n"
"fin:\n"
"http (\'</select>\\n\');\n"
"if (text is not null)\n"
"{\n"
"http (\'</td></tr>\');\n"
"http (\'</table>\');\n"
"}\n"
"http (\'<script>\');\n"
"http (sprintf (\'document.forms[0].%s.options[0]=null;\',realname));\n"
"\n"
"http (\'</script>\');\n"
"\"PUMP\".\"DBA\".\"HTML_HIDDEN_OUT\" (arr, name, testval, NULL);\n"
"}\n"
"--src comp_html.sql:549\n";

static const char *proc43 = 
"create procedure \"PUMP\".\"DBA\".\"OUT_DUMP_TYPE\" ( 	in arr any )\n"
"{\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr,\n"
"\'dump_type\',\n"
"NULL,\n"
"\'1=Everything&2=Schema Only&3=Data Only&0=Custom\',\n"
"NULL,\n"
"NULL,\n"
"NULL,\n"
"20,\n"
"\'\n"
"if (this.selectedIndex==0)\n"
"{\n"
"this.form.table_defs.value=\\\'on\\\';\n"
"this.form.triggers.value=\\\'on\\\';\n"
"this.form.stored_procs.value=\\\'on\\\';\n"
"this.form.constraints.value=\\\'on\\\';\n"
"this.form.fkconstraints.value=\\\'on\\\';\n"
"this.form.views.value=\\\'on\\\';\n"
"this.form.users.value=\\\'on\\\';\n"
"this.form.grants.value=\\\'on\\\';\n"
"this.form.table_data.value=\\\'on\\\';\n"
"this.form.submit();\n"
"}\n"
"else if (this.selectedIndex==1)\n"
"{\n"
"this.form.table_defs.value=\\\'on\\\';\n"
"this.form.triggers.value=\\\'on\\\';\n"
"this.form.stored_procs.value=\\\'on\\\';\n"
"this.form.constraints.value=\\\'on\\\';\n"
"this.form.fkconstraints.value=\\\'on\\\';\n"
"this.form.views.value=\\\'on\\\';\n"
"this.form.users.value=\\\'on\\\';\n"
"this.form.grants.value=\\\'on\\\';\n"
"this.form.table_data.value=\\\'\\\';\n"
"this.form.submit();\n"
"}\n"
"else if (this.selectedIndex==2)\n"
"{\n"
"this.form.table_defs.value=\\\'\\\';\n"
"this.form.triggers.value=\\\'\\\';\n"
"this.form.stored_procs.value=\\\'\\\';\n"
"this.form.constraints.value=\\\'\\\';\n"
"this.form.fkconstraints.value=\\\'\\\';\n"
"this.form.views.value=\\\'\\\';\n"
"this.form.users.value=\\\'\\\';\n"
"this.form.grants.value=\\\'\\\';\n"
"this.form.table_data.value=\\\'on\\\';\n"
"this.form.submit();\n"
"}\n"
"\');\n"
"}\n"
"--src comp_html.sql:648\n";

/* comp_misc.sql */

static const char *proc44 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_SELECT_TYPE_OUT\" (	in arr any,\n"
"in name varchar,\n"
"in class varchar ,\n"
"in dop varchar )\n"
"{\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, name, \'\', \'0=-&1=CHAR&2=NUMERIC&3=DECIMAL&4=INTEGER&5=SMALLINT&6=FLOAT&7=REAL&8=DOUBLE PRECISION&9=DATE&10=TIME&11=TIMESTAMP&12=VARCHAR&13=BIT&14=BIT VARYING&15=LONG VARCHAR&16=BINARY&17=VARBINARY&18=LONG VARBINARY&19=BIGINT&20=TINYINT\', class, dop, NULL);\n"
"}\n"
"--src comp_misc.sql:28\n";

static const char *proc45 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_SELECT_DATASOURCES_OUT\" ( inout arr any,\n"
"in class varchar ,\n"
"in dop varchar )\n"
"{\n"
"declare str varchar;\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (arr,\'select_datasources\',\'*\');\n"
"http (\'<table><tr><td>\');\n"
"if (length(str)>0)\n"
"{\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'_datasource\', \'Available Datasources\', str, class, \' size=5 \', NULL, 40, \'this.form.datasource.value=this.value;\');\n"
"http(\'</td></tr><tr><td align=center>\');\n"
"\"PUMP\".\"DBA\".\"HTML_EDIT_OUT\" (arr, \'datasource\', \'Selected Datasource:\', \'localhost\', NULL, \' disabled \');\n"
"http(\'</td></tr><tr><td align=center>\');\n"
"\"PUMP\".\"DBA\".\"HTML_CHECKBOX_OUT\" (arr, \'manual_datasource\', \'Manual Datasource\',\'\', \'if (this.checked){this.form.datasource.disabled=false;this.form._datasource.disabled=true;}else{this.form._datasource.disabled=false;this.form.datasource.disabled=true;}\', NULL, NULL);\n"
"}\n"
"else\n"
"{\n"
"\"PUMP\".\"DBA\".\"HTML_EDIT_OUT\" (arr, \'datasource\', \'Selected Datasource:\', \'localhost\', NULL, NULL);\n"
"}\n"
"http (\'</td></tr></table>\');\n"
"}\n"
"--src comp_misc.sql:38\n";

static const char *proc46 = 
"create procedure \"PUMP\".\"DBA\".\"OPER_PARS_RETRIEVE\" ( inout pars any,\n"
"in names varchar )\n"
"{\n"
"declare n integer;\n"
"declare str varchar;\n"
"declare outarr any;\n"
"\n"
"set NO_CHAR_C_ESCAPE = 0;\n"
"\n"
"\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (pars,\'retrieve_oper_pars\',names);\n"
"\n"
"\n"
"outarr := split_and_decode(str,0);\n"
"\n"
"\n"
"return outarr;\n"
"}\n"
"--src comp_misc.sql:62\n";

static const char *proc47 = 
"create procedure \"PUMP\".\"DBA\".\"TRY_CONNECT_AND_PARS_RETRIEVE\" ( inout pars any )\n"
"{\n"
"declare n integer;\n"
"declare str varchar;\n"
"declare outarr any;\n"
"\n"
"set NO_CHAR_C_ESCAPE = 0;\n"
"\n"
"\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (pars,\'try_connect\', \'*\');\n"
"\n"
"\n"
"outarr := split_and_decode(str,0);\n"
"\n"
"\n"
"return outarr;\n"
"}\n"
"--src comp_misc.sql:82\n";

/* comp_rpath.sql */

static const char *proc48 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_CHOICE_RPATH\" (	inout arr any )\n"
"{\n"
"declare str varchar;\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (arr,\'choice_rpath\',\'./backup\', 0);\n"
"if (str is null)\n"
"return \'\';\n"
"return str;\n"
"}\n"
"--src comp_rpath.sql:27\n";

static const char *proc49 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_CHOICE_RDIR\" (	inout arr any )\n"
"{\n"
"declare str varchar;\n"
"\n"
"\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (arr,\'choice_rdir\',\'./backup\', 0);\n"
"if (str is null)\n"
"return \'\';\n"
"return str;\n"
"}\n"
"--src comp_rpath.sql:38\n";

static const char *proc50 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_CHOICE_RSCHEMA\" (	inout arr any )\n"
"{\n"
"declare str varchar;\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (arr,\'choice_rschema\',\'./backup\', 0);\n"
"\n"
"if (str is null)\n"
"return \'\';\n"
"return str;\n"
"}\n"
"--src comp_rpath.sql:50\n";

static const char *proc51 = 
"create procedure \"PUMP\".\"DBA\".\"RPATH_FOR_DUMP_SCHEMA_OUT\" (inout arr any,\n"
"in class varchar ,\n"
"in dop varchar )\n"
"{\n"
"http(\'<table><tr><td>\');\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'rpath\', \'Remote Path\', \"PUMP\".\"DBA\".\"HTML_CHOICE_RPATH\" (arr), NULL, \' size=5 ondblclick=\\\'this.form.submit();\\\' \', NULL, 20, \'this.form.dump_name.value=this.value;\');\n"
"http(\'</td></tr><tr><td align=center>\');\n"
"\"PUMP\".\"DBA\".\"HTML_EDIT_OUT\"(arr, \'dump_name\', \'Dump Name:\', \'./backup\', NULL, NULL);\n"
"http(\'</td></tr></table>\');\n"
"}\n"
"--src comp_rpath.sql:64\n";

static const char *proc52 = 
"create procedure \"PUMP\".\"DBA\".\"RPATH_FOR_DUMP_TABLES_OUT\" (inout arr any,\n"
"in class varchar ,\n"
"in dop varchar )\n"
"{\n"
"http(\'<table CLASS=\"statdata\" border=0 rules=none><tr><td>\');\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'rpath\', \'Remote Path\', \"PUMP\".\"DBA\".\"HTML_CHOICE_RPATH\" (arr), NULL, \' size=5 ondblclick=\\\'if (ChoiceTablesSelect!=null) ChoiceTablesSelect();this.form.submit();\\\' \', NULL, 20, \'this.form.dump_name.value=this.form.rpath.options[this.form.rpath.options.selectedIndex].value;\');\n"
"http(\'</td><td>\');\n"
"http(\'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\');\n"
"http(\'</td><td>\');\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'_choice_sav\', \'Dir Content\', \"PUMP\".\"DBA\".\"HTML_CHOICE_RDIR\" (arr), NULL, \' MULTIPLE size=5 \', NULL);\n"
"http(\'</td></tr><tr><td colspan=2 align=center><font size=3>\');\n"
"\"PUMP\".\"DBA\".\"HTML_EDIT_OUT\" (arr, \'dump_name\', \'Current Folder:\', \'./backup\', NULL, NULL);\n"
"http(\'</font></td></tr></table>\');\n"
"}\n"
"--src comp_rpath.sql:78\n";

static const char *proc53 = 
"create procedure \"PUMP\".\"DBA\".\"RPATH_FOR_RESTORE_TABLES_OUT\" (	inout arr any,\n"
"in class varchar ,\n"
"in dop varchar )\n"
"{\n"
"http(\'<table CLASS=\"statdata\" border=0 rules=none><tr><td>\');\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'rpath\', \'Remote Path\', \"PUMP\".\"DBA\".\"HTML_CHOICE_RPATH\" (arr), NULL, \' size=5 ondblclick=\\\'this.form.submit();\\\' \', NULL, 20, \'this.form.dump_name.value=this.form.rpath.options[this.form.rpath.options.selectedIndex].value\');\n"
"http(\'</td><td>\');\n"
"http(\'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\');\n"
"http(\'</td><td>\');\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'choice_sav\', \'Dir Content\', \"PUMP\".\"DBA\".\"HTML_CHOICE_RDIR\" (arr), NULL, \' MULTIPLE size=5 \', NULL);\n"
"http(\'</td></tr><tr><td colspan=2 align=center ><font size=3>\');\n"
"\"PUMP\".\"DBA\".\"HTML_EDIT_OUT\" (arr, \'dump_name\', \'Current Folder:\', \'./backup\', NULL, NULL);\n"
"http(\'</font></td></tr></table>\');\n"
"}\n"
"--src comp_rpath.sql:95\n";

static const char *proc54 = 
"create procedure \"PUMP\".\"DBA\".\"GET_SCHEMA_COMMENT_AND_PARS_RETRIEVE\" ( inout arr any )\n"
"{\n"
"declare n integer;\n"
"declare str varchar;\n"
"declare outarr any;\n"
"\n"
"\n"
"\n"
"outarr := \"PUMP\".\"DBA\".\"TRY_CONNECT_AND_PARS_RETRIEVE\" ( arr );\n"
"if (outarr is null or neq (get_keyword (\'connected_flag\', outarr, \'\'), \'true\'))\n"
"http(\'<script>document.location.href=\"select_datasource.vsp\";</script>\');\n"
"\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (arr,\'get_schema_comment\',\'*\', 0);\n"
"outarr := split_and_decode(str,0);\n"
"\n"
"\n"
"return outarr;\n"
"}\n"
"--src comp_rpath.sql:112\n";

static const char *proc55 = 
"create procedure \"PUMP\".\"DBA\".\"GET_SCHEMA_COMMENT\" ( inout arr any )\n"
"{\n"
"declare n integer;\n"
"declare str varchar;\n"
"declare outarr any;\n"
"\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (arr,\'get_schema_comment\',\'*\', 0);\n"
"outarr := split_and_decode(str,0);\n"
"\n"
"\n"
"return outarr;\n"
"}\n"
"--src comp_rpath.sql:133\n";

static const char *proc56 = 
"create procedure \"PUMP\".\"DBA\".\"COMMON_RPATH_FOR_DUMP_OUT\" (	inout arr any,\n"
"in class varchar ,\n"
"in dop varchar )\n"
"{\n"
"http (\'<table><tr><td>\');\n"
"\n"
"http(\'<table><tr><td colspan=2>\');\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'rpath\', \'Directory Listing\', \"PUMP\".\"DBA\".\"HTML_CHOICE_RPATH\" (arr), NULL, \' size=5 \', NULL, 30, \'this.form.dump_path.value=this.value;\');\n"
"http(\'</td></tr>\');\n"
"\n"
"http (\'<tr><td align=center CLASS=\\\"statlisthead\\\">\');\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (\'dump_path\', \'Current Directory:\');\n"
"http (\'</td>\');\n"
"http (\'<td CLASS=\\\"statlist\\\" align=center>\');\n"
"\"PUMP\".\"DBA\".\"HTML_EDIT_OUT\"(arr, \'dump_path\', NULL, \'./backup\', NULL, \' size=20\');\n"
"http(\'</td></tr>\');\n"
"\n"
"http (\'<tr><td align=center CLASS=\\\"statlist\\\" colspan=2>\');\n"
"\"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" (arr, \'\', \'Change Dir\', \'this.form.submit();\', NULL, \' style=\\\"width: 1in\\\"\');\n"
"http(\'</td></tr>\');\n"
"\n"
"http(\'</table>\');\n"
"\n"
"http (\'</td><td>\');\n"
"\n"
"http(\'<table><tr><td colspan=2>\');\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'dump_dir\', \'Dir Content\', \"PUMP\".\"DBA\".\"HTML_CHOICE_RSCHEMA\" (arr), NULL, \' size=5 \', NULL, 30);\n"
"http(\'</td></tr>\');\n"
"\n"
"http (\'<tr><td align=center CLASS=\\\"statlisthead\\\">\');\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (\'show_content\', \'Directory Listing:\');\n"
"http (\'</td>\');\n"
"http (\'<td CLASS=\\\"statlist\\\" align=center>\');\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr,  \'show_content\', NULL, \'4=Data&2=Schema&6=Both\', NULL,  NULL, NULL, 10, \'this.form.submit();\');\n"
"http(\'</td></tr>\');\n"
"\n"
"http (\'<tr><td align=center CLASS=\\\"statlist\\\" colspan=2>\');\n"
"\"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" (arr, \'\', \'Show Manifest\', \'var w=window.open(\\\'manifest.vsp?dump_path=\\\'+this.form.dump_path.value+\\\'&dump_dir=\\\'+this.form.dump_dir_value.options[this.form.dump_dir_value.selectedIndex].value,\\\'helpWindow\\\',\\\'scrollbars=1, height=300, width=400, resizable=1`\\\');w.focus();\', NULL, \' style=\\\"width: 1in\\\"\');\n"
"http(\'</td></tr>\');\n"
"\n"
"http(\'</table>\');\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"\n"
"http (\'</td></tr></table>\');\n"
"\n"
"}\n"
"--src comp_rpath.sql:147\n";

static const char *proc57 = 
"create procedure \"PUMP\".\"DBA\".\"MANIFEST_OUT\" (	in arr any, in xst varchar )\n"
"{\n"
"declare str, r varchar;\n"
"xslt_sheet (xst, xml_tree_doc (http_get (xst)));\n"
"str := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (\'comment\',arr,\'\');\n"
"if (str is null or length(str)=0)\n"
"{\n"
"http(\'<center>&lt;empty&gt;\');\n"
"return;\n"
"}\n"
"\n"
"r := xslt (xst, xml_tree_doc (xml_tree (str)), vector());\n"
"\n"
"declare ses any;\n"
"ses := string_output ();\n"
"http_value (r, 0, ses);\n"
"declare s varchar;\n"
"s := string_output_string (ses);\n"
"http (s);\n"
"}\n"
"--src comp_rpath.sql:209\n";

/* comp_tables.sql */

static const char *proc58 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_RETRIEVE_TABLES\" (	inout arr any )\n"
"{\n"
"declare str varchar;\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (arr,\'retrieve_tables\',\'*\');\n"
"if (str is null)\n"
"return \'\';\n"
"return str;\n"
"}\n"
"--src comp_tables.sql:27\n";

static const char *proc59 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_RETRIEVE_QUALIFIERS_VIA_PLSQL\" ( in arr any )\n"
"{\n"
"declare str, s varchar;\n"
"str := \'%=None&custom=Advanced\';\n"
"whenever not found goto fin;\n"
"\n"
"for (select distinct name_part (KEY_TABLE, 0, \'DB\') as qual from DB.DBA.SYS_KEYS) do\n"
"{\n"
"str := concat (str, \'&\', qual, \'=\', qual);\n"
"}\n"
"fin:\n"
"\n"
"return str;\n"
"}\n"
"--src comp_tables.sql:38\n";

static const char *proc60 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_RETRIEVE_TABLES_VIA_PLSQL\" ( in arr any, in out_type integer := 1 )\n"
"{\n"
"\n"
"declare qual, qm, om, tm varchar;\n"
"qual := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (\'selected_qualifier\',arr,\'\');\n"
"qm := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (\'qualifier_mask\',arr,\'\');\n"
"om := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (\'owner_mask\',arr,\'\');\n"
"tm := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (\'tabname\',arr,\'\');\n"
"declare custom_flag varchar;\n"
"custom_flag := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (\'custom_qual\',arr,\'\');\n"
"\n"
"\n"
"declare str, s varchar;\n"
"declare first integer;\n"
"\n"
"first := 1;\n"
"str := \'\';\n"
"\n"
"whenever not found goto fin;\n"
"if (equ(custom_flag,\'1\'))\n"
"for (select \n"
"name_part(\"KEY_TABLE\",0) as t_qualifier,\n"
"name_part(\"KEY_TABLE\",1) as t_owner,\n"
"name_part(\"KEY_TABLE\",2) as t_name,\n"
"table_type(\"KEY_TABLE\")  as t_type\n"
"from DB.DBA.SYS_KEYS \n"
"where\n"
"__any_grants (\"KEY_TABLE\") and \n"
"name_part(\"KEY_TABLE\",0) like qm and\n"
"name_part(\"KEY_TABLE\",1) like om and\n"
"name_part(\"KEY_TABLE\",2) like tm and\n"
"table_type(\"KEY_TABLE\") = \'TABLE\' and\n"
"KEY_IS_MAIN = 1 and\n"
"KEY_MIGRATE_TO is NULL \n"
"order by \"KEY_TABLE\")\n"
"do\n"
"{\n"
"if (not first)\n"
"{\n"
"if (out_type = 1)\n"
"str := concat (str, \'&\');\n"
"else if (out_type = 2)\n"
"str := concat (str, \'@\');\n"
"}\n"
"s := concat (t_qualifier, \'.\', t_owner, \'.\', t_name);\n"
"if (out_type = 1)\n"
"str := concat (str, s, \'=\', s);\n"
"else if (out_type = 2)\n"
"str := concat (str, s);\n"
"first := 0;\n"
"}\n"
"else\n"
"for (select \n"
"name_part(\"KEY_TABLE\",0) as t_qualifier,\n"
"name_part(\"KEY_TABLE\",1) as t_owner,\n"
"name_part(\"KEY_TABLE\",2) as t_name,\n"
"table_type(\"KEY_TABLE\")  as t_type\n"
"from DB.DBA.SYS_KEYS \n"
"where\n"
"__any_grants (\"KEY_TABLE\") and \n"
"name_part(\"KEY_TABLE\",0) like qual and\n"
"table_type(\"KEY_TABLE\") = \'TABLE\' and\n"
"KEY_IS_MAIN = 1 and\n"
"KEY_MIGRATE_TO is NULL \n"
"order by \"KEY_TABLE\")\n"
"do\n"
"{\n"
"if (not first)\n"
"{\n"
"if (out_type = 1)\n"
"str := concat (str, \'&\');\n"
"else if (out_type = 2)\n"
"str := concat (str, \'@\');\n"
"}\n"
"s := concat (t_qualifier, \'.\', t_owner, \'.\', t_name);\n"
"if (out_type = 1)\n"
"str := concat (str, s, \'=\', s);\n"
"else if (out_type = 2)\n"
"str := concat (str, s);\n"
"first := 0;\n"
"}\n"
"fin:\n"
"return str;\n"
"}\n"
"--src comp_tables.sql:55\n";

static const char *proc61 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_SELECT_LOCAL_TABLES_OUT\" (  in arr any )\n"
"{\n"
"http(\'<table CLASS=\"statdata\" border=0 rules=none><tr>\');\n"
"http(\'<td align=center>\');\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'st\', \'Available Tables\', \"PUMP\".\"DBA\".\"HTML_RETRIEVE_TABLES_VIA_PLSQL\" (arr), NULL, \'size=10 multiple\', NULL); \n"
"http(\'</td></tr>\');\n"
"http(\'<tr><td align=center CLASS=\"statlist\">\');\n"
"\"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" (arr, \'\', \'Select All\', \'select_all_local_tables();\'\n"
", NULL, \' style=\\\"width: 1in\\\"\');\n"
"\"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" (arr, \'\', \'Deselect All\', \'\n"
"for (i=0;;i++)\n"
"{\n"
"if (this.form.st_value.options[i]==null)\n"
"break;\n"
"if (this.form.st_value.options[i].selected)\n"
"this.form.st_value.options[i].selected=false;\n"
"}\n"
"\', NULL, \' style=\\\"width: 1in\\\"\');\n"
"http (\'</td>\');\n"
"http (\'</tr>\');\n"
"http (\'</table>\\n\');\n"
"http (\'<script> \n"
"function pack_tables()\n"
"{ \n"
"var out=\\\'\\\', j=0;\n"
"for (i=0;;i++)\n"
"{\n"
"if (document.forms[0].st_value.options[i]==null)\n"
"break;\n"
"if (document.forms[0].st_value.options[i] && document.forms[0].st_value.options[i].selected)\n"
"{\n"
"if (j) out += \\\'@\\\';\n"
"else j=1;\n"
"out += document.forms[0].st_value.options[i].value;\n"
"}\n"
"}\n"
"return out;\n"
"}\n"
"function select_all_local_tables ()\n"
"{\n"
"for (i=0;;i++)\n"
"{\n"
"if (document.forms[0].st_value.options[i]==null)\n"
"break;\n"
"if (!document.forms[0].st_value.options[i].selected)\n"
"document.forms[0].st_value.options[i].selected=true;\n"
"}\n"
"}\');\n"
"declare qual varchar;\n"
"qual := \"PUMP\".\"DBA\".\"__GET_KEYWORD\" (\'selected_qualifier\',arr,\'\');\n"
"if (neq (qual , \'%\'))\n"
"http (\'select_all_local_tables ();\');\n"
"http (\'</script>\');\n"
"}\n"
"--src comp_tables.sql:141\n";

static const char *proc62 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_SELECT_QUALIFIER_FILTER_OUT\" (  in arr any )\n"
"{\n"
"http(\'<table class=\"genlist\" border=\"0\" cellpadding=\"0\">\');\n"
"http(\'<tr><td class=\"genhead\">\');\n"
"http(\'<table width=100% border=0><tr><td align=left  class=\"genhead\">\');\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (\'qualifier_mask\', sprintf(\'&nbsp;%s&nbsp;\', \'Filter\')); \n"
"http(\'</td><td align=right>\');\n"
"\"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" (arr, \'\', \'Advanced\', \'\n"
"this.form.action=\\\'dump_advanced.vsp\\\';this.form.submit();\n"
"\', NULL, NULL);\n"
"http(\'</td></tr></table>\');\n"
"http(\'</td></tr>\');\n"
"http(\'<tr><td CLASS=\"statdata\">\');\n"
"\n"
"\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'qualifier_mask\', NULL, \"PUMP\".\"DBA\".\"HTML_RETRIEVE_QUALIFIERS_VIA_PLSQL\" (arr), NULL, NULL, NULL, 20, \'this.form.submit();\'); \n"
"http(\'</td><td align=center>\');\n"
"http(\'</td>\');\n"
"http(\'</tr>\');\n"
"http(\'</table>\\n\');\n"
"}\n"
"--src comp_tables.sql:198\n";

static const char *proc63 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_SELECT_DUMP_TYPE_OUT\" (  in arr any )\n"
"{\n"
"http(\'<table class=\"genlist\" border=\"0\" cellpadding=\"0\">\');\n"
"http(\'<tr><td class=\"genhead\">\');\n"
"\"PUMP\".\"DBA\".\"__CHECK_HELP\" (\'text_flag\', sprintf(\'&nbsp;%s&nbsp;\', \'Dump Format\')); \n"
"http(\'</td></tr>\');\n"
"http(\'<tr><td CLASS=\"statdata\">\');\n"
"\"PUMP\".\"DBA\".\"HTML_RADIO_OUT\" (arr, \'text_flag\', \'SQL=SQL&Binary=Binary\', NULL, NULL, NULL); \n"
"http(\'</td></tr></table>\');\n"
"}\n"
"--src comp_tables.sql:222\n";

static const char *proc64 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_CHOICE_TABLES\" (	inout arr any )\n"
"{\n"
"declare str varchar;\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (arr,\'choice_tables\',\'*\');\n"
"if (str is null)\n"
"return \'\';\n"
"\n"
"return str;\n"
"}\n"
"--src comp_tables.sql:235\n";

static const char *proc65 = 
"create procedure \"PUMP\".\"DBA\".\"HTML_SELECT_TABLES_OUT\" (  in arr any )\n"
"{\n"
"\n"
"http(\'<table CLASS=\"statdata\" border=0 rules=none\');\n"
"\n"
"http(\'><tr>\');\n"
"http(\'<td rowspan=4  align=center>\');\n"
"declare exstr varchar;\n"
"exstr := \"PUMP\".\"DBA\".\"HTML_CHOICE_TABLES\" (arr);\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'at\', \'Available Tables\', \"PUMP\".\"DBA\".\"HTML_RETRIEVE_TABLES_VIA_PLSQL\" (arr), NULL, \'size=10 multiple\' ,exstr); \n"
"http(\'</td>\');\n"
"http(\'<td align=center><br>\');\n"
"\"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" (arr, \'\', \' > \', \'\n"
"var found=1;\n"
"while (found)\n"
"{\n"
"found=0;\n"
"for (i=0;;i++)\n"
"{\n"
"if (this.form.at.options[i]==null)\n"
"break;\n"
"if (this.form.at.options[i].selected)\n"
"{\n"
"var o=this.form.at.options[i];\n"
"AddItemToSelect(this.form.choice_tables.options, o);\n"
"this.form.at.options[i]=null;\n"
"i\n"
"found=1;\n"
"}\n"
"}\n"
"}\n"
"\', NULL, NULL);\n"
"http(\'</td>\');\n"
"http(\'<td rowspan=4  align=center>\');\n"
"\"PUMP\".\"DBA\".\"HTML_SELECT_OUT\" (arr, \'choice_tables\', \'Selected Tables\', exstr, NULL, \'size=10  multiple \',NULL ); \n"
"http(\'<script language=JavaScript>\n"
"function ChoiceTablesSelect()\n"
"{\n"
"for (i=0;;i++)\n"
"{\n"
"if (document.forms[0].choice_tables.options[i]==null)\n"
"break;\n"
"document.forms[0].choice_tables.options[i].selected=true;\n"
"}	\n"
"}\n"
"ChoiceTablesSelect();	\n"
"</script>\');\n"
"http(\'</td>\');\n"
"http(\'</tr>\');\n"
"http(\'<tr>\');\n"
"http(\'<td align=center>\');\n"
"\"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" (arr, \'\', \'>>\', \'\n"
"for (;;)\n"
"{\n"
"var o=this.form.at.options[0];\n"
"if (o==null)\n"
"break;\n"
"AddItemToSelect(this.form.choice_tables.options, o);\n"
"this.form.at.options[0]=null;\n"
"}\n"
"\', NULL, NULL);\n"
"http(\'</td>\');\n"
"http(\'</tr>\');\n"
"http(\'<tr>\');\n"
"http(\'<td align=center>\');\n"
"\"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" (arr, \'\', \'<<\', \'\n"
"for (;;)\n"
"{\n"
"var o=this.form.choice_tables.options[0];\n"
"if (o==null)\n"
"break;\n"
"AddItemToSelect(this.form.at.options, o);\n"
"this.form.choice_tables.options[0]=null;\n"
"}\n"
"\', NULL, NULL);\n"
"http(\'</td>\');\n"
"http(\'</tr>\');\n"
"http(\'<tr>\');\n"
"http(\'<td align=center>\');\n"
"\"PUMP\".\"DBA\".\"HTML_BUTTON_OUT\" (arr, \'\', \' < \', \'\n"
"var found=1;\n"
"while (found)\n"
"{\n"
"found=0;\n"
"for (i=0;;i++)\n"
"{\n"
"if (this.form.choice_tables.options[i]==null)\n"
"break;\n"
"if (this.form.choice_tables.options[i].selected)\n"
"{\n"
"var o=this.form.choice_tables.options[i];\n"
"AddItemToSelect(this.form.at.options, o);\n"
"this.form.choice_tables.options[i]=null;\n"
"i\n"
"found=1;\n"
"}\n"
"}\n"
"}\n"
"\', NULL, NULL);\n"
"http(\'</td>\');\n"
"http(\'</tr>\');\n"
"http(\'</table>\\n\');\n"
"}\n"
"--src comp_tables.sql:247\n";

static const char *proc66 = 
"create procedure \"PUMP\".\"DBA\".\"DUMP_TABLES_AND_PARS_RETRIEVE\" ( inout pars any )\n"
"{\n"
"declare n integer;\n"
"declare str varchar;\n"
"declare outarr any;\n"
"\n"
"\n"
"\n"
"\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (pars,\'dump_tables\',\'*\');\n"
"outarr := split_and_decode(str,0);\n"
"\n"
"return outarr;\n"
"}\n"
"--src comp_tables.sql:353\n";

static const char *proc67 = 
"create procedure \"PUMP\".\"DBA\".\"DUMP_SCHEMA_AND_PARS_RETRIEVE\" ( inout pars any )\n"
"{\n"
"declare n integer;\n"
"declare str varchar;\n"
"declare outarr any;\n"
"\n"
"\n"
"\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (pars,\'dump_schema\',\'*\');\n"
"outarr := split_and_decode(str,0);\n"
"\n"
"\n"
"return outarr;\n"
"}\n"
"--src comp_tables.sql:370\n";

static const char *proc68 = 
"create procedure \"PUMP\".\"DBA\".\"RESTORE_TABLES_AND_PARS_RETRIEVE\" ( inout pars any )\n"
"{\n"
"declare n integer;\n"
"declare str varchar;\n"
"declare outarr any;\n"
"\n"
"\n"
"\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (pars,\'restore_tables\',\'*\');\n"
"outarr := split_and_decode(str,0);\n"
"\n"
"\n"
"return outarr;\n"
"}\n"
"--src comp_tables.sql:388\n";

static const char *proc69 = 
"create procedure \"PUMP\".\"DBA\".\"RESTORE_SCHEMA_AND_PARS_RETRIEVE\" ( inout pars any )\n"
"{\n"
"declare n integer;\n"
"declare str varchar;\n"
"declare outarr any;\n"
"\n"
"\n"
"\n"
"str := \"PUMP\".\"DBA\".\"DBPUMP_RUN_COMPONENT\" (pars,\'restore_schema\',\'*\');\n"
"outarr := split_and_decode(str,0);\n"
"\n"
"\n"
"return outarr;\n"
"}\n"
"--src comp_tables.sql:406\n";

static const char *proc70 = 
"create procedure \"PUMP\".\"DBA\".\"CHK_ST_VALUE\" ( inout arr any, in pars any )\n"
"{\n"
"declare s any ;\n"
"s := string_output();\n"
"declare name  varchar;\n"
"declare i, n integer;\n"
"n := length(pars);\n"
"i := 0;\n"
"while (i<n)\n"
"{\n"
"name := aref(pars,i);\n"
"if (equ (name, \'st_value\'))\n"
"{\n"
"if (i)\n"
"http (\'@\', s);\n"
"http (aref (pars, i + 1), s);\n"
"}\n"
"i := i + 2;\n"
"}\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (arr, \'choice_sav\', string_output_string(s));\n"
"}\n"
"--src comp_tables.sql:423\n";

static const char *proc71 = 
"create procedure \"DB\".\"DBA\".\"BACKUP_ALL_VIA_DBPUMP\" (	\n"
"in username varchar,\n"
"in passwd varchar,\n"
"in datasource varchar,\n"
"in dump_path varchar,\n"
"in dump_dir varchar  ) returns varchar\n"
"{\n"
"declare pars, res any;\n"
"pars:= null;\n"
"\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'user\', username);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'password\', passwd);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'datasource\', datasource);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'dump_path\', dump_path);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'dump_dir\', dump_dir);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'choice_sav\', \'\');\n"
"\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'table_defs\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'triggers\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'stored_procs\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'constraints\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'fkconstraints\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'views\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'users\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'grants\', \'on\');\n"
"\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'custom_qual\', \'1\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'qualifier_mask\', \'%\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'owner_mask\', \'%\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'tabname\', \'%\');\n"
"\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'choice_sav\',  \"PUMP\".\"DBA\".\"HTML_RETRIEVE_TABLES_VIA_PLSQL\" (pars, 2));\n"
"dbg_obj_print (pars);\n"
"\n"
"res := \"PUMP\".\"DBA\".\"DUMP_TABLES_AND_PARS_RETRIEVE\" (pars);\n"
"return get_keyword (\'result_txt\', res, \'\');\n"
"}\n"
"--src comp_tables.sql:446\n";

static const char *proc72 = 
"create procedure \"DB\".\"DBA\".\"BACKUP_SCHEMA_VIA_DBPUMP\" (\n"
"in username varchar,\n"
"in passwd varchar,\n"
"in datasource varchar,\n"
"in qualifier varchar,\n"
"in dump_path varchar,\n"
"in dump_dir varchar  ) returns varchar\n"
"{\n"
"declare pars, res any;\n"
"pars:= null;\n"
"\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'user\', username);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'password\', passwd);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'datasource\', datasource);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'dump_path\', dump_path);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'dump_dir\', dump_dir);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'choice_sav\', \'\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'selected_qualifier\', qualifier);\n"
"\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'table_defs\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'triggers\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'stored_procs\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'constraints\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'fkconstraints\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'views\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'users\', \'on\');\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'grants\', \'on\');\n"
"\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'choice_sav\',  \"PUMP\".\"DBA\".\"HTML_RETRIEVE_TABLES_VIA_PLSQL\" (pars, 2));\n"
"dbg_obj_print (pars);\n"
"res := \"PUMP\".\"DBA\".\"DUMP_TABLES_AND_PARS_RETRIEVE\" (pars);\n"
"return get_keyword (\'result_txt\', res, \'\');\n"
"}\n"
"--src comp_tables.sql:486\n";

static const char *proc73 = 
"create procedure \"DB\".\"DBA\".\"RESTORE_DBPUMP\'S_FOLDER\" (\n"
"in username varchar,\n"
"in passwd varchar,\n"
"in datasource varchar,\n"
"in dump_path varchar,\n"
"in dump_dir varchar  ) returns varchar\n"
"{\n"
"declare pars, res any;\n"
"pars:= null;\n"
"\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'user\', username);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'password\', passwd);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'datasource\', datasource);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'dump_path\', dump_path);\n"
"\"PUMP\".\"DBA\".\"CHANGE_VAL\" (pars, \'dump_dir\', dump_dir);\n"
"\n"
"res := \"PUMP\".\"DBA\".\"RESTORE_TABLES_AND_PARS_RETRIEVE\" (pars);\n"
"return get_keyword (\'result_txt\', res, \'\');\n"
"}\n"
"--src comp_tables.sql:522\n";

/* pars_init.sql */

static const char *proc74 = 
"create procedure \"PUMP\".\"DBA\".\"RETRIEVE_HTTP_PARS\" ( in afrom any )\n"
"{\n"
"declare ato any;\n"
"ato := vector();\n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'_datasource\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'datasource\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'comment\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'user\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'owner_mask\',\'%\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'password\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'back\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'accept\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'dump\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'restore\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'lpath\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'rpath\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'print_to_screen\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'tabname\',\'%\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'qualifier\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'selected_qualifier\',\'%\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'qualifier_mask\',\'%\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'text_flag\',\'Binary\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'split_by\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'sql_where\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'from1\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'from2\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'to1\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'to2\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'tab_linkage_calls\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'link_none_if_fails\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'produce_primary_key_by_any_means\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'surround_doublequotes\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'prefix_names\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'prefix_select\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'no_drops\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'no_foreach\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'verbose_flag\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'escape_flag\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'debug_trace\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'default_conversions\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'new_name_for_tables\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'initial_statement\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'select_override\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'unquoted_columns\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'need_table\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'need_system_table\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'need_global_temporary\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'need_view\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'need_synonym\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'need_local_temporary\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'need_alias\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'insert_mode\',\'1\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'maxline\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'hexlen\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'retrieve_tables\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'choice_tables\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'choice_sav\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'dump_name\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'result_txt\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'debug_in_footer\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'upload_flag\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'allow_make_path\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'manual_datasource\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'connected_flag\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'dump_type\',\'1\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'table_defs\',\'on\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'triggers\',\'on\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'stored_procs\',\'on\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'constraints\',\'on\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'fkconstraints\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'views\',\'on\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'users\',\'on\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'grants\',\'on\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'restore_users\',\'on\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'restore_grants\',\'on\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'table_data\',\'on\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'change_qualifier\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'change_owner\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'new_qualifier\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'new_owner\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'change_rqualifier\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'change_rowner\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'new_rqualifier\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'new_rowner\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'show_content\',\'6\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'next_url\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'custom_qual\',\'0\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'custom_dump_opt\',\'0\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'dump_path\',\'./backup\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'dump_dir\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'selected_tables\',\'\'); \n"
"\"PUMP\".\"DBA\".\"__RETRIEVE_HTTP_PARS\" (afrom,ato,\'last_error\',\'\'); \n"
"return ato;\n"
"\n"
"}\n"
"--src pars_init.sql:23\n";

static int
sch_proc_def_exists (client_connection_t *cli, const char *proc_name)
{
  query_t *proc = NULL;
  char *full_name = sch_full_proc_name (isp_schema(NULL), proc_name,
	cli->cli_qualifier, CLI_OWNER (cli));
  if (full_name)
    proc = sch_proc_def (isp_schema(NULL), full_name);
  return (proc != NULL);
}

#define DEFINE_PROC(name, proc) \
   if (!sch_proc_def_exists (bootstrap_cli, (name))) \
     ddl_std_proc_1 (proc, 0x0, 1)


#define DEFINE_PUBLIC_PROC(name, proc) \
   if (!sch_proc_def_exists (bootstrap_cli, (name))) \
     ddl_std_proc_1 (proc, 0x1, 1)


#define DEFINE_OVERWRITE_PROC(name, proc) \
   ddl_std_proc_1 (proc, 0x1, 1)


void
sqls_define_dbp (void)
{
  caddr_t saved_qualifier = bootstrap_cli->cli_qualifier;

  /* dbpump_root.sql */
  bootstrap_cli->cli_qualifier = box_string ("PUMP");

  ddl_ensure_table ("do this always", other0);
  ddl_ensure_table ("do this always", other1);
  ddl_ensure_table ("PUMP.DBA.DBPUMP_HELP", tbl0);
  DEFINE_PROC ("PUMP.DBA.__CHECK_TITLE", proc0);
  DEFINE_PROC ("PUMP.DBA.__GET_KEYWORD", proc1);
  DEFINE_PROC ("PUMP.DBA.__GET_DUMP_NAME", proc2);
  DEFINE_PROC ("PUMP.DBA.__CHECK_HELP", proc3);
  DEFINE_PROC ("PUMP.DBA.HTML_SMTH_OUT", proc4);
  DEFINE_PROC ("PUMP.DBA.HTML_STR_OUT", proc5);
  DEFINE_PROC ("PUMP.DBA.HTML_STR_ENCODE_OUT", proc6);
  DEFINE_PROC ("PUMP.DBA.URLIFY_STRING", proc7);
  DEFINE_PROC ("PUMP.DBA.PROTECT_STRING", proc8);
  DEFINE_PROC ("PUMP.DBA.EXTRACT_HOST_FROM_LINES", proc9);
  DEFINE_PROC ("PUMP.DBA.EXTRACT_PORT_FROM_INI", proc10);
  DEFINE_PROC ("PUMP.DBA.CHANGE_VAL", proc11);
  DEFINE_PROC ("PUMP.DBA.CHANGE_VAL_IF_NOT_SET", proc12);
  DEFINE_PROC ("PUMP.DBA.OBTAIN_DSN", proc13);
  DEFINE_PROC ("PUMP.DBA.__RETRIEVE_HTTP_PARS", proc14);
  DEFINE_PROC ("PUMP.DBA.OUT_HIDDEN_PARS", proc15);
  DEFINE_PROC ("PUMP.DBA.OUT_CHK_DFLT_PARS", proc16);
  DEFINE_PROC ("PUMP.DBA.RESTORE_DEFAULT_PARS", proc17);
  DEFINE_PROC ("PUMP.DBA.HIDDEN_VAL_OUT", proc18);

  dk_free_box (bootstrap_cli->cli_qualifier);
  bootstrap_cli->cli_qualifier =  saved_qualifier;

  /* components.sql */
  bootstrap_cli->cli_qualifier = box_string ("PUMP");

  DEFINE_PROC ("PUMP.DBA.__GET_TEMPORARY", proc19);
  DEFINE_PROC ("PUMP.DBA.DBPUMP_START_COMPONENT", proc20);
  DEFINE_PROC ("PUMP.DBA.DBPUMP_RUN_COMPONENT", proc21);

  dk_free_box (bootstrap_cli->cli_qualifier);
  bootstrap_cli->cli_qualifier =  saved_qualifier;

  /* comp_html.sql */
  bootstrap_cli->cli_qualifier = box_string ("PUMP");

  DEFINE_PROC ("PUMP.DBA.HTML_A_OUT", proc22);
  DEFINE_PROC ("PUMP.DBA.HTML_BUTTON_OUT", proc23);
  DEFINE_PROC ("PUMP.DBA.HTML_LINK_OUT", proc24);
  DEFINE_PROC ("PUMP.DBA.TEST_CONNECTED", proc25);
  DEFINE_PROC ("PUMP.DBA.HTML_HEADER_OUT", proc26);
  DEFINE_PROC ("PUMP.DBA.DUMP_DEBUG_INFO", proc27);
  DEFINE_PROC ("PUMP.DBA.HTML_FOOTER_OUT", proc28);
  DEFINE_PROC ("PUMP.DBA.HTML_RESET_OUT", proc29);
  DEFINE_PROC ("PUMP.DBA.HTML_SUBMIT_OUT", proc30);
  DEFINE_PROC ("PUMP.DBA.HTML_EDIT_OUT", proc31);
  DEFINE_PROC ("PUMP.DBA.HTML_EDIT_ROW_OUT", proc32);
  DEFINE_PROC ("PUMP.DBA.HTML_HIDDEN_OUT", proc33);
  DEFINE_PROC ("PUMP.DBA.HTML_PASSWORD_OUT", proc34);
  DEFINE_PROC ("PUMP.DBA.HTML_PASSWORD_ROW_OUT", proc35);
  DEFINE_PROC ("PUMP.DBA.HTML_TEXTAREA_OUT", proc36);
  DEFINE_PROC ("PUMP.DBA.HTML_LARGETEXT_OUT", proc37);
  DEFINE_PROC ("PUMP.DBA.HTML_CHECKBOX_OUT", proc38);
  DEFINE_PROC ("PUMP.DBA.HTML_RADIO_OUT", proc39);
  DEFINE_PROC ("PUMP.DBA.HTML_IMAGE_OUT", proc40);
  DEFINE_PROC ("PUMP.DBA.HTML_FILE_OUT", proc41);
  DEFINE_PROC ("PUMP.DBA.HTML_SELECT_OUT", proc42);
  DEFINE_PROC ("PUMP.DBA.OUT_DUMP_TYPE", proc43);

  dk_free_box (bootstrap_cli->cli_qualifier);
  bootstrap_cli->cli_qualifier =  saved_qualifier;

  /* comp_misc.sql */
  bootstrap_cli->cli_qualifier = box_string ("PUMP");

  DEFINE_PROC ("PUMP.DBA.HTML_SELECT_TYPE_OUT", proc44);
  DEFINE_PROC ("PUMP.DBA.HTML_SELECT_DATASOURCES_OUT", proc45);
  DEFINE_PROC ("PUMP.DBA.OPER_PARS_RETRIEVE", proc46);
  DEFINE_PROC ("PUMP.DBA.TRY_CONNECT_AND_PARS_RETRIEVE", proc47);

  dk_free_box (bootstrap_cli->cli_qualifier);
  bootstrap_cli->cli_qualifier =  saved_qualifier;

  /* comp_rpath.sql */
  bootstrap_cli->cli_qualifier = box_string ("PUMP");

  DEFINE_PROC ("PUMP.DBA.HTML_CHOICE_RPATH", proc48);
  DEFINE_PROC ("PUMP.DBA.HTML_CHOICE_RDIR", proc49);
  DEFINE_PROC ("PUMP.DBA.HTML_CHOICE_RSCHEMA", proc50);
  DEFINE_PROC ("PUMP.DBA.RPATH_FOR_DUMP_SCHEMA_OUT", proc51);
  DEFINE_PROC ("PUMP.DBA.RPATH_FOR_DUMP_TABLES_OUT", proc52);
  DEFINE_PROC ("PUMP.DBA.RPATH_FOR_RESTORE_TABLES_OUT", proc53);
  DEFINE_PROC ("PUMP.DBA.GET_SCHEMA_COMMENT_AND_PARS_RETRIEVE", proc54);
  DEFINE_PROC ("PUMP.DBA.GET_SCHEMA_COMMENT", proc55);
  DEFINE_PROC ("PUMP.DBA.COMMON_RPATH_FOR_DUMP_OUT", proc56);
  DEFINE_PROC ("PUMP.DBA.MANIFEST_OUT", proc57);

  dk_free_box (bootstrap_cli->cli_qualifier);
  bootstrap_cli->cli_qualifier =  saved_qualifier;

  /* comp_tables.sql */
  bootstrap_cli->cli_qualifier = box_string ("PUMP");

  DEFINE_PROC ("PUMP.DBA.HTML_RETRIEVE_TABLES", proc58);
  DEFINE_PROC ("PUMP.DBA.HTML_RETRIEVE_QUALIFIERS_VIA_PLSQL", proc59);
  DEFINE_PROC ("PUMP.DBA.HTML_RETRIEVE_TABLES_VIA_PLSQL", proc60);
  DEFINE_PROC ("PUMP.DBA.HTML_SELECT_LOCAL_TABLES_OUT", proc61);
  DEFINE_PROC ("PUMP.DBA.HTML_SELECT_QUALIFIER_FILTER_OUT", proc62);
  DEFINE_PROC ("PUMP.DBA.HTML_SELECT_DUMP_TYPE_OUT", proc63);
  DEFINE_PROC ("PUMP.DBA.HTML_CHOICE_TABLES", proc64);
  DEFINE_PROC ("PUMP.DBA.HTML_SELECT_TABLES_OUT", proc65);
  DEFINE_PROC ("PUMP.DBA.DUMP_TABLES_AND_PARS_RETRIEVE", proc66);
  DEFINE_PROC ("PUMP.DBA.DUMP_SCHEMA_AND_PARS_RETRIEVE", proc67);
  DEFINE_PROC ("PUMP.DBA.RESTORE_TABLES_AND_PARS_RETRIEVE", proc68);
  DEFINE_PROC ("PUMP.DBA.RESTORE_SCHEMA_AND_PARS_RETRIEVE", proc69);
  DEFINE_PROC ("PUMP.DBA.CHK_ST_VALUE", proc70);
  DEFINE_PROC ("DB.DBA.BACKUP_ALL_VIA_DBPUMP", proc71);
  DEFINE_PROC ("DB.DBA.BACKUP_SCHEMA_VIA_DBPUMP", proc72);
  DEFINE_PROC ("DB.DBA.RESTORE_DBPUMP'S_FOLDER", proc73);

  dk_free_box (bootstrap_cli->cli_qualifier);
  bootstrap_cli->cli_qualifier =  saved_qualifier;

  /* pars_init.sql */

  DEFINE_PROC ("PUMP.DBA.RETRIEVE_HTTP_PARS", proc74);
}


void
sqls_arfw_define_dbp (void)
{
  /* oper_pars.sql */

  ddl_ensure_table ("do this always", other2);
  ddl_ensure_table ("do this always", other3);
  ddl_ensure_table ("do this always", other4);
  ddl_ensure_table ("do this always", other5);
  ddl_ensure_table ("do this always", other6);
  ddl_ensure_table ("do this always", other7);
  ddl_ensure_table ("do this always", other8);
  ddl_ensure_table ("do this always", other9);
  ddl_ensure_table ("do this always", other10);
  ddl_ensure_table ("do this always", other11);
  ddl_ensure_table ("do this always", other12);
  ddl_ensure_table ("do this always", other13);
  ddl_ensure_table ("do this always", other14);
  ddl_ensure_table ("do this always", other15);
  ddl_ensure_table ("do this always", other16);
  ddl_ensure_table ("do this always", other17);
  ddl_ensure_table ("do this always", other18);
  ddl_ensure_table ("do this always", other19);
  ddl_ensure_table ("do this always", other20);
  ddl_ensure_table ("do this always", other21);
  ddl_ensure_table ("do this always", other22);
  ddl_ensure_table ("do this always", other23);
  ddl_ensure_table ("do this always", other24);
  ddl_ensure_table ("do this always", other25);
  ddl_ensure_table ("do this always", other26);
  ddl_ensure_table ("do this always", other27);
  ddl_ensure_table ("do this always", other28);
  ddl_ensure_table ("do this always", other29);
  ddl_ensure_table ("do this always", other30);
  ddl_ensure_table ("do this always", other31);
  ddl_ensure_table ("do this always", other32);
  ddl_ensure_table ("do this always", other33);
  ddl_ensure_table ("do this always", other34);
  ddl_ensure_table ("do this always", other35);
  ddl_ensure_table ("do this always", other36);
  ddl_ensure_table ("do this always", other37);
  ddl_ensure_table ("do this always", other38);
  ddl_ensure_table ("do this always", other39);
  ddl_ensure_table ("do this always", other40);
  ddl_ensure_table ("do this always", other41);
  ddl_ensure_table ("do this always", other42);
  ddl_ensure_table ("do this always", other43);
  ddl_ensure_table ("do this always", other44);
  ddl_ensure_table ("do this always", other45);
  ddl_ensure_table ("do this always", other46);
  ddl_ensure_table ("do this always", other47);
  ddl_ensure_table ("do this always", other48);
  ddl_ensure_table ("do this always", other49);
  ddl_ensure_table ("do this always", other50);
  ddl_ensure_table ("do this always", other51);
  ddl_ensure_table ("do this always", other52);
  ddl_ensure_table ("do this always", other53);
  ddl_ensure_table ("do this always", other54);
  ddl_ensure_table ("do this always", other55);
  ddl_ensure_table ("do this always", other56);
  ddl_ensure_table ("do this always", other57);
  ddl_ensure_table ("do this always", other58);
  ddl_ensure_table ("do this always", other59);
  ddl_ensure_table ("do this always", other60);
  ddl_ensure_table ("do this always", other61);
  ddl_ensure_table ("do this always", other62);
  ddl_ensure_table ("do this always", other63);
  ddl_ensure_table ("do this always", other64);
  ddl_ensure_table ("do this always", other65);
  ddl_ensure_table ("do this always", other66);
  ddl_ensure_table ("do this always", other67);
  ddl_ensure_table ("do this always", other68);
  ddl_ensure_table ("do this always", other69);
  ddl_ensure_table ("do this always", other70);
  ddl_ensure_table ("do this always", other71);
  ddl_ensure_table ("do this always", other72);
  ddl_ensure_table ("do this always", other73);
  ddl_ensure_table ("do this always", other74);
  ddl_ensure_table ("do this always", other75);
  ddl_ensure_table ("do this always", other76);
  ddl_ensure_table ("do this always", other77);
  ddl_ensure_table ("do this always", other78);
  ddl_ensure_table ("do this always", other79);
  ddl_ensure_table ("do this always", other80);
  ddl_ensure_table ("do this always", other81);
  ddl_ensure_table ("do this always", other82);
  ddl_ensure_table ("do this always", other83);
  ddl_ensure_table ("do this always", other84);
  ddl_ensure_table ("do this always", other85);
  ddl_ensure_table ("do this always", other86);
  ddl_ensure_table ("do this always", other87);
  ddl_ensure_table ("do this always", other88);
  ddl_ensure_table ("do this always", other89);

}
