- 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 02:27 AM
тАО07-05-2010 02:27 AM
error while executing a program in C
i try to execute my program and i get this error:
Erreur execution SYS$TRNLNM ; code retour : 444
and when i tryed with another program i get a new error:
%DCL-W-ACTIMAGE, error activating image TEST1
-CLI-E-IMGNAME, image file $1$DGA102:[000000.][env.EXE]TEST1.EXE;3
-IMGACT-F-NOT_I64, image is not an HP OpenVMS Industry Standard 64 image
someone could help me?
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 04:29 AM
тАО07-05-2010 04:29 AM
Re: error while executing a program in C
mi7ssana,
"step away from the machine"
But errors suggest a failure to operate the system, not a failure in the system
Please ask your peers and /or superiors how to use system.
To translate the code 444 to meaningful text you can use : $ EXIT 444
It will indicate: %SYSTEM-F-NOLOGNAM, no logical name match.
So there is a logical name (environment variable) not defined. Often those are setup system wide, sometimes for all application users, sometime per user.
You may have to execute a setup or init script before running the program.
The second error message indicates the you are using OpenVMS on Itanium, but try run an Alpha program. This too can be cause by not having the rigth logical names in place.
Ask the folks immediately around you!
Bon courage,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 04:31 AM
тАО07-05-2010 04:31 AM
Re: error while executing a program in C
$ exit(444)
%SYSTEM-F-NOLOGNAM, no logical name match
Check that you are passing the logical name parameter correctly, and with correct length and case.
-IMGACT-F-NOT_I64, image is not an HP OpenVMS Industry Standard 64 image
Means what it says, you probably have compiled on another platform (e.g. Alpha). Or maybe it's not really an executable at all.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 04:45 AM
тАО07-05-2010 04:45 AM
Re: error while executing a program in C
%DCL-W-ACTIMAGE, error activating image TEST1
but for the first error :
Erreur execution SYS$TRNLNM ; code retour : 444
same thong i have no link or reference to a logical name.
and honestly i dont how to do it.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 04:51 AM
тАО07-05-2010 04:51 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 05:40 AM
тАО07-05-2010 05:40 AM
Re: error while executing a program in C
Notice how in the reported file name for the IMGACT message it reads " [env.EXE] "
That suggests to me that there may was been an attempt to create CPU-architecture dependend directories like [I64.EXE] and [ALPHA.EXE] maybe 'env' was supposed to be a variable but used as string? Mind you, apparently this [env.EXE] does exist.
So how did you make your 'hello world'.
Just CC, Link and run or something 'clever'?
Hint: check for the DATEs for the EXE to make sure you are running the intended program
>> but for the first error :
Erreur execution SYS$TRNLNM ; code retour : 444
same thong i have no link or reference to a logical name.
Not the same thing. That is NOT a standard OpenVMS error text. The system is not making that up. So somewhere in the program, directly or indirectly a function was called which 99% sure tried to call SYS$TRNLNM for a logical name which was not defined.
( The remaining 1% is for the case where someone thought if funny to provide a function which just prints "Erreur execution SYS$TRNLNM ; code retour : 444" when called. :-)
Honestly, this will be easy to resolve working with folks who are on the actual system and familiar with the system (mixed cluster). Much too hard to do in this conversation.
Good luck,
Hein
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 05:50 AM
тАО07-05-2010 05:50 AM
Re: error while executing a program in C
Use the VMS debugger.
Embrace the VMS debugger.
Got errors?
The VMS debugger is your best friend.
Even if you don't have visible errors, use the debugger.
Whatever you might think the source code is doing here and however the source code is constructed, bluntly, you're quite wrong here with your "no logical names", and your code IS translating a logical name somewhere.
Learn and then use the VMS debugger to locate the source code or the call within this application that is very clearly translating a logical name.
The debugger then will allow you to easily identify which source code or source code call translates that logical name.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 05:54 AM
тАО07-05-2010 05:54 AM
Re: error while executing a program in C
this is my program test1:
#include
#include
main()
{
printf("Hello, World!\n" );
exit( EXIT_SUCCESS );
}
actualy i execute the following commands:
cc test1
link test1
in an environnement and after i make a copy of my test1.exe in an another environnement and i execute the program run test1
and the result is
%DCL-W-ACTIMAGE, error activating image TEST1
-CLI-E-IMGNAME, image file $1$DGA102:[000000.][env.EXE]TEST1.EXE;3
-IMGACT-F-NOT_I64, image is not an HP OpenVMS Industry Standard 64 image
the problem is that people who work whith me don't know too much about language C the work with Cobol so i have to find a solution by myself.
and what confusing me is that i do the same thing with the same program before and it works.
and for the second errror i have no idea about how to figure it out.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 05:57 AM
тАО07-05-2010 05:57 AM
Re: error while executing a program in C
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-05-2010 05:58 AM
тАО07-05-2010 05:58 AM
Re: error while executing a program in C
Would You please tell us what copying to and changing the environment means ?
Just make the simplest test, and just RUN TEST1 immediately after the LINK test1, and before "changing environment", whatever that means.