version	U12.1.00
uid	db_util.u1-1786291431-0
record	database__DButils__state,2
	0,__s
	1,__m
record	database__DButils__methods,26
	0,escape
	1,getColNames
	2,addCondition
	3,mapToSQL
	4,mapSQLExpr
	5,addColDesc
	6,initially
	7,clone
	8,to_string
	9,equals
	10,hash_code
	11,get_class_name
	12,get_id
	13,get_class
	14,is_instance
	15,Type
	16,instanceOf
	17,className
	18,invoke
	19,getField
	20,setField
	21,hasField
	22,fieldNames
	23,genMethods
	24,hasMethod
	25,lang__Object
impl	local
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/object.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/classcoding.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/basicclasscoding.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/method.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/class.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/langprocs.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/object.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/decode.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/encode.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/fcn_util.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/selectiveclasscoding.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/predicat.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/runnable.u
link	/usr/obj/ports/unicon-13.3beta1/unicon-0b8f99c2affe981f87639fc2577d2a68d05739ba/uni/lib/process.u
global	13
	0,000005,database__DButils_escape,2
	1,000005,database__DButils_getColNames,2
	2,000005,database__DButils_addCondition,5
	3,000005,database__DButils_mapToSQL,4
	4,000005,database__DButils_mapSQLExpr,4
	5,000005,database__DButils_addColDesc,5
	6,000005,database__DButils_initially,1
	7,000011,database__DButils__state,2
	8,000011,database__DButils__methods,26
	9,000001,database__DButils__oprec,0
	10,000001,lang__Object__oprec,0
	11,000005,database__DButils,0
	12,000005,database__DButilsinitialize,0

proc database__DButils_escape
	local	0,001000,self
	local	1,001000,s
	local	2,000020,ns
	local	3,000000,tab
	local	4,000000,upto
	con	0,010000,0
	con	1,020000,2,033,047
	con	2,010000,1,047
	con	3,010000,2,047,047
	con	4,010000,2,033,033
	con	5,002000,1,0
	declend
	filen	db_util.icn
	line	32
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	1
	line	35
	colm	1
	synt	any
	null
	str	0
	line	35
	colm	4
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	var	2
	str	0
	line	34
	colm	18
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	var	1
	line	36
	colm	11
	synt	any
	bscan
	mark	L4
lab L5
	line	37
	colm	13
	synt	while
	mark0
	pnull
	var	2
	dup
	var	3
	var	4
	cset	1
	line	37
	colm	39
	synt	any
	invoke	1
	line	37
	colm	32
	synt	any
	invoke	1
	line	37
	colm	22
	synt	any
	cat
	asgn
	unmark
	mark	L5
	pnull
	var	2
	dup
	line	38
	colm	25
	synt	ifelse
	mark	L8
	pnull
	str	2
	line	38
	colm	28
	synt	any
	tabmat
	unmark
	str	3
	goto	L9
lab L8
	str	4
lab L9
	line	38
	colm	25
	synt	endifelse
	line	38
	colm	20
	synt	any
	cat
	asgn
lab L6
	unmark
	goto	L5
lab L7
	line	37
	colm	13
	synt	endwhile
	unmark
lab L4
	pnull
	var	2
	dup
	var	3
	int	5
	line	40
	colm	26
	synt	any
	invoke	1
	line	40
	colm	16
	synt	any
	cat
	asgn
	line	36
	colm	11
	synt	any
	escan
	unmark
lab L3
	mark	L10
	mark	L11
	var	2
	line	42
	colm	9
	synt	any
	pret
lab L11
	synt	any
	pfail
	unmark
lab L10
	pnull
	line	43
	colm	1
	synt	any
	pfail
	end
