HP3000-L Archives

March 1997, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Jerry Fochtman <[log in to unmask]>
Reply To:
Jerry Fochtman <[log in to unmask]>
Date:
Mon, 17 Mar 1997 08:43:40 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (27 lines)
At 05:34 PM 3/11/97 GMT, MTX MISMgr wrote:
>Hi,  I'm new to the group and so far, enjoy the postings.  I've been
>around 3000's
>since 1982 and the love affair continues......I hope someone can help me.
>   Problem,   Send messages to f-keys while a user is in 'setmsg off' mode
>     it can be done, EASYTIME does it.   I wrangled some spl code from HP
>     off the record,   I dont have spl, am trying to get the calls to work
>in either
>     basic or cobol, so far not alot of sucess, BUT! still working on it
>when time           allows.   Well enough said...  Heres the call snippet
> formsg(
>inbuffer,-1,0,-1,0,0,0,0,0,outbuffer,outbuffer_len,outlen,dest_ldev,contro
>l)
>
>In BASIC, i get a program error #17 :STT UNCALLABLE,  i'v tried PM and
>some other things as well..no change, one more item, the obvious answer to
>the problem is using WARN, but it strips out control characters and other
>necessary evils.

The error you reported indicates that the calling program is attempting to
call a procedure which requires the caller to be in PM and apparently it is
not. As such, the target procedure is 'uncallable'. Are you indeed calling
GETPRIVMODE before FORMMSG (GETUSERMODE after!) and checking the status
return to verify success?

/jf

ATOM RSS1 RSS2