Whichcomp

Set Whichcomp keyword value

(Initially: COBOL, FORTRAN 66, Pascal V, IN Robelle)

When you use :Compile to compile your program, Qedit often has a choice of compatibility mode (CM) compilers. Set Whichcomp selects which compiler programs to use as the default for each language, as well as where to look for it. The syntax is as follows:

Set WHichcomp [ options ]

Cobol [ 68 | 74 | 85 ] I, II or II,coboliix default is none
Fortran 66 | 77 FORTRAN or FTN default is 66
In Sys | Robelle Pub.Sys or Q.Robelle default is in Robelle
Pascal V | R Pascal/V or Pascal/Robelle default is Pascal V

COBOL. By default, the :COBOL command runs the compiler program named COBOL. This may reside in Q.Robelle or Pub.Sys (see below). The compiler named “COBOL” may contain any version of COBOL, but is usually COBOL-74 on MPE V and native-mode COBOL on MPE/iX. If you want to run some other program file when you do :Cobol or :Compile, Set Which COBOL will select either COBOLI (68), COBOLII (74), or COBOLII,COBOLIIX (85). Remember, you can always use the :COBOLI and :COBOLII commands to invoke those two specific compiler programs.

FORTRAN. By default, :FORTRAN runs the program named FORTRAN, which is usually FORTRAN 66. Set Which FORTRAN 77 causes the :FORTRAN command to invoke the compiler program named FTN instead. If you need access to both compilers, don’t use Set Which, but use :FTN and :FORTRAN instead.

In Sys|Robelle. By default, Qedit looks in the Q.Robelle group for copies of the compatibility-mode MPE compilers which have been “qedified” to read Qedit workfiles. If a compiler is not found there, Qedit switches to Pub.Sys. You can use Set Which In Sys or Set Which In Robelle to force where Qedit will look first on the next compile. If it doesn’t find the compiler where you say it is, it will reverse the setting of the Sys/Robelle flag, so that next time it has a better chance of finding it.

Pascal. By default, the Qedit icon razz Whichcomp ascal command runs the HP Pascal V compiler. An alternative is Pascal/Robelle (in the Greer account), selected via Set Which Pascal R.

Whichcomp