microterf
asked on
How do I compile a .bas program in OpenVMS
Hi everyone,
Recently our director retired, and he was the only one that really knew anything about our VMS system, we are slowly migrating everything off of it, but I have an issue right now.
We have a program that he had written in basic that FTPs a couple files over and makes necessary changes to them. The problem is that the program used an old IP address in there for the server it is getting the files from. I can edit the source code to the .bas file, but I cannot figure out how to compile it. I tried $BASIC FILENAME
but I get an error for the line "%INCLUDE "MVPMAP:MVP_EXTRACT_MAP.BA S"
%BASIC-E-ERROPEFIL, error opening file MVPMAP:MVP_EXTRACT_MAP.BAS
-BASIC-F-DEV, error in device name or inappropriate device type for operation
at line number 21 in file ALLEN0$DKD100:[MVP_REAL.BA S]MVP_EXTR ACT_NEWIP. BAS;1
Recently our director retired, and he was the only one that really knew anything about our VMS system, we are slowly migrating everything off of it, but I have an issue right now.
We have a program that he had written in basic that FTPs a couple files over and makes necessary changes to them. The problem is that the program used an old IP address in there for the server it is getting the files from. I can edit the source code to the .bas file, but I cannot figure out how to compile it. I tried $BASIC FILENAME
but I get an error for the line "%INCLUDE "MVPMAP:MVP_EXTRACT_MAP.BA
%BASIC-E-ERROPEFIL, error opening file MVPMAP:MVP_EXTRACT_MAP.BAS
-BASIC-F-DEV, error in device name or inappropriate device type for operation
at line number 21 in file ALLEN0$DKD100:[MVP_REAL.BA
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
$ DEFINE MVPMAP <directory>
The good director may also have placed all the relevant compile and link commands in a DCL script. You can try a
$ SEARCH DKD100:[MVP_REAL...]*.COM BASIC
to see if there is an appropriate build script that includes any definitions you require.
Good luck!