That was a good idea also, but it did not work. It did change the HPPATH
var in the session, but the "COMMAND" ( and "HPCICOMMAND") intrinsics
ignored the HPPATH variable.
Thanks,
Gordon
----- Original Message -----
From: <[log in to unmask]>
To: "Gordon Montgomery" <[log in to unmask]>; <[log in to unmask]>
Sent: Wednesday, April 11, 2007 12:42 PM
Subject: Re: [HP3000-L] Calling Intrinsic Command from Cobol
> If you issue a SETVAR HPPATH from within the Cobol menuy programs you can make sure the HPPAth is exactly what you want.
>
> -------------- Original message --------------
> From: Gordon Montgomery <[log in to unmask]>
>
> > Is there a way to specify the HPPath variable to be used when you use Call
> > Intrinsic "COMMAND" from within cobol? When the session
> > logs on, a logon UDC is run that sets the HPPATH variable. We use menu programs
> > to only offer the users access to the few real
> > programs they need, and call the programs with the intrinsic call. The call
> > fails, but if you type the name at the command prompt,
> > it works. I know that we can specify the full path in the call, but we were
> > hoping for a quick and easy solution rather than having
> > to find and replace all the calls with the full path. Now that I see this in
> > writing, I can see that either way we will have to
> > recompile all the menu programs, but I will still ask the question just for
> > kicks.
> >
> > Thanks,
> >
> > Gordon Montgomery
> > Living Scriptures, Inc.
> > (801) 627-2000
> > [log in to unmask]
> >
> > * To join/leave the list, search archives, change list settings, *
> > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|