Hello,
I copied the source code from the mail and tried it in my Hercules VM
environment, and it worked without problems; the expected results 5, 6 and 11
are written to SYSPRINT.
Ready; T=0.01/0.02 22:27:27
filedef sysprint term
Ready; T=0.01/0.01 22:27:34
driver
5 6 11
Ready; T=0.01/0.03 22:27:36
There were only some warnings when I compiled the subprogram (about not
specifying OPTIONS (MAIN)), and when linking the two TEXT files together, I got:
load driver arith (clear
DUPLICATE IDENTIFIER 'IHENTRY'.
Ready(00004); T=0.01/0.04 22:28:51
but the generated module worked anyway.
Kind regards
Bernd
Am 21.03.2013 19:50, schrieb D.J.:
>
>
> OK, the first order of business then is to discover what went wrong with
> the compile of ARITH file. What does the console log look like?
>
> DJ
>
> On 03/21/2013 12:42 PM, G.M. wrote:
> >
> >
> > --- In H390-VM@yahoogroups.com, G.M. wrote:
> >>
> >>
> >> Good observation!
> >>
> >> I only have one txt file: Driver TXT
> >>
> >> Gee! Why was one produced for Driver and none for Arith?
> >>
> >> --- In H390-VM@yahoogroups.com, D.J. wrote:
> >>>
> >>> Hello.
> >>>
> >>> The error being reported is that the LOAD command can not resolve the
> >>> external reference to the ARITH routine. After the compiles, you should
> >>> have two TEXT files on your A disk: DRIVER TEXT and ARITH TEXT; are thy
> >>> both there?
> >>>
> >
> > I meant Driver TEXT; not TXT
> >
> > The compiler didn't even produced a LISTING file for Arith
> >
> >
>
> --
> D.J.
|