cat > script <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
create table testbulk (b3 bulk (3, 1, 1),
b4 bulk (4, 4, 4));
insert into testbulk;
00 01 12 34 56 78 9a bc de ff de ad
00 00 00 00 11 11 11 11 22 22 22 22
e
11 22 33 44 55 66 77 88 99 00 11 22 33 44 55 66 77 88 99 00 11
11 22 33 44 55 66 77 88 99 00 11 22 33 44 55 66 77 88 99 00 11
e
.q
select from testbulk;
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 755 script
cat > stdout <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
* . * 
b3: b4: 
Ready .
b3: b4: 
Ready .
b3: 
Number of records entered = 2
* b3        b4

00 01 12  00 00 00 00
34 56 78  11 11 11 11
9a bc de  22 22 22 22
ff de ad
11 22 33  11 22 33 44
44 55 66  55 66 77 88
77 88 99  99 00 11 22
00 11 22  33 44 55 66
33 44 55  77 88 99 00
66 77 88  11
99 00 11
* 
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 644 stdout
cat > tag <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
Testing datatype "bulk"
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 644 tag
cat > stdout.jp_euc <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
* . * 
b3: b4: 
Ǥ .
b3: b4: 
Ǥ .
b3: 
ϥ쥳ɿ = 2
* b3        b4

00 01 12  00 00 00 00
34 56 78  11 11 11 11
9a bc de  22 22 22 22
ff de ad
11 22 33  11 22 33 44
44 55 66  55 66 77 88
77 88 99  99 00 11 22
00 11 22  33 44 55 66
33 44 55  77 88 99 00
66 77 88  11
99 00 11
* 
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 644 stdout.jp_euc
