- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- How can I compile my fortran program in vms 7.3-2?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 01:35 AM
тАО06-13-2008 01:35 AM
I'm not very familiar with VMS, I've been supporting some jobs written in DCL & Fortan running on an Alpha VMS server. I know some basic VMS commands and several things about VMS operating system. Due to the job requirements, sometimes I have to modify the jobs and rebuild the fortran source files. So far, I succesfully used these lines:
orabld XX_FILE
lnprofor XX_FILE XX_FILE,lnk$library/lib,MIS_ENVIRO:[FOR]COMBLD/OPT
where XX_FILE is the file that needs to be rebuild into an EXE format. In folder MIS_ENVIRO:[FOR] I have some standard definitions used in the XX_FILE.FOR.
Recently, I tried to rebuild another fortran file, but I'm getting these lines:
Pro*FORTRAN: Release 1.8.52.4.0 - Production on Tue Jun 10 05:09:38 2008
(c) Copyright 2000 Oracle Corporation. All rights reserved.
System default option values taken from: ora_pcc:pccfor.cfg
Precompiling UNPLAN_WO_CLEANUP.FOR
Compiling UNPLAN_WO_CLEANUP.OUT
- Linking UNPLAN_WO_CLEANUP.EXE
%LINK-W-RECTYP, file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9 record 1 is illegal (3.)
%LINK-W-RECTYP, file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9 record 2 is illegal (1.)
%LINK-W-RECTYP, file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9 record 3 is illegal (0.)
%LINK-W-NOEOM, no end-of-module record found in module file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9
%LINK-W-SEQNCE, illegal record sequence in module file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9
%LINK-W-EMPTYFILE, no modules found in file MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;9
%LINK-W-USRTFR, image MIS_ENVIRO:[EXE]UNPLAN_WO_CLEANUP.EXE;10 has no user transfer address
I read some posts from this forum, I tried some of the solutions presented here, but, still unsuccesifull.
Can anyone offer my a hint?
Thank you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 02:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 03:23 AM
тАО06-13-2008 03:23 AM
Re: How can I compile my fortran program in vms 7.3-2?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 03:48 AM
тАО06-13-2008 03:48 AM
Re: How can I compile my fortran program in vms 7.3-2?
The linker is expecting an object file (.obj) containing object modules, but has found unplan_wo_cleanup.exe
something has told the linker to do this
maybe your options file?
if you SET VERIFY before running the command you should see what it is trying to do
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 03:53 AM
тАО06-13-2008 03:53 AM
Re: How can I compile my fortran program in vms 7.3-2?
My option file looks like this:
MISCOM/SHARE
PSECT_ATTR=MISCOM,SHR
GSMATCH=ALWAYS,0,0
I'll try to use SET VERIFY before running the the command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 04:25 AM
тАО06-13-2008 04:25 AM
Re: How can I compile my fortran program in vms 7.3-2?
I would also check for a logical name of UNPLAN_WO_CLEANUP. If such a logical name is pointing at a .EXE file, that could cause messages such as those cited in your post.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 05:26 AM
тАО06-13-2008 05:26 AM
Re: How can I compile my fortran program in vms 7.3-2?
there is indeed a logical name for UNPLAN_WO_CLEANUP, and it's pointing to the EXE file, thus, I checked the syntax of LNPROFOR and I changed the linking command to this:
$lnprofor UNPLAN_WO_CLEANUP.EXE UNPLAN_WO_CLEANUP.OBJ,lnk$library/lib,
MIS_ENVIRO:[FOR]COMBLD/OPT
so, right now, I'm explicity linking the OBJ file.
I've used the SET VERIFY option too, but my problem still persist. I've attached the output from my screen:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 06:41 AM
тАО06-13-2008 06:41 AM
Re: How can I compile my fortran program in vms 7.3-2?
analyze /object unplan_wo_cleanup.obj
run the compile step with verify on
sometimes oracle expects object modules to be in libraries
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 07:21 AM
тАО06-13-2008 07:21 AM
Re: How can I compile my fortran program in vms 7.3-2?
I am somewhat suspicious. Please check that the logical name is not interfering with the output of the compile. Deassign the logical name and try things again.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-13-2008 07:27 AM
тАО06-13-2008 07:27 AM
Re: How can I compile my fortran program in vms 7.3-2?
Thus, my problem is solved, the root cause was probably some bad typing (syntax error, or a "space" char misplaced somewhere).
Thank you to all of you guys for finding time to address my problem and help me.
Regards,
Iulian Zagan