Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

Porting from VMS

sabalan
New Contributor I
900 Views
I remember that something like this question was answered at the old message board. I was waiting since several months ago for the new software hoping that it would make me able to run better search in old messages. But old messages are gone now and I don't even know which thread could include the answer I was looking for. It seems therefor that we have to ask and answer all questions again:

While porting Fortran programs from VAX/VMS to CVF 6.1a, what can I do to convert system commands like SYS$TRNLMN, SYS$INPUT and SYS$OUTPUT or others like LIB$ERASE_PAGE, LIB$SPAWN and LIB$FIND_FILE? Is it enough to build with enabled VMS compatibility and USE compatibility library, or do I need some third party software?

Regards,
Sabalan.
0 Kudos
1 Reply
Steven_L_Intel1
Employee
900 Views
You'll need a third-party library from Sector 7 or Accelr8 to use those calls as-is. Otherwise, you'll have to figure out how to do what you want in the Windows environment.

SYS$TRNLNM can be GETENVQQ, SYS$INPUT and SYS$OUTPUT can be CON:, LIB$FINDFILE is GETFILEINFOQQ, LIB$SPAWN is RUNQQ. LIB$ERASE_PAGE is trickier - it suggests a page-oriented model of the screen. You might want to look at the SCREENIO library one of our engineers put together.

Steve
0 Kudos
Reply