proc field
	local	0,001000,R
	local	1,001000,i
	local	2,000000,name
	local	3,000000,tab
	local	4,000000,upto
	con	0,020000,1,056
	con	1,002000,1,1
	con	2,002000,1,0
	declend
	filen	records.icn
	line	23
	colm	11
	mark	L1
	var	2
	pnull
	var	0
	var	1
	line	25
	colm	10
	subsc
	line	25
	colm	8
	invoke	1
	line	25
	colm	15
	bscan
	mark	L2
	var	3
	pnull
	var	4
	cset	0
	line	26
	colm	15
	invoke	1
	int	1
	line	26
	colm	21
	plus
	line	26
	colm	10
	invoke	1
	unmark
lab L2
	mark	L3
	var	3
	int	2
	line	27
	colm	17
	invoke	1
	line	27
	colm	7
	pret
lab L3
	pfail
	line	25
	colm	15
	escan
	unmark
lab L1
	pnull
	line	30
	colm	1
	pfail
	end
proc fieldnum
	local	0,001000,R
	local	1,001000,s
	local	2,000020,i
	local	3,000000,copy
	con	0,002000,1,1
	declend
	line	32
	colm	11
	mark	L1
	pnull
	var	0
	var	3
	var	0
	line	35
	colm	13
	invoke	1
	line	35
	colm	6
	asgn
	unmark
lab L1
	mark	L2
	mark0
	pnull
	var	2
	pnull
	int	0
	pnull
	var	0
	line	36
	colm	20
	size
	push1
	line	36
	colm	17
	toby
	line	36
	colm	12
	asgn
	pop
	mark0
	pnull
	pnull
	var	0
	var	2
	line	37
	colm	8
	subsc
	var	2
	line	37
	colm	12
	asgn
	unmark
lab L3
	efail
lab L4
	unmark
lab L2
	mark	L5
	mark	L6
	pnull
	var	0
	var	1
	line	38
	colm	12
	subsc
	line	38
	colm	4
	pret
lab L6
	pfail
	unmark
lab L5
	pnull
	line	39
	colm	1
	pfail
	end
