h41976
s 00000/00000/00042
d D 1.2 83/03/31 12:28:25 mmm 2 1
c 
e
s 00042/00000/00000
d D 1.1 83/03/15 21:35:31 tes 1 0
c date and time created 83/03/15 21:35:31 by tes
e
u
4
U
t
T
I 1
subroutine geclks
########################################################################
#                                                                      #
#          THIS MATERIAL IS CONFIDENTIAL AND IS FURNISHED UNDER        #
#          A WRITTEN LICENSE AGREEMENT.  IT MAY NOT BE USED,           #
#          COPIED OR DISCLOSED TO OTHERS EXCEPT IN ACCORDANCE          #
#          WITH THE TERMS OF THAT AGREEMENT.                           #
#                                                                      #
#          COPYRIGHT (C) 1982 GRAPHIC SOFTWARE SYSTEMS INC.            #
#          ALL RIGHTS RESERVED.                                        #
#                                                                      #
#     Function: Emergency close GKS                                    #
#                                                                      #
#     Input Parameters:                                                #
#            none                                                      #
#      Output Parameters:                                              #
#            none                                                      #
#                                                                      #
#     Routines Called:                                                 #
#            gzatt  - internal routine to call gzddop                  #
#            giostp - stop internal I/O                                #
#                                                                      #
########################################################################
integer idummy

include(`gkscom')

   call gzatt (CLOSExWORKSTATION, idummy, idummy)

   # Update for all open workstations
   # Deactivate all active workstations
   # Close all open workstations
   # Close GKS

   wrkact = 0
   wrkopn = 0
   wrkst  = INACTIVE
ifdef(`ERROR_ON',`
   call giostp
   ')
   return
end
E 1
