- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- error while executing a program in C
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
тАО07-05-2010 06:04 AM
тАО07-05-2010 06:04 AM
Re: error while executing a program in C
what i mean by copying in another environnement is i make a cop/ftp of my test1.exe to another environnement ( actually the environnement of test) and the program send an error
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 06:11 AM
тАО07-05-2010 06:11 AM
Re: error while executing a program in C
How to use the Debugger? Read the manuals. The two manuals you should have already read are:
http://h71000.www7.hp.com/doc/84final/4538/4538pro.html
http://h71000.www7.hp.com/doc/82final/5841/5841pro.html
The documentation shelf is here, including OpenVMS and the above manuals, as well as the C programming shelf:
http://www.hp.com/go/openvms/doc
The C library manual is (confusingly) in the base OpenVMS documentation set and not in the C shelf.
As for your direct question on the debugger...
$ CC x.c /DEBUG /NOOPTIMIZE
$ LINK x.obj /DEBUG
$ RUN x
Common Debugger Commands:
SET MODE SCREEN
STEP
STEP /INTO
EXAMINE
GO
SET BREAK line
HELP
And the next error you'll almost certainly hit is the Access Violation (ACCVIO), and the stackdump provides a wealth of information:
http://labs.hoffmanlabs.com/node/800
You're probably colliding with a logical name TEST1 or whatever you've named this as defined on the target system; you're not running the application you think you're running. This can be a direct logical name collision with the filename, or somebody might have a "creative" DCL$PATH definition, or such. Pick a different filename; test this with HELLOWORLD.EXE or such.
Reposting this. ITRC choked again, as is its wont. Apologies on any dups.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 06:18 AM
тАО07-05-2010 06:18 AM
Re: error while executing a program in C
"another environment" in this case is another system having a different CPU architecture:
You build the program on an Alpha (or vax), and try to run it on an Itanium system, I bet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 06:24 AM
тАО07-05-2010 06:24 AM
Re: error while executing a program in C
>>>
what i mean by copying in another environnement is i make a cop/ftp of my test1.exe to another environnement
<<<
This may well be the explanation of
>>>
-IMGACT-F-NOT_I64, image is not an HP OpenVMS Industry Standard 64 image
<<<
It looks like you do the COMPILATION on a system running the Alpha architecture, and then copy the executable to an IA64 system.
YES, the BOTH run VMS (actually, so does Vax), and they appear much alike, but ├Г┬╝nder the hood" they are quite different.
Camppare automobiles: they a very similar to drive, but "under the hood" it DOES make a different if it runs on Diesel, Gasoline, (or LPG, just to add the 3rd).
The very same would apply to your Cobol colleagues, so they should be able to help you in this.
hth
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 06:24 AM
тАО07-05-2010 06:24 AM
Re: error while executing a program in C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 08:46 AM
тАО07-05-2010 08:46 AM
Re: error while executing a program in C
Thanks,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-06-2010 05:40 AM
тАО07-06-2010 05:40 AM
Re: error while executing a program in C
- « Previous
-
- 1
- 2
- Next »