proc database__DButils_getColNames
	local	0,001000,self
	local	1,001000,rec
	local	2,000020,cNames
	local	3,000000,put
	local	4,000000,key
	declend
	line	48
	colm	11
	synt	any
	mark	L1
	line	52
	colm	9
	synt	every
	mark0
	var	3
	pnull
	var	2
	pnull
	line	52
	colm	31
	synt	any
	llist	0
	line	52
	colm	28
	synt	any
	asgn
	var	4
	var	1
	line	52
	colm	40
	synt	any
	invoke	1
	line	52
	colm	20
	synt	any
	invoke	2
	pop
lab L2
	efail
lab L3
	line	52
	colm	9
	synt	endevery
	unmark
lab L1
	mark	L4
	mark	L5
	var	2
	line	53
	colm	9
	synt	any
	pret
lab L5
	synt	any
	pfail
	unmark
lab L4
	pnull
	line	54
	colm	1
	synt	any
	pfail
	end
proc database__DButils_addCondition
	local	0,001000,self
	local	1,001000,wc
	local	2,001000,field
	local	3,001000,test
	local	4,001000,values
	local	5,000020,nc
	con	0,010000,0
	con	1,010000,5,040,101,116,104,040
	con	2,010000,1,050
	con	3,010000,1,051
	declend
	line	106
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	1
	line	108
	colm	1
	synt	any
	null
	str	0
	line	108
	colm	5
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	pnull
	pnull
	var	1
	line	112
	colm	9
	synt	any
	null
	str	0
	line	112
	colm	13
	synt	any
	asgn
	unmark
lab L2
	mark	L3
	line	113
	colm	9
	synt	if
	mark0
	pnull
	var	5
	pnull
	var	0
	line	113
	colm	23
	synt	any
	field	mapToSQL
	var	2
	var	3
	var	4
	line	113
	colm	32
	synt	any
	invoke	3
	line	113
	colm	16
	synt	any
	asgn
	unmark
	mark	L4
	line	114
	colm	13
	synt	if
	mark0
	pnull
	str	0
	var	1
	line	114
	colm	19
	synt	any
	lexne
	unmark
	pnull
	var	1
	dup
	str	1
	line	114
	colm	34
	synt	any
	cat
	asgn
	line	114
	colm	13
	synt	endif
	unmark
lab L4
	mark	L5
	pnull
	var	1
	dup
	pnull
	pnull
	str	2
	var	5
	line	115
	colm	25
	synt	any
	cat
	str	3
	line	115
	colm	31
	synt	any
	cat
	line	115
	colm	16
	synt	any
	cat
	asgn
	unmark
lab L5
	mark	L6
	var	1
	line	116
	colm	13
	synt	any
	pret
lab L6
	synt	any
	pfail
	line	113
	colm	9
	synt	endif
	unmark
lab L3
	pnull
	line	118
	colm	1
	synt	any
	pfail
	end
proc database__DButils_mapToSQL
	local	0,001000,self
	local	1,001000,field
	local	2,001000,test
	local	3,001000,values
	local	4,000020,nc
	local	5,000000,string
	local	6,000000,numeric
	local	7,000000,val
	con	0,010000,0
	con	1,010000,1,050
	con	2,002000,1,1
	con	3,010000,1,051
	con	4,002000,1,2
	con	5,010000,5,040,117,122,040,050
	declend
	line	128
	colm	11
	synt	any
	mark	L1
	pnull
	var	4
	str	0
	line	129
	colm	18
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	131
	colm	9
	synt	ifelse
	mark	L3
	mark	L5
	var	5
	line	131
	colm	21
	synt	any
	esusp
	goto	L6
lab L5
	var	6
lab L6
	var	3
	line	131
	colm	32
	synt	any
	invoke	1
	unmark
	pnull
	var	4
	pnull
	var	0
	line	132
	colm	23
	synt	any
	field	mapSQLExpr
	var	1
	var	2
	var	3
	line	132
	colm	34
	synt	any
	invoke	3
	line	132
	colm	16
	synt	any
	asgn
	goto	L4
