home *** CD-ROM | disk | FTP | other *** search
/ Simtel MSDOS - Coast to Coast / simteldosarchivecoasttocoast.iso / filedocs / simdif.doc < prev    next >
Text File  |  1994-03-07  |  2KB  |  40 lines

  1.  
  2. Date: Tue, 24 Apr 90 23:25:13 -0500
  3. From: afc@mace.cc.purdue.edu (Greg Flint)
  4. To:   w8sdz@wsmr-simtel20.army.mil (Keith Petersen)
  5. Re:   SIMDIF.FOR
  6.  
  7. SIMDIF.FOR reads an old and a new SIMIBM.IDX and creates several
  8. reports.  I tweaked my old Turbo PASCAL version and converted it to
  9. FORTRAN (since my mainframe PASCAL doesn't have "strings").  It could
  10. easily be converted to C, but I've got FORTRAN on more machines than I
  11. do C.
  12.  
  13. The "SIMDIF" program creates five reports (one per file):
  14.  
  15.     add -- list of additions to the new index file
  16.     chg -- list of changes (to such things as version, size, date
  17.            and description) between the old and new index files
  18.     del -- list of deletions from the new index file
  19.     ftp -- an "autoftp" reformating of the "add" report
  20.     lst -- a short summary of the run
  21.  
  22. Note that I've allowed for 3-digit version numbers (you've reached 96,
  23. I think) and 9,999,999 byte files.  If the format of the IDX file
  24. changes, only parameter statements in each routine would need to be
  25. changed -- no code would need to be modified.
  26.  
  27. [Well, almost no code....  If you change from "7" to some other
  28. character to indicate the ASCII file type, you'll have to alter the
  29. block data routine.  If you change from a 1-character flag, you'll
  30. need to attack the code.]
  31.  
  32. On some systems, the line "subroutine blckda" may need to be changed
  33. to "block data".  It appears that different FORTRANs want block data
  34. defined in different ways.
  35.  
  36. -------------------------------------------------------------------------------
  37. Greg Flint       Math G-169   (317) 494-1787   UUCP:  purdue!klaatu.cc!afc
  38.   Purdue Univ.      Purdue University        INTERNET:  afc@klaatu.cc.purdue.edu
  39.   Computing Ctr.  West Lafayette, IN 47907    BITNET:  flint@purccvm.bitnet
  40.