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:
Stan Sieler <[log in to unmask]>
Reply To:
Stan Sieler <[log in to unmask]>
Date:
Thu, 22 Apr 2004 18:54:28 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (50 lines)
Re:

> We are facing a problem while executing CREATE intrinsic.

First, you want to use CREATEPROCESS, not CREATE.
IIRC, there are some cases where CREATE will abort your process,
but CREATEPROCESS won't.

Also, CREATEPROCESS (a) provides more capability/control,
and (b) provides better error information.

> The CREATE intrinsic always returns a Condtion Code value less than ZERO.
> We are getting the PIN value of the created process as -1234.

ccL means "failed to create"

However, when that happens, CREATE should return a value of 0
in the pin parameter.

> Do we have to set up any special enviroment variables to make CREATE
> intrinsic work ?

nope.


Suggestion:

   1) post the code around the CREATE call, including the variable
      declaration for the parameters you pass to CREATE.

   2) :run <programname> ; DEBUG

      = CREATE

      c

The second step will tell us if you're calling the real CREATE
intrinsic or a "cover function".  If it's the real intrinsic,
you'll see something like "SYS $a.22cb18" for the "= CREATE".
(Note: uppercase matters here)

Stan
--
Stan Sieler
[log in to unmask]
www.allegro.com/sieler/wanted/index.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