cat > script <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
: ' The standard input is not used on VMS and DOS, therefore the test must be '
: ' run as follows - '
: ' empimpt -TESTMODE -ri $DATA1 $MSTESTDB "select table" '

empimpt -TESTMODE -ri - $MSTESTDB "select table" < $DATA1
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 755 script
cat > stdout <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
Table: select table
* . . tab_name                          tab_index             tab_comment           tab_lock

select table                                            a test of complex na  t
                                                        mes and bulk
* . . . . tab_name                          attr_name                         attr_dtname                       attr_range            attr_comment

select table                      into                              integer
                                  attr                              character
                                  table                             bulk
*   into  attr   table

     5  five   01 23 04
     5  five   9a bc de
* 
*** Error: table 'view' does not exist
* 
*** Error: table 'mbuilder_application' does not exist
* 
*** Error: table 'mbuilder_compile' does not exist
* 
*** Error: table 'mbuilder_field' does not exist
* 
*** Error: table 'mbuilder_form' does not exist
* 
*** Error: table 'mbuilder_key' does not exist
* 
*** Error: table 'mbuilder_script' does not exist
* 
*** Error: table 'mbuilder_window' does not exist
* 
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 644 stdout
cat > tag <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
Test import utility, import single table, no range, no indexes
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 644 tag
cat > stdout.jp_euc <<'+-+-+-+-+-END-OF-FILE-+-+-+-+-+'
Table: select table
* . . tab_name                          tab_index             tab_comment           tab_lock

select table                                            a test of complex na  t
                                                        mes and bulk
* . . . . tab_name                          attr_name                         attr_dtname                       attr_range            attr_comment

select table                      into                              integer
                                  attr                              character
                                  table                             bulk
*   into  attr   table

     5  five   01 23 04
     5  five   9a bc de
* 
*** Error: ơ֥ 'view' ¸ߤޤ
* 
*** Error: ơ֥ 'mbuilder_application' ¸ߤޤ
* 
*** Error: ơ֥ 'mbuilder_compile' ¸ߤޤ
* 
*** Error: ơ֥ 'mbuilder_field' ¸ߤޤ
* 
*** Error: ơ֥ 'mbuilder_form' ¸ߤޤ
* 
*** Error: ơ֥ 'mbuilder_key' ¸ߤޤ
* 
*** Error: ơ֥ 'mbuilder_script' ¸ߤޤ
* 
*** Error: ơ֥ 'mbuilder_window' ¸ߤޤ
* 
+-+-+-+-+-END-OF-FILE-+-+-+-+-+
chmod 644 stdout.jp_euc
