cat > script <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
empimpt -TESTMODE $DATA1 $MSTESTDB 
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 755 script
cat > stdout <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
Table: ta
Table: tb
View: a4view
View: a3view
View: a2view
View: a1view
View: a0view
* . tab_name                          tab_refer

ta
tb
a4view                             'ref4' 2 'a2' 'b2'
                                  insert '' 'tb' 'b1'
                                  'b2'
a3view                             'ref4' 2 'a2' 'b2'
                                  insert '' 'tb' 'b1'
                                  'b2'
a2view                             'ref3' 2 'a2' 'b2'
                                  insert '' 'tb' 'b1'
                                  'b2'
a1view                             'ref2' 1 'a2' inser
                                  t '' 'tb' 'b2'
a0view                             'ref1' 1 'a2' inser
                                  t '' 'ta' 'a1'
* * . . . . tab_name                          attr_name

a0view                            a2
                                  b2
a1view                            a2
                                  b2
a2view                            a2
                                  b2
a3view                            a2
                                  b2
a4view                            a2
                                  b2
ta                                a1
                                  a2
tb                                b1
                                  b2
* 
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 644 stdout
cat > tag <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
Test import utility, multi level views with referential constraints
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 644 tag
