HP OpenVMS Systems

ask the wizard
Content starts here

UNIX Process Management API on OpenVMS?

» close window

The Question is:

I am currently involved in porting an application from unix to openvms.  In
 unix they are using a function setsid( )  to daemonize a process . We don't
 have this function as part of vms  decc rtls. I am using the compaq's decc 64a
 compiler version.
As per the man pages of setsid in unix, I feel this is not applicable for vms
 as we don't have the concept of process group leader /session group leader.
Could you please give your opinion about this. Do we have an implementation of
 this in vms ?

The Answer is :

  While the setsid and associated support is part of the DII COE work,
  the underlying constructs of session ids and process and group leaders
  are not particularly applicable to native OpenVMS process management.

answer written or last revised on ( 30-APR-2001 )

» close window