lab L3
	mark	L7
	pnull
	var	4
	pnull
	pnull
	str	1
	pnull
	var	0
	line	135
	colm	30
	synt	any
	field	mapSQLExpr
	var	1
	var	2
	pnull
	var	3
	int	2
	line	135
	colm	59
	synt	any
	subsc
	line	135
	colm	41
	synt	any
	invoke	3
	line	135
	colm	23
	synt	any
	cat
	str	3
	line	135
	colm	63
	synt	any
	cat
	line	135
	colm	16
	synt	any
	asgn
	unmark
lab L7
	line	136
	colm	13
	synt	every
	mark0
	pnull
	var	7
	pnull
	var	3
	pnull
	int	4
	pnull
	var	3
	line	136
	colm	38
	synt	any
	size
	push1
	line	136
	colm	35
	synt	any
	toby
	line	136
	colm	32
	synt	any
	subsc
	line	136
	colm	23
	synt	any
	asgn
	pop
	mark0
	pnull
	var	4
	dup
	pnull
	pnull
	str	5
	pnull
	var	0
	line	137
	colm	40
	synt	any
	field	mapSQLExpr
	var	1
	var	2
	var	7
	line	137
	colm	51
	synt	any
	invoke	3
	line	137
	colm	33
	synt	any
	cat
	str	3
	line	137
	colm	67
	synt	any
	cat
	line	137
	colm	20
	synt	any
	cat
	asgn
	unmark
lab L8
	efail
lab L9
	line	136
	colm	13
	synt	endevery
lab L4
	line	131
	colm	9
	synt	endifelse
	unmark
lab L2
	mark	L10
	mark	L11
	var	4
	line	140
	colm	9
	synt	any
	pret
lab L11
	synt	any
	pfail
	unmark
lab L10
	pnull
	line	141
	colm	1
	synt	any
	pfail
	end
proc database__DButils_mapSQLExpr
	local	0,001000,self
	local	1,001000,field
	local	2,001000,op
	local	3,001000,value
	local	4,000000,type
	local	5,000000,upto
	local	6,000000,map
	con	0,010000,6,163,164,162,151,156,147
	con	1,010000,1,075
	con	2,010000,2,176,176
	con	3,020000,1,052
	con	4,010000,4,114,111,113,105
	con	5,010000,1,052
	con	6,010000,1,045
	con	7,010000,3,176,176,052
	con	8,010000,5,111,114,111,113,105
	con	9,010000,1,047
	con	10,010000,1,040
	declend
	line	153
	colm	11
	synt	any
	mark	L1
	line	154
	colm	9
	synt	if
	mark0
	pnull
	var	4
	var	3
	line	154
	colm	18
	synt	any
	invoke	1
	str	0
	line	154
	colm	26
	synt	any
	lexeq
	unmark
	mark	L2
	line	155
	colm	13
	synt	ifelse
	mark	L3
	pnull
	var	2
	mark	L5
	str	1
	line	155
	colm	27
	synt	any
	esusp
	goto	L6
lab L5
	str	2
lab L6
	line	155
	colm	20
	synt	any
	lexeq
	pop
	var	5
	cset	3
	var	3
	line	155
	colm	43
	synt	any
	invoke	2
	unmark
	mark	L7
	pnull
	var	2
	str	4
	line	156
	colm	23
	synt	any
	asgn
	unmark
lab L7
	pnull
	var	3
	var	6
	var	3
	str	5
	str	6
	line	157
	colm	31
	synt	any
	invoke	3
	line	157
	colm	23
	synt	any
	asgn
	goto	L4
lab L3
	line	159
	colm	18
	synt	if
	mark0
	pnull
	var	2
	str	7
	line	159
	colm	25
	synt	any
	lexeq
	pop
	var	5
	cset	3
	var	3
	line	159
	colm	43
	synt	any
	invoke	2
	unmark
	mark	L8
	pnull
	var	2
	str	8
	line	160
	colm	23
	synt	any
	asgn
	unmark
