*comdeck,errcom                                                         cwa
c
c *** Copyright ANSYS.  All Rights Reserved.
c *** ansys, inc.
c
      integer errcom_int
      parameter (errcom_int=28)
      integer   keyerr, numnot, numwrn, numerr, numfat, mxpcmd, maxmsg,
     x  errfil, lvlerr, nercmd, nertim, nomore, eropen, ikserr, kystat,
     x  mxr4r5, mshkey, syerro, opterr, flowrn, errPdsLoop, noreport, 
     x  pdserr, mxpcmdw, kystop, icloads, ifkey, espare(1)
      common / errcom / keyerr, numnot, numwrn, numerr, numfat, mxpcmd,
     x  maxmsg, errfil, lvlerr, nercmd, nertim, nomore, eropen, ikserr,
     x  kystat, mxr4r5, mshkey, syerro, opterr, flowrn, errPdsLoop, 
     x  noreport, pdserr, mxpcmdw, kystop, icloads, ifkey, espare
c
c            *** erinqr or erinfo key number= ..........................
c                                                                      |
c                                                                      \/
c
co keyerr - master error flag                                          (1)
co errfil - errors file unit number                                    (2)
co numnot - total number of notes displayed                            (3)
co numwrn - total number of warnings displayed                         (4)
co numerr - total number of errors displayed                           (5)
co numfat - total number of fatals displayed                           (6)
co maxmsg - maximum allowed number of displayed messages before abort  (7)
co lvlerr - used basicly in solution (from cnvr command.)              (8)
co           -1=do not set keyerr for notes/errors/warnings.
co           -2=same as -1 but do not display message either.
co mxpcmd - maximum number of messages allowed per command             (9)
co nercmd - number of messages displayed for any one command           (10)
co nertim - key as to how message cleared from u/i pop-up              (11)
co          (as per rsg/pft 5/1/92 - only for "info" calls
co           -1=message is timed before removal
co            0=message needs pick or keyboard before removal
co            1=message stays up untill replaced by another message
co nomore   display any more messages                                  (12)
co           0=display messages
co           1=display discontinue message and stop displaying
co eropen - 0=errors file is closed                                    (13)
co          1=errors file is opened
co ikserr - 0=if interactive do not set keyerr                         (14)
c         - 1=if interactive set keyerr (used by mesher and tessalation)
co kystat - flag to bypass keyopt tests in the elcxx routines          (15)
c           associated with status/panel info  inquiries.
c            0=do not bypass keyopt tests
c            1=perform all keyopt tests
c           also flag to bypass setting of _STATUS upon resume
co mxr4r5 - rev 5.1 obsolete :label branching                          (16)
c            0=ok
c            1=obsolete :label found (*go,:xxx,*if,....,:xxx)
c              (warning printed. do not issue any more.)
co mshkey - cpu intensive meshing etc. this will cause "nertim (11)"   (17)
c           to be set to -1 for "notes", 1 for "warnings",
c           and 0 for "errors". checking of this key is done in "anserr".
c            0=not meshing or cpu intensive
c            1=yes, meshing or cpu intensive
co syerro - systop error code. read by anserr if set.                  (18)
co opterr - error code for opt looping.                                (19)
c           0=no error during looping in main amsys
c           1=an error has occured during looping in main ansys
co flowrn - flag used by "floqa" as to list floqa.ans                  (20)
c           0=list "floqa.ans"
c           1="floqa.ans" has been listed. do not list again.
co errhpi - (not used) 
co errPdsLoop - PDS Looping error
co noreport- used in GUI for turning off errors due to strsub calls    (22)
c           0=process errors as usual
c           1=do NOT report errors
co pdserr - error code for pds looping.                                (23)
c           0=no error during looping in main amsys
c           1=an error has occured during looping in main ansys
co mxpcmdw- number of messages written to file.err for any one command (24)
c           0=write errors to file.err as usual
c           1=only write those errors displayed to file.err
co kystop - stopping ansys (not error -- CTRL-C for example)           (25)
c           0=not stopping
c           1=stopping
co icloads - key to forbid the iclist command from listing solution    (26)
c            data instead of the input data.
c           0=iclist is OK
c           1=do not permit iclist
co ifkey  - key to whether or not to abort when errors occur during /input
c           0 = do not abort (default)
c           1 = abort
co espare - spare integer variables
c
c  erinit, erinqr, erinfo are the routines that access this common
