HP3000-L Archives

April 2004, Week 4

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:
John Pitman <[log in to unmask]>
Reply To:
John Pitman <[log in to unmask]>
Date:
Fri, 23 Apr 2004 08:36:49 +1000
Content-Type:
text/plain
Parts/Attachments:
text/plain (66 lines)
Just been back here myself after a long hiatus. Forgot lots of things.
This code works for me
  flags = 1;
         CREATE(child, 0, &pin,0, flags);
        if (ccode() <0)
           QUIT(99);
 ACTIVATE(pin, 2);
AS LONG as    child  containing program name is terminated with a BLANK!!!!
Without the blank terminator, error messages are definitely unhelpful.
 Defaulted entry point and parm to 0. Flags =1 and the 2 in Activate gives
suspend parent while child runs, and wake parent on child termination - may
not be what you require.   Code assumes the calls are declared as
intrinsics.

jp
----- Original Message -----
From: "Brian Donaldson" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Friday, April 23, 2004 12:03 AM
Subject: Re: [HP3000-L] Information on MPE intrisic "CREATE" Condition Codes


> I just looked at my Intrinsics manual.
>
> The "CREATE" intrinsic lists the condition code info --
>
> Less than zero says the formaldesignator or entryname does not exist.
>
> Formaldesignator is the name of the program to be created (MPE or HFS
> syntax). Entryname is the declared entry point (label) in the program
where
> execution is to begin when the process is activated.
>
> Hope this helps.
>
> Brian.
>
> On Wed, 21 Apr 2004 06:52:25 -0400, Satheesh Kumar <[log in to unmask]>
> wrote:
>
> >We are facing a problem while executing CREATE intrinsic.
> >
> >The CREATE intrinsic always returns a Condtion Code value less than ZERO.
> >We are getting the PIN value of the created process as -1234.
> >
> >Our question is why the Condition Code is always giving a value less than
> >zero even a process is created with a PIN value -1234.
> >
> >Normally if the procees is not created the PIN value should be ZERO.
> >
> >Here process is created but Condition Code is not equal to zero.
> >
> >Do we have to set up any special enviroment variables to make CREATE
> >intrinsic work ?
> >
> >Please help us in this issue.
> >
> >* 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 *

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2