🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: bit.listserv.vm-util
Article #3928

Re: Question about NUCXLOADing a program

#3928
From: Matthew T. Kromer
Date: Thu, 23 Jan 1992 20:21
18 lines
1743 bytes
On Thu, 23 Jan 1992 13:39:02 EST Scott (nmi) Mattes said:
>  I am writing a REXX function to search stems.  In an effort to speed
>it up and have it work properly I want to NUCXLOAD it (eventually it
>will be self loading, for now I am just doing the load by hand).  When I
>run my test case, where the match is the 500,000 occurance in the stem,
>the program works correctly and gives the expected results.  After
>NUCXLOAD, both with or without the SYSTEM option, the program ends early
>after the second stem item is searched.
>  Why should this program work differently when NUCXLOADed?  In both
>cases it is only called once.
>

Hmm... EXECCOMM trouble...  Looking through the manual, it appears you
need to keep doing fetch next calls until SHVRET has SHVLVAR set--
It would appear EXECCOMM keeps it's pointer privately and it should be
exhausted before starting over.  I don't think a regular fetch call
will reset this pointer.  Try doing this and see if the problem goes
away.
Technical Details
Message-ID: <VM-UTIL%92012315402040@UBVM.CC.BUFFALO.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!paladin.american.edu!auvm!MTUS5.CTS.MTU.EDU!MATT

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10ab65,7d1fea8214c054da
X-Google-Attributes: gid10ab65,public
X-Google-ArrivalTime: 1992-01-23 13:02:58 PST
Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!paladin.american.edu!auvm!MTUS5.CTS.MTU.EDU!MATT
Message-ID: <VM-UTIL%92012315402040@UBVM.CC.BUFFALO.EDU>
Newsgroups: bit.listserv.vm-util
Date:         Thu, 23 Jan 1992 15:21:28 EST
Sender:       VM Utilities Discussion List <VM-UTIL@OHSTVMA.BITNET>
From:         "Matthew T. Kromer" <MATT@MTUS5.CTS.MTU.EDU>
Subject:      Re: Question about NUCXLOADing a program
In-Reply-To:  Message of Thu,
              23 Jan 1992 13:39:02 EST from <COTRSSM@SEA04VM.NAVSEA.NAVY.MIL>