Update: the error only occurs, if I specify the ORIGIN parameter on the
LOAD command;
if I don't, the first object is loaded at hex 20000, and the GENMOD
works without problems.
But: because my command line mapping program (XRUNPARM) runs first and
then calls the
Pascal program, the Pascal program needs to have the ORIGIN 20580 ...
XRUNPARM is loaded at X'20000'.
And: when I specify 20580 as origin, I get errors like below,
maybe directly on the GENMOD
or later, when XRUNPARM tries to load the GENMODed Pascal program:
Ready;
xrunparm fibok
"FIBOK MODULE A1" REQUIRES 246K MORE STORAGE
Ready(00104);
???
Any suggestion is appreciated ...
Kind regards
Bernd
Am 11.07.2023 um 22:24 schrieb Bernd Oppolzer:
Hello all,
I know that this is maybe not the right list for asking questions on
the VM/CMS system,
but forgive me ... I am registered to many lists, but no VM list, and
today I have a problem
which could be a simple problem, so I would like to try it here.
I am trying to build my Pascal compiler on a z/VM machine which is new
to me.
It worked already on old VM/370 R6 machines and also on other flavors
of VM,
but I never did it on a recent z/VM.
To get the Pascal programs running, it is important to build modules
using GENMOD.
Because the Pascal programs on VM work much the same as the z/OS
versions,
and the mapping of the VM command line (instead of the z/OS JCL parm)
is done by
another small module which runs BEFORE the pascal program ... and this
module
then calls the Pascal program MODULE.
So I need GENMOD on my Pascal programs to work.
But:
when I do GENMOD on my Pascal programs on this particular machine,
it always complains about not enough storage.
Thats ridiculous, because there is plenty of virtual storage (512 M).
I can do the GENMOD on only small parts of the Pascal module, like this:
LOAD PASMONN PASLIBX PASUTILS PASSNAPC FIBOK ...
GENMOD FIBOK ( FROM $PASENT TO ERRMON
"FIBOK MODULE A1" REQUIRES 135K MORE STORAGE
Ready(00104);
LOAD PASMONN PASLIBX PASUTILS PASSNAPC FIBOK ...
GENMOD FIBOK ( FROM $PASENT TO $PASINT
"FIBOK MODULE A1" REQUIRES 131K MORE STORAGE
Ready(00104);
LOAD PASMONN PASLIBX PASUTILS PASSNAPC FIBOK ...
GENMOD FIBOK ( FROM $PASENT TO $PASMAIN
"FIBOK MODULE A1" REQUIRES 244K MORE STORAGE
Ready(00104);
... as you can see, the amount of storage required increases with the
size of
the module part that I want to be GENMODed.
BTW: if I do LOAD and then START, the Pascal program runs without
problems.
But then I have other problems, because I cannot pass the CMS command
line
as runtime parameters to the Pascal program (which works on other
versions of VM,
using the GENMODed variants of my Pascal programs).
It seems as if the GENMOD here has an own storage limit which is VERY
LOW,
and even small parts of the loaded Pascal program cannot be GENMODed.
What am I missing?
This is (AFAIK) zVM 7.2.
Thanks a lot, best regards
Bernd
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN