home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / PROG / MISC / TIDY621.ZIP / CONVERT.CMS next >
Encoding:
Text File  |  1989-03-01  |  1.7 KB  |  46 lines

  1.  
  2.                               IBM CMS Conversion Notes
  3.  
  4.          1.  In the main program (TIDY), delete the call to subroutine
  5.              PCTIDY.  Subroutines PCTIDY, OPFIL, and DOSDEV can be deleted.
  6.  
  7.          2.  Convert function KUPPER to EBCDIC by commenting out the ASCII
  8.              parameters and activating the EBCDIC parameters.
  9.  
  10.          3.  In the main program (TIDY), change the value to which KTAB
  11.              is set from 9 to 5 so that it is correct for EBCDIC.
  12.  
  13.          4.  The INCLUDE files must be stored in a MACLIB for the FORTVS
  14.              compiler to process them.  I suggest making the MS-DOS file
  15.              TIDY.INC into the member COMMON in a MACLIB, and UNITS.INC
  16.              into the member UNITS.  Assuming that TIDY.INC was uploaded
  17.              as TIDY INC A, and UNITS.INC as UNITS INC A, these CMS
  18.              commands will generate a MACLIB named TIDY with these members:
  19.  
  20.              RENAME TIDY INC A COMMON COPY A
  21.              RENAME UNITS INC A UNITS COPY A
  22.              MACLIB GEN TIDY COMMON UNITS
  23.  
  24.          5.  The form of INCLUDE directives under VS-FORTRAN is different
  25.              from IBM Professional Fortran, so they must be edited.  Using
  26.              XEDIT, change then:
  27.  
  28.              C/'TIDY.INC'/(COMMON)/ * *
  29.              C/'UNITS.INC'/(UNITS)/ * *
  30.  
  31.          6.  Compile TIDY:
  32.  
  33.              FILEDEF SYSLIB DISK TIDY MACLIB A (PERM
  34.              FORTVS TIDY (NOPRINT
  35.  
  36.          7.  Generate a module:
  37.  
  38.              LOAD TIDY (CLEAR
  39.              GENMOD TIDY MODULE A
  40.  
  41.          A sample EXEC is in the file TIDYEXEC.CMS
  42.  
  43.          A file suitable for use with the CMS HELP system is TIDYHELP.CMS
  44.          This can be renamed to TIDY HELPCMS  for use.
  45.  
  46.