Trailing-Edge - PDP-10 Archives - BB-BT99U-BB_1990 - 10,7/cref/cref.hlp
There are 47 other files named cref.hlp in the archive. Click here to see a list.
CREF command


     The CREF command runs the CREF program.  If you have created  any
     files  to  be  processed with CREF (using the /CREF switch with a
     COMPILE, LOAD, DEBUG, or EXECUTE command),  CREF  processes  them
     and  prints  them  on  the line printer.  The file containing the
     names of these CREF files is then deleted so that subsequent CREF
     commands will not list them again.

     When the logical device name LPT:  is assigned to a device  other
     than  the  line printer, the CREF files are stored on that device
     with the same file name and the extension .LST.   (See  the  CREF
     manual in the TOPS-10 Software Notebooks for more information.)


     CREF file-spec

     Where:    file-spec is a  valid  file  specification.   For  more
               information  on  file  specification, see the help file
               FISPEC.  When you supply a file  specification  in  the
               command  line, CREF produces a cross-referenced listing
               file for the specified file.  If you  do  not  give  an
               argument  to  the command, CREF uses the argument saved
               from a previous COMPILE-class command.  If there is  no
               stored argument, CREF prompts with an asterisk (*).

     You can use the following switches with the CREF command.

     Switch                  Function

     /A        Advances magtape by one file (may be repeated).

     /B        Backspaces magtape by one file (may be repeated).

     /C        Cancels SWITCH.INI switch defaulting.

     /D        Permits default switches as for SWITCH.INI.

     /H        Types this text.

     /K        Kills user-defined symbol table listing.

     /M        Suppresses user macro's, OPDEF's, symbol table.

     /O        Lists the opcodes.

     /P        Preserves (does not delete) input files.

     /R        Restarts listing and prompts for line number.

     /S        Suppresses  program  listing  and  lists  only   symbol

     /W        Rewinds tape.

     /Z        Indicates zero DECtape directory.


     Leaves your terminal at monitor level.

     Destroys your core image.

     Requires LOGIN.


     1.  Compile the files contained in the command  file  PROMAC  and
         produce CREF listing files on the disk.

         FORTRAN:  INPUT1
         FORTRAN:  INPUT2

         Process and list the cross-referenced listing files  produced
         by  the COMPILE command.  The argument is the stored argument
         that was used in the COMPILE command.

         .SET SPOOL LPT<RET>

     2.  Compile and load the files  contained  in  the  command  file
         CONALL.   Produce  a  loader  map with the file name NAME and
         CREF files on disk.

         MACRO:  HIGH
         MACRO:  SHARE

         Assign the logical name LPT to magnetic tape unit  1.   Store
         the CREF files on MTA1: to be output at a later time.

         .ASSIGN MTA1 LPT<RET>
         MTA261 ASSIGNED

         CREF:  HIGH
         CREF:  SHARE