HP OpenVMS Systems

ask the wizard
Content starts here

DCL command buffer limits?

» close window

The Question is:

I have a C program that make a system call
and the command line argument is a string that could be greater than 256
I have this program running on a Unix OS, and it was OK.
Unfortunately, when I run this program in VMS, it fails when the argument
 string is larger than 256.
I believe that this is a VAX/VMS limitation.
Is taht true, is there any workarround for this limitation?
Thank you
Laura Paiva

The Answer is :

  The use of C is not relevent here.
  DCL has specific limits on symbols and parameters -- please see the
  DCL documentation for details.
  Any of a wide variety of mechanisms -- probably most commonly files
  and mailboxes, of course -- can be used to pass input to programs.

answer written or last revised on ( 22-AUG-2000 )

» close window