Errors compiling dbcopy.ec
Posted in 1998
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
I downloaded a dbcopy utility from the IIUG repository . My problem is when I try compiling it with esql I get the following error messages. I am on HPUX10.2 , 7.23 UC1X8. ---------------------------------------------------------------------- ------ Utility: dbcopy.ec Synopsis: Select data from one database/table and insert into another. Uses separate connections for FETCHing and INSERTing so the source and target can be local, remote, and even have different logging modes. Author(s): Art S. Kagel Version(s) supported: 7.2x File(s): dbcopy.ec Comments: This is fast and low overhead. I have been able to run over 40 copies on a DG Aviion 10000 with production programs running concurrently and still gotten incremental increases in throughput from the Nth copy. ---------------------------------------------------------------------- ------ When I perform an -> esql dbcopy.ec I get: []:/opt/informix/mark/utilities> esql dbcopy.ec cc: "dbcopy.ec", line 54: error 1705: Function prototypes are an ANSI feature. cc: "dbcopy.ec", line 55: error 1705: Function prototypes are an ANSI feature. cc: "dbcopy.ec", line 56: error 1705: Function prototypes are an ANSI feature. cc: "dbcopy.ec", line 57: error 1705: Function prototypes are an ANSI feature. cc: "dbcopy.ec", line 58: error 1705: Function prototypes are an ANSI feature. cc: "dbcopy.ec", line 59: error 1705: Function prototypes are an ANSI feature. cc: "dbcopy.ec", line 60: error 1705: Function prototypes are an ANSI feature. cc: "dbcopy.ec", line 86: error 1705: Function prototypes are an ANSI feature. cc: "dbcopy.ec", line 326: error 1000: Unexpected symbol: ")". cc: error 2017: Cannot recover from earlier errors, terminating. Any suggestions?