ACEAPI SQL Functions

  SAGQACOM
  SAGQCLOS
  SAGQCONN
  SAGQDEAL
  SAGQDECH
  SAGQDECL
  SAGQDESC
  SAGQDISC
  SAGQEXEC
  SAGQEXIM
  SAGQFETC
  SAGQGERR
  SAGQGRCI
  SAGQOPEN
  SAGQPREP
  SAGQSETA
  SAGQSETC
  SAGQSETS
  SAGQSETT

Each SAGQ* SQL function requires an anchor. This must be declared as a 4 byte integer global variable.
Before calling the first function, anchor must be initialized to zero, i.e. int anchor = 0;.