lab L8
	pnull
	var	3
	var	6
	var	3
	str	5
	str	6
	line	161
	colm	31
	synt	any
	invoke	3
	line	161
	colm	23
	synt	any
	asgn
	line	159
	colm	18
	synt	endif
lab L4
	line	155
	colm	13
	synt	endifelse
	unmark
lab L2
	pnull
	var	3
	pnull
	pnull
	str	9
	pnull
	var	0
	line	163
	colm	33
	synt	any
	field	escape
	var	3
	line	163
	colm	40
	synt	any
	invoke	1
	line	163
	colm	26
	synt	any
	cat
	str	9
	line	163
	colm	47
	synt	any
	cat
	line	163
	colm	19
	synt	any
	asgn
	line	154
	colm	9
	synt	endif
	unmark
lab L1
	mark	L9
	mark	L10
	pnull
	pnull
	pnull
	pnull
	var	1
	str	10
	line	165
	colm	22
	synt	any
	cat
	var	2
	line	165
	colm	29
	synt	any
	cat
	str	10
	line	165
	colm	35
	synt	any
	cat
	var	3
	line	165
	colm	42
	synt	any
	cat
	line	165
	colm	9
	synt	any
	pret
lab L10
	synt	any
	pfail
	unmark
lab L9
	pnull
	line	166
	colm	1
	synt	any
	pfail
	end
proc database__DButils_addColDesc
	local	0,001000,self
	local	1,001000,cd
	local	2,001000,colName
	local	3,001000,colType
	local	4,001000,colConstraints
	con	0,010000,0
	con	1,002000,1,0
	con	2,010000,2,054,040
	con	3,010000,1,040
	declend
	line	181
	colm	11
	synt	any
	mark	L1
	pnull
	pnull
	var	1
	line	183
	colm	1
	synt	any
	null
	str	0
	line	183
	colm	5
	synt	any
	asgn
	unmark
lab L1
	mark	L2
	line	182
	colm	9
	synt	if
	mark0
	pnull
	pnull
	var	1
	line	182
	colm	12
	synt	any
	size
	int	1
	line	182
	colm	16
	synt	any
	numgt
	unmark
	pnull
	var	1
	dup
	str	2
	line	182
	colm	28
	synt	any
	cat
	asgn
	line	182
	colm	9
	synt	endif
	unmark
lab L2
	mark	L3
	mark	L4
	pnull
	pnull
	pnull
	pnull
	pnull
	var	1
	var	2
	line	183
	colm	19
	synt	any
	cat
	str	3
	line	183
	colm	30
	synt	any
	cat
	var	3
	line	183
	colm	37
	synt	any
	cat
	str	3
	line	183
	colm	48
	synt	any
	cat
	var	4
	line	183
	colm	55
	synt	any
	cat
	line	183
	colm	9
	synt	any
	pret
lab L4
	synt	any
	pfail
	unmark
lab L3
	pnull
	line	184
	colm	1
	synt	any
	pfail
	end
proc database__DButils_initially
	local	0,001000,self
	local	1,000000,database__DButils
	declend
	line	186
	colm	11
	synt	any
	mark	L1
	pnull
	var	1
	goto	L4
lab L2
	pop
	mark	L3
lab L5
	mark0
	var	0
	chfail	L5
	esusp
	line	187
	colm	28
	synt	any
	coret
	efail
lab L3
	cofail
	goto	L3
lab L4
	create	L2
	line	187
	colm	26
	synt	any
	asgn
	unmark
lab L1
	mark	L6
	mark	L7
	pnull
	line	188
	colm	7
	synt	any
	pret
lab L7
	synt	any
	pfail
	unmark
lab L6
	pnull
	line	189
	colm	1
	synt	any
	pfail
	end
