Page 1 of 1

Additional compilers used on MVS Turnkey

PostPosted: Wed 04 Nov 2015, 05:08
by Tim001
I tried out the FORTRAN G and H compilers with small test programs, and they worked fine.

Note that for FORTRAN H I had to specify a region on the JOB card, since otherwise the binder aborts with an insufficient memory message. I don’t know what the default region size for jobs is on FanDeZhi, but I specified REGION=2048K and that worked O.K.

From an old FORTRAN programmer who used these compilers on a real S360/65 with MVT 40+ years ago, thanks for setting them up!

Tim

Re: Additional compilers used on MVS Turnkey

PostPosted: Wed 04 Nov 2015, 08:29
by prino
Tim001 wrote:I tried out the FORTRAN G and H compilers with small test programs, and they worked fine.

That's flipping impressive for software that's 40(ish) years old!

Tim001 wrote:Note that for FORTRAN H I had to specify a region on the JOB card, since otherwise the binder aborts with an insufficient memory message. I don’t know what the default region size for jobs is on FanDeZhi, but I specified REGION=2048K and that worked O.K.

From an old FORTRAN programmer who used these compilers on a real S360/65 with MVT 40+ years ago, thanks for setting them up!


I'll go through the JCL, and will try to bring it more up-to-date, have already done so for some of them (IF ... THEN ... ENDIF logic), and in my EXEC library I have EJCLFMT, an edit macro to completely clean up JCL, feel free to give it a try (copy it to SYSFAN.USER.REXXLIB, you have RACF UPDATE access to this PDS) on personal copies of the procedures, standard invocation is just EJCLFMT while in edit, but invoke it as "EJCLFMT NOPROC" if the results are not good, it currently has some no-FanDeZhi hard-coded things in it that I need to change.

Off to Germany for a few days, back on Sunday, and probably little or no internet access during these days.

Re: Additional compilers used on MVS Turnkey

PostPosted: Wed 04 Nov 2015, 08:54
by Tim001
I've only very recently become aware of IF THEN ELSE etc for return code testing. I'm more used to ..,COND=(4,LT) etc. I'll have to consult an up to date JCL manual!!

Re: Additional compilers used on MVS Turnkey

PostPosted: Wed 04 Nov 2015, 09:01
by prino
Tim001 wrote:I've only very recently become aware of IF THEN ELSE etc for return code testing. I'm more used to ..,COND=(4,LT) etc. I'll have to consult an up to date JCL manual!!

IF-THEN-ELSE-ENDIF is much easier to understand, but has one huge disadvantage, it cannot be overridden, although EJCLFMT is capable of parametrizing returncodes. Look at 'prino.rahp.cntl(@zos23)' for a fairly good example of what can be done with parametrized IF statements, and you can also see the SET var=value in action.

Re: Additional compilers used on MVS Turnkey

PostPosted: Sun 08 Nov 2015, 09:15
by Tim001
Tim001 wrote:Note that for FORTRAN H I had to specify a region on the JOB card, since otherwise the binder aborts with an insufficient memory message. I don’t know what the default region size for jobs is on FanDeZhi, but I specified REGION=2048K and that worked O.K.


It is no longer necessary to include a REGION on the JOB card for FORTRAN H. I hadn't noticed that there were REGION parameters with small values on the EXEC cards for the IEWL steps in 'SYSC.PROCLIB', but Robert did and he has removed them.

Tim