- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: How do you launch a COM file from a FORTRAN Su...
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
Forums
Discussions
Discussions
Discussions
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
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
08-10-2006 02:07 AM
08-10-2006 02:07 AM
How do you launch a COM file from a FORTRAN Subroutine?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 02:12 AM
08-10-2006 02:12 AM
Re: How do you launch a COM file from a FORTRAN Subroutine?
If the FORTRAN is running in a process with DCL then
LIB$SPAWN to run the COM file in a subprocess
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 02:23 AM
08-10-2006 02:23 AM
Re: How do you launch a COM file from a FORTRAN Subroutine?
Ex
Subroutine HELP()
CALL LIB$SPAWN('HELP.COM',,0,,,,,)
Will the "0" in the call cause it to be in a NOWAIT state. If not please advise.
In DCL HELP.COM would look like:
CREATE/TERMINAL EDIT/READ README.TXT
The overall idea is that I have a FORTRAN DRIVEN MENU that I need to add a HELP SUBROUTINE to and have it launch independantly from the main menu. And when the "EXIT" of the main menu is executed, I would like for the README.TXT TERMINAL to close.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 03:22 AM
08-10-2006 03:22 AM
Re: How do you launch a COM file from a FORTRAN Subroutine?
According to your requirments, there is also the LIB$DO_COMMAND, which ends your programm and transfers control to whatever you like. At the end of your subprogramm you must reinvoke your main program.
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 04:07 AM
08-10-2006 04:07 AM
Re: How do you launch a COM file from a FORTRAN Subroutine?
http://h71000.www7.hp.com/doc/83final/4493/4493pro_034.html#outputhelpmessage
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-10-2006 04:39 AM
08-10-2006 04:39 AM
Re: How do you launch a COM file from a FORTRAN Subroutine?
>> How do you launch a COM file from a FORTRAN Subroutine?
The regular answer really is: with a call to SY$SNDJBC to 'send to job controller', that is... submit as batch job.
However, your subsequent reply clarifies that we are talking about an interactive process here.
The SPAWN "@HELP" will work fine and is probably the right solution.
However it does create two processes to do the job for one.
You could consider calling decwindows to do it in one go. For this I would start by reading reading up on DECTERMPORT in the Decwindows Motif guide to appliation programming appendix A.
http://h71000.www7.hp.com/doc/732final/documentation/pdf/dw_guide_app_prog.pdf
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2006 04:37 AM
08-12-2006 04:37 AM
Re: How do you launch a COM file from a FORTRAN Subroutine?
from your Forum Profile:
I have assigned points to 46 of 67 responses to my questions.
Maybe you can find some time to do some assigning?
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
Mind, I do NOT say you necessarily need to give lots of points. It is fully up to _YOU_ to decide how many. If you consider an answer is not deserving any points, you can also assign 0 ( = zero ) points, and then that answer will no longer be counted as unassigned.
Consider, that every poster took at least the trouble of posting for you!
To easily find your streams with unassigned points, click your own name somewhere.
This will bring up your profile.
Near the bottom of that page, under the caption "My Question(s)" you will find "questions or topics with unassigned points " Clicking that will give all, and only, your questions that still have unassigned postings.
Thanks on behalf of your Forum colleagues.
PS. - nothing personal in this. I try to post it to everyone with this kind of assignment ratio in this forum. If you have received a posting like this before - please do not take offence - none is intended!
Proost.
Have one on me.
jpe