🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: vmsnet.misc
Article #305

How to run a C program taking command line arguments on VMS

#305
From: Lynn Mei
Date: Wed, 28 Feb 1996 15:59
23 lines
857 bytes
Could someone tell me how to run a C program which takes command line 
arguments on VAX/VMS? I have checked the FAQ about openVMS and tried the 
instructions. But I couldn't get it work. I don't have an openVMS mannual.  
Please help me!

My program is like:

/* myprog.c */
  
  main(argn, **argv)
  {
  
     ...

  }

If run on Unix or DOS, I could type something like

  myprog -lu abcd

How to run it on VMS?

I'd appreciate your help!
Technical Details
Message-ID: <4h1u5d$s5c@news.fsu.edu>
Path: arc1-ca.pugleaf.net!news.fsu.edu!usenet

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!news.fsu.edu!usenet
From: meil@firnvx.firn.edu (Lynn Mei)
Newsgroups: vmsnet.misc,comp.lang.c
Subject: How to run a C program taking command line arguments on VMS
Date: 28 Feb 1996 15:59:41 GMT
Organization: FIRN
Message-ID: <4h1u5d$s5c@news.fsu.edu>
NNTP-Posting-Host: lynn.firn.edu
Mime-Version: 1.0
Content-Type: Text/Plain; charset=ISO-8859-1
X-Newsreader: WinVN 0.99.5