HP OpenVMS Systems

ask the wizard
Content starts here

lib$spawn and RUN/DETACHED process?

» close window

The Question is:

I use in c programm function lib$spawn for execute com file with ftp
 instruction. When I run programm so
       run progr_name
it's work correctly.
  When I run program as process
  run/proc=progr_name/output=err.txt progr_name
it's work, but com-file not execute and no error is out. What I do wrong ? I
 very need in your help.
  Thank you .

The Answer is :

  Please search the OpenVMS FAQ for the string lib$spawn.  (The
  text-format FAQ is easiest to search.)  The usual cause of
  problems such as the one reported are included in the FAQ.
  Typically, process quota settngs, or the lack of a CLI.
  Use of sys$sndjbc can be prefered over use of lib$spawn, too.
  Examples of calling sys$sndjbc are available in the OpenVMS
  manuals, in AskQ (see the FAQ), and in the support databases.
  The OpenVMS Wizard will assume you are using the COPY/FTP
  command, and not the FTP command interface -- the former is
  easier to use, and permits DCL symbol substitution, among
  other benefits.

answer written or last revised on ( 16-MAR-2004 )

» close window