- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: running an exe with an option
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
07-01-2004 09:43 PM
07-01-2004 09:43 PM
$ myexe :== $ disk:
$ myexe par1 par2 par3
If I want to run it with /nodebug, my parameters will be messed in the program.
Apart from modifying the source code, if somebody has a smart idea to run it.
I tried
$ myexe/nodebug par1 par2 par3
and
$ myexe par1 par2 par3/nodebug
but it messes my parameters.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 09:56 PM
07-01-2004 09:56 PM
Solutionhttp://vms.process.com/scripts/fileserv/fileserv.com?SET_EXE
to turn off running with debug
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-01-2004 10:00 PM
07-01-2004 10:00 PM
Re: running an exe with an option
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 02:08 AM
07-02-2004 02:08 AM
Re: running an exe with an option
perhpas use TWO foreign symbols: on to run the program WITH debug, the other without:
myexe :== $disk:
myexed :== $disk:
Willem
OpenVMS Developer & System Manager
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-02-2004 07:03 AM
07-02-2004 07:03 AM
Re: running an exe with an option
$ a=="$sys$login:a/nodebug"
$ a
OpenVMS Alpha Debug64 Version V7.3-200
%DEBUG-I-INITIAL, Language: C, Module: A
%DEBUG-I-NOTATMAIN, Type GO to reach MAIN program
DBG>
On VAX I once received code for a 'dummy debugger', so I could do:
$ define lib$debug dev:[dir]ddbg.exe
$ foreign_cmd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2004 02:31 AM
07-03-2004 02:31 AM
Re: running an exe with an option
$ link/nodeb myexe
$ myexe:= $myexe.exe
$ myexe par1 par2 ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-03-2004 07:33 PM
07-03-2004 07:33 PM
Re: running an exe with an option
to execute debugger session with parameters you could:
$ MYEXE=="$
$ DEBUG/KEEP
$ RUN/COMMAND="MYEXE"/ARG="PAR1 PAR2 PAR3"
$ GO
You can define DBG$INIT to a debug startup command file as follow:
$ TYPE SYS$INPUT /OUT=MYDEBUG_STARTUP.COM
GO
GO
^Z
$ When debug start, execute GO twice time and program start immediatly. At end you need type EXIT to return back DCL.
H.T.H.
Antonio Vigliotti