proc database__DButils
	local	0,000020,self
	local	1,000020,clone
	local	2,000000,database__DButils__oprec
	local	3,000000,database__DButilsinitialize
	local	4,000000,lang__Object__oprec
	local	5,000000,lang__Objectinitialize
	local	6,000000,database__DButils__state
	declend
	filen	__faux.icn
	line	5
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	mark	L4
	line	8
	colm	3
	synt	if
	mark0
	pnull
	var	2
	line	8
	colm	6
	synt	any
	null
	unmark
	var	3
	line	8
	colm	64
	synt	any
	invoke	0
	line	8
	colm	3
	synt	endif
	unmark
lab L4
	mark	L5
	line	9
	colm	3
	synt	if
	mark0
	pnull
	var	4
	line	9
	colm	6
	synt	any
	null
	unmark
	var	5
	line	9
	colm	54
	synt	any
	invoke	0
	line	9
	colm	3
	synt	endif
	unmark
lab L5
	pnull
	pnull
	var	2
	line	10
	colm	27
	synt	any
	field	lang__Object
	var	4
	line	10
	colm	41
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	mark	L6
	pnull
	var	0
	var	6
	line	12
	colm	36
	synt	any
	keywd	null
	var	2
	line	12
	colm	35
	synt	any
	invoke	2
	line	12
	colm	8
	synt	any
	asgn
	unmark
lab L6
	mark	L7
	pnull
	pnull
	var	0
	line	13
	colm	7
	synt	any
	field	__s
	var	0
	line	13
	colm	12
	synt	any
	asgn
	unmark
lab L7
	mark	L8
	mark	L9
	pnull
	pnull
	var	0
	line	14
	colm	7
	synt	any
	field	__m
	line	14
	colm	11
	synt	any
	field	initially
	var	0
	line	14
	colm	21
	synt	any
	invoke	1
	line	14
	colm	28
	synt	any
	esusp
	goto	L10
lab L9
	line	14
	colm	30
	synt	any
	pfail
lab L10
	unmark
lab L8
	mark	L11
	mark	L12
	var	0
	line	15
	colm	3
	synt	any
	pret
lab L12
	synt	any
	pfail
	unmark
lab L11
	pnull
	line	16
	colm	1
	synt	any
	pfail
	end
proc database__DButilsinitialize
	local	0,000000,database__DButils__oprec
	local	1,000000,database__DButils__methods
	local	2,000000,database__DButils_escape
	local	3,000000,database__DButils_getColNames
	local	4,000000,database__DButils_addCondition
	local	5,000000,database__DButils_mapToSQL
	local	6,000000,database__DButils_mapSQLExpr
	local	7,000000,database__DButils_addColDesc
	local	8,000000,database__DButils_initially
	local	9,000000,lang__Object_clone
	local	10,000000,lang__Object_to_string
	local	11,000000,lang__Object_equals
	local	12,000000,lang__Object_hash_code
	local	13,000000,lang__Object_get_class_name
	local	14,000000,lang__Object_get_id
	local	15,000000,lang__Object_get_class
	local	16,000000,lang__Object_is_instance
	local	17,000000,lang__Object_Type
	local	18,000000,lang__Object_instanceOf
	local	19,000000,lang__Object_className
	local	20,000000,lang__Object_invoke
	local	21,000000,lang__Object_getField
	local	22,000000,lang__Object_setField
	local	23,000000,lang__Object_hasField
	local	24,000000,lang__Object_fieldNames
	local	25,000000,lang__Object_genMethods
	local	26,000000,lang__Object_hasMethod
	declend
	line	18
	colm	11
	synt	any
lab L1
	init	L3
	mark	L2
	pnull
	var	0
	var	1
	var	2
	var	3
	var	4
	var	5
	var	6
	var	7
	var	8
	var	9
	var	10
	var	11
	var	12
	var	13
	var	14
	var	15
	var	16
	var	17
	var	18
	var	19
	var	20
	var	21
	var	22
	var	23
	var	24
	var	25
	var	26
	line	19
	colm	65
	synt	any
	invoke	25
	line	19
	colm	36
	synt	any
	asgn
	unmark
lab L2
	einit	L1
lab L3
	line	20
	colm	1
	synt	any
	pfail
	end
