![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I am transfered some C code from a PC running Windows 95 to a Alpha Server Running OpenVMS v 7.1( not a fun task) by: 1) FTPing the file to a VAX VMS server running 5.5-2 2) Then copying the same file over to the Alpha Server via the copy command. When I look at the resulting file, the lines are run together and the VMS system displays the CR's and LF's as characters. Did I do something wrong when transfering them? I have read that line termination is <CR><LF> on both Windows and VMS, so I don't un derstand what's going on.(I admit my newbieness to this system) The Answer is : The OpenVMS file attributes are apparently incorrect -- you may be able to reset the attributes using the OpenVMS SET FILE/ATTRIBUTES command. There are a variety of different options for the /ATTRIBUTES command, and some experimentation should yeild the correct combination -- the necessary command could possibly be SET FILE/ATTRIBUTES=RFM:STMLF. That said, make sure you save the file as a fixed-length MS-DOS text file when transfering it, and use text-format. The OpenVMS Wizard would also acquire and install TCP/IP Services on the AlphaServer system -- most recent OpenVMS systems will have a license (NAS) for various products including TCP/IP Services -- and also look at the use of NFS, Advanced Server (PATHWORKS), or SAMBA. Also take a look at the Enterprise Toolkit for Visual Development environment (see http://www.openvms.digital.com/commercial/et/et_index.html), and at the Microsoft COM support available for OpenVMS Alpha V7.2.
|