*comdeck,FileSplitCom         user                                       sam
c sid 60.1 copy of FileSplitCom.inc last changed by upd111 on 2006/10/10 23:22:34

c *** ansys(r) copyright(c) 2009
c *** ansys, inc.

c  *********  common for file splitting points, etc.  **********
c  called by: sysuxc  sysuxd  sysuxi  sysuxr sysuxw
c             bioset8 biohed8 mainan  FileSplit

c Note:  syspar.inc must come before this common
c Note:  SplitMask is dimensioned to SPLITBANKS=3 so that up to file 
c        unit 95 can be split
c Note:  We need units 60 and 61 for LS-DYNA

      integer     NUMSPLITFILES,    SPLITBANKS
      parameter  (NUMSPLITFILES=99, SPLITBANKS=3)

      integer    SplitMask(SPLITBANKS),    SplitMax(NUMSPLITFILES),
     x           SplitCurr(NUMSPLITFILES), SplitFile(NUMSPLITFILES),
     x           SplitKeyRW(NUMSPLITFILES)
      common /FileSplitCom/    
     x           SplitMask,                SplitMax,
     x           SplitCurr,                SplitFile,
     x           SplitKeyRW

      character*(LENFNM)       SplitName(NUMSPLITFILES)
      common /FileSplitChar/   SplitName 

co  SplitMask    bit set if file is splittable

co  SplitMax     maximum size (in integer*4 words/1m) 512  is 2 gb file limit
c                set to anscmi(CFG_FILESPLT) in config.F and confgc.F
c                (zero if for no splitting)  (verybig=1048576 is maximum)

co  SplitName    File name for the file

co  SplitFile    Max # of split files written per unit

co  SplitKeyRW   Read/Write permissions key
