HP OpenVMS Systemsask the wizard |
The Question is: Hi, 1-I am porting a Fortran Software from a UNIX platform into VMS. On UNIX I use : mkdirs = 'mkdir 3D 3D/X ..' istatus = system (mkdirs) what will be the equivalent command for OpenVMS. 2- I am looking for a smaple Makefile for VMS, the one I am using on unix does not seem to work. Thank You, The Answer is :
1: Part of the question is clear, which is to create a subdirectory tree
[.3D.X]. The OpenVMS equivalent is:
include '(LIB$ROUTINES)'
...
mkdirs = '[.3D.X]'
istatus = LIB$CREATE_DIR (mkdirs)
The Wizard does not understand the meaning of the presence of the final
'..' in the mkdir command. When tested on a DIGITAL UNIX system, this
syntax returns an error. The syntax would imply the intention to
create the next upper-level directory, a directory that should already
exist.
2: As for examples of makefiles, please see the OpenVMS Freeware CD-ROM
and also visit the other resources listed in the OpenVMS Frequently Asked
Questions (FAQ). Also see the MMS manuals in the DECset documentation for
specific information on the MMS product, and for various examples.
|