From 74b69b9413621dbeec4b08987ce95334b38eb61d Mon Sep 17 00:00:00 2001 From: Oliver Lehmann Date: Tue, 31 Oct 1989 10:11:03 +0000 Subject: [PATCH] ING_DB --- WEGA/contrib/ingres/dbs/demo/bank/relations.x | 52 +++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 WEGA/contrib/ingres/dbs/demo/bank/relations.x diff --git a/WEGA/contrib/ingres/dbs/demo/bank/relations.x b/WEGA/contrib/ingres/dbs/demo/bank/relations.x new file mode 100644 index 0000000..e5bf6ee --- /dev/null +++ b/WEGA/contrib/ingres/dbs/demo/bank/relations.x @@ -0,0 +1,52 @@ +## import "menue.x" + +short Batch; +short Mahnung; + +amx(argc, argv) +int argc; +char *argv[]; +{ + char stdbuf[BUFSIZ]; + + Batch = atoi(argv[1]); + setbuf(stdout, stdbuf); + relopen(); + if (Batch) + for ( ; ; ) + new_buchung(); + else + { + off_cursor(); + for ( ; ; ) + menue(); + } +} + + +relopen() +{ +## open vorname +## open name +## open ort +## open str +## open bank +## open kunde +## open konto +## open grund +## open buchung +} + + +relclose() +{ +## close vorname +## close name +## close ort +## close str +## close bank +## close kunde +## close konto +## close grund +## close buchung +}