[Info-vax] Basic C program in OpenVMS

David Froble davef at tsoft-inc.com
Mon Feb 18 06:51:12 EST 2013


kevinparker124 at gmail.com wrote:
> That is fine...I have the code but don't know where to type-in 
> I tried it by doing following steps, please let me know if I am wrong:
> 
> $ EDIT/TPU HELLO.C
> 
> I am getting error like "could not find"

If you're creating a new file, then the editor is not going to find it. 
  Just go ahead and write the program and save it.  Then the file will 
exist.

You asked other questions:

You'll need the C compiler ..

$ CC HELLO.C will compile your program

$ LINK HELLO will create an executable

$ RUN HELLO will run your program

Unless your program uses some priviledged feature, you should not need 
any priviledges.



More information about the Info-vax mailing list