Hi Steven,
Searching, unit 5 should be keyboard/standard input so I was expecting the
program to wait for a line at the terminal. If I work around the input by
hard coding some values so the the input part becomes:
CMS "borrowed" the FORTRAN compiler from MVS. You will need FILEDEF statements
to associate MVS DDNAMEs and FORTRAN unit numbers with files or devices,
for example (untested):
FILEDEF FT05F001 TERM
FILEDEF FT06F001 DISK OUTPUT FILE A
Now the output seems to be discarded. It isn't printed to the terminal,
isn't queued for punch or printer and isn't in a file that I can see.
Have a look around for a file called FILE FT06F001 A or something like that.
Interestingly the same issue with discarded output seems to happen with the
supplied hello fortran program.
Are they run from an EXEC which contains suitable FILEDEF statements?
Regards,
Peter Coghlan.