<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error activating image in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593585#M6840</link>
    <description>Yes, that's better.&lt;BR /&gt;&lt;BR /&gt;It looks like "CLD$EXE" is not defined correctly. There is another logical name involved: "DISK51", but as it points to a disk named "DSA51:" it might be as simple as CLD$EXE pointing to the wrong disk.</description>
    <pubDate>Mon, 01 Aug 2005 07:13:41 GMT</pubDate>
    <dc:creator>Uwe Zessin</dc:creator>
    <dc:date>2005-08-01T07:13:41Z</dc:date>
    <item>
      <title>Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593581#M6836</link>
      <description>Could anyone give an example on how to use DEFINE command?&lt;BR /&gt;&lt;BR /&gt;after i use DEFINE and try to run my program i see 'error activating image' and 'directory not found' error. could anyone pl help.</description>
      <pubDate>Mon, 01 Aug 2005 06:46:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593581#M6836</guid>
      <dc:creator>ram_47</dc:creator>
      <dc:date>2005-08-01T06:46:25Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593582#M6837</link>
      <description>A small session log would help us to tell you what went wrong.&lt;BR /&gt;&lt;BR /&gt;My guess is that you did define a logical name that maps to an image name. E.g.&lt;BR /&gt;&lt;BR /&gt;$ define directory xyz&lt;BR /&gt;$ dir&lt;BR /&gt;%DCL-W-ACTIMAGE, error activating image DIRECTORY&lt;BR /&gt;-CLI-E-IMAGEFNF, image file not found DSA0:[SYS0.SYSCOMMON.][SYSEXE]XYZ.EXE;&lt;BR /&gt;$ deassign directory&lt;BR /&gt;$&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Aug 2005 06:53:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593582#M6837</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-08-01T06:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593583#M6838</link>
      <description>RE5::[VMSUSER] &amp;gt;define /nolog CLD$EXE disk51:[USER.VMSUSER]&lt;BR /&gt;RE5::[VMSUSER] &amp;gt;set command testcli.cld&lt;BR /&gt;RE5::[VMSUSER] &amp;gt;testcli /input=in.txt /output=out.txt&lt;BR /&gt;%DCL-W-ACTIMAGE, error activating image CLD$EXE:TESTCLI.EXE&lt;BR /&gt;-CLI-E-IMGNAME, image file DSA51:[USER.VMSUSER]TESTCLI.EXE;&lt;BR /&gt;-RMS-E-DNF, directory not found&lt;BR /&gt;-SYSTEM-W-NOSUCHFILE, no such file&lt;BR /&gt;RE5::[VMSUSER] &amp;gt;</description>
      <pubDate>Mon, 01 Aug 2005 07:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593583#M6838</guid>
      <dc:creator>ram_47</dc:creator>
      <dc:date>2005-08-01T07:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593584#M6839</link>
      <description>Ram,&lt;BR /&gt;&lt;BR /&gt;Uwe gave one potential reason.&lt;BR /&gt;Without further info, he may be right.&lt;BR /&gt;Another possibility is, that you defined a logical name pointing to a non-existing directory (maybe typo?) and then used thet LNM in your RUN command.&lt;BR /&gt;&lt;BR /&gt;General remark: &lt;BR /&gt;Please ALWAYS include a QUOTE of the LITTERAL, COMPLETE error message. That usually contains a good explanation of the problem! &lt;BR /&gt;&lt;BR /&gt;Proost.&lt;BR /&gt;&lt;BR /&gt;Have one on me.&lt;BR /&gt;&lt;BR /&gt;jpe&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Aug 2005 07:08:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593584#M6839</guid>
      <dc:creator>Jan van den Ende</dc:creator>
      <dc:date>2005-08-01T07:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593585#M6840</link>
      <description>Yes, that's better.&lt;BR /&gt;&lt;BR /&gt;It looks like "CLD$EXE" is not defined correctly. There is another logical name involved: "DISK51", but as it points to a disk named "DSA51:" it might be as simple as CLD$EXE pointing to the wrong disk.</description>
      <pubDate>Mon, 01 Aug 2005 07:13:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593585#M6840</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-08-01T07:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593586#M6841</link>
      <description>As usual, see $ HELP and teh DCL reference manual....&lt;BR /&gt;&lt;BR /&gt;A short view:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE &lt;LOGICAL&gt; &lt;SPECIFICATION&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;LOGICAL&gt;: just any name you wish, however be sure not to use a name you want to keep or need elsewhere.&lt;BR /&gt;&lt;SPECIFICATION&gt;: a specification of what will be represented by that logical. In most cases, you will want to name some storage location, so this will be in the form of &lt;DEVICE&gt;:[&lt;PATH&gt;]. In principle, &lt;DEVICE&gt; can itself be a logical as well. The directory part ([&lt;PATH&gt;]) can be ommitted, it is actually an "alias".&lt;BR /&gt;&lt;BR /&gt;To define a root-directory, under which there are more directories. you need to use the /TRANSLATION=CONCEALED attribute. If the specification contains a real device, or is nothing more than that, you can also mention "TERMINAL". This type of specification always ends "with a dot: there is more to come.&lt;BR /&gt;  &lt;BR /&gt;Examples:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE USER DKA0:[USER.]/TRANSLATION=(CONCEALED, TERMINAL)&lt;BR /&gt;&lt;BR /&gt;Mind: user &lt;DOT&gt;. Required now is CONCEALED, and since DKA0: specifies the disk, TERMINAL is valid here.&lt;BR /&gt;&lt;BR /&gt;Now you can specify:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE HOME USER:[OTWILLEM]&lt;BR /&gt;&lt;BR /&gt;If this is translated, it will be expanden to the full spec DKA0:[USER.OTWILLEM]&lt;BR /&gt;&lt;BR /&gt;$ DEFINE HOME SYS$LOGIN: &lt;BR /&gt;&lt;BR /&gt;nakes HOME the same directory as wehere SYS$LOGIN refers to.&lt;BR /&gt;&lt;BR /&gt;If you would specify:&lt;BR /&gt;&lt;BR /&gt;$ DEFINE EXEDISK MYDISK:[PROGRAMS.]/TRANS=(CONCEALED, TERMINAL)&lt;BR /&gt;$ DEFINE EXE EXEDISK:[EXE]&lt;BR /&gt;&lt;BR /&gt;you will get the "Directory not found" error, when MYDISK does not refer to a physical disk. In that case, just remove the TERMINAL attribute and it will work.&lt;BR /&gt;&lt;BR /&gt;Keep in mind that there are different levels of definition; PROCESS, JOB, GROUP, SYSTEM and , if applicable, CLUSTER. They specify the scope of the logical in that order (normally). This means you can "overwrite", in your private conext, any other in a "deepÃ«r" level: If, for instance, a logical EXEDISK is defined /SYSTEM, you can give it a complete other contents when specifying /PROCESS (which is, BTW, default), without interfering with other users.&lt;BR /&gt;&lt;BR /&gt;&lt;/DOT&gt;&lt;/PATH&gt;&lt;/DEVICE&gt;&lt;/PATH&gt;&lt;/DEVICE&gt;&lt;/SPECIFICATION&gt;&lt;/LOGICAL&gt;&lt;/SPECIFICATION&gt;&lt;/LOGICAL&gt;</description>
      <pubDate>Mon, 01 Aug 2005 07:15:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593586#M6841</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-08-01T07:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593587#M6842</link>
      <description>Where do I need to define "CLD$EXE".</description>
      <pubDate>Mon, 01 Aug 2005 07:24:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593587#M6842</guid>
      <dc:creator>ram_47</dc:creator>
      <dc:date>2005-08-01T07:24:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593588#M6843</link>
      <description>ram,&lt;BR /&gt;the problem is with the contents of the logical name, not how it is defined.&lt;BR /&gt;&lt;BR /&gt;What output do you get from the following commands?&lt;BR /&gt;&lt;BR /&gt;$ show default&lt;BR /&gt;&lt;BR /&gt;$ directory DSA51:[000000]USER.DIR;1&lt;BR /&gt;&lt;BR /&gt;$ directory DSA51:[USER]VMSUSER.DIR</description>
      <pubDate>Mon, 01 Aug 2005 07:37:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593588#M6843</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-08-01T07:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593589#M6844</link>
      <description>UWe - &lt;BR /&gt;&lt;BR /&gt;Here is the output&lt;BR /&gt;&lt;BR /&gt;RE5::[VMSUSER] &amp;gt;show default&lt;BR /&gt;  DISK51:[VMSUSER.SOURCE.CLD]&lt;BR /&gt;  &lt;BR /&gt;RE5::[VMSUSER] &amp;gt;directory DSA51:[000000]USER.DIR;1&lt;BR /&gt;%DIRECT-W-NOFILES, no files found&lt;BR /&gt;&lt;BR /&gt;RE5::[VMSUSER] &amp;gt;directory DSA51:[USER]VMSUSER.DIR&lt;BR /&gt;%DIRECT-E-OPENIN, error opening DSA51:[USER]VMSUSER.DIR;* as input&lt;BR /&gt;-RMS-E-DNF, directory not found&lt;BR /&gt;-SYSTEM-W-NOSUCHFILE, no such file&lt;BR /&gt;&lt;BR /&gt;RE5::[VMSUSER] &amp;gt;</description>
      <pubDate>Mon, 01 Aug 2005 07:51:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593589#M6844</guid>
      <dc:creator>ram_47</dc:creator>
      <dc:date>2005-08-01T07:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593590#M6845</link>
      <description>Now, compare the output with your logical name definition:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; define /nolog CLD$EXE disk51:[USER.VMSUSER]&lt;BR /&gt;&lt;BR /&gt;You see that there is no USER directory between VMSUSER and the master file directory.&lt;BR /&gt;&lt;BR /&gt;I don't know where the executable is stored, try:&lt;BR /&gt;&lt;BR /&gt;$ define /nolog CLD$EXE disk51:[VMSUSER]&lt;BR /&gt;$ ...&lt;BR /&gt;&lt;BR /&gt;If that does not work, look where the executable is:&lt;BR /&gt;&lt;BR /&gt;$ directory DISK51:[VMSUSER...]TESTCLI.EXE&lt;BR /&gt;&lt;BR /&gt;and use this directory.&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Aug 2005 07:55:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593590#M6845</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-08-01T07:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593591#M6846</link>
      <description>The EXE is at DISK51:[VMSUSER.SOURCE.CLD]. also, am running the DEFINE command from the same directory.&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Aug 2005 07:59:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593591#M6846</guid>
      <dc:creator>ram_47</dc:creator>
      <dc:date>2005-08-01T07:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593592#M6847</link>
      <description>Then use:&lt;BR /&gt;$ define /nolog CLD$EXE DISK51:[VMSUSER.SOURCE.CLD]&lt;BR /&gt;&lt;BR /&gt;The logical name specifies a full path. In that case it doesn't matter what your current context is.</description>
      <pubDate>Mon, 01 Aug 2005 08:14:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593592#M6847</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-08-01T08:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593593#M6848</link>
      <description>$ DEFINE CLD$EXE DISK51:[VMSUSER.SOURCE.CLD]&lt;BR /&gt;&lt;BR /&gt;should be right. No matter where you define it.&lt;BR /&gt;&lt;BR /&gt;Also check the .CLD file for the location on your image. This should be CLD$EXE: as well.</description>
      <pubDate>Mon, 01 Aug 2005 08:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593593#M6848</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-08-01T08:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593594#M6849</link>
      <description>I issued 'define /nolog CLD$EXE DISK51:[VMSUSER.SOURCE.CLD]' from [VMSUSER] directory and then tried to run my program TESTCLI.EXE and it worked.&lt;BR /&gt;&lt;BR /&gt;Earlier I issued the DEFINE command from [VMSUSER.SOURCE.CLD] directory, where my program is located. I used to get errros when i ran my program. Does it matter from where I give the DEFINE command?</description>
      <pubDate>Mon, 01 Aug 2005 09:56:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593594#M6849</guid>
      <dc:creator>ram_47</dc:creator>
      <dc:date>2005-08-01T09:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593595#M6850</link>
      <description>In this particular case, no. All data is fully specified.</description>
      <pubDate>Mon, 01 Aug 2005 10:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593595#M6850</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-08-01T10:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593596#M6851</link>
      <description>Define creates a new logical name. You can imagine it like a new mapped disk. Everytime you refer to a logical name you refer a full path to its translation.&lt;BR /&gt;If translation is not valid, every command fails as you discovered.&lt;BR /&gt;HELP DEFINE is your friend.&lt;BR /&gt; &lt;BR /&gt;Antonio Vigliotti&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Aug 2005 10:09:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593596#M6851</guid>
      <dc:creator>Antoniov.</dc:creator>
      <dc:date>2005-08-01T10:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593597#M6852</link>
      <description>Here is an example of context-dependent logical name assignments:&lt;BR /&gt;&lt;BR /&gt;$ define A1 DSK:'F$DIRECTORY()'&lt;BR /&gt;$ show logical A1&lt;BR /&gt;$ set default [.X1]&lt;BR /&gt;$ define A1 DSK:'F$DIRECTORY()'&lt;BR /&gt;$ show logical A1</description>
      <pubDate>Mon, 01 Aug 2005 10:22:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593597#M6852</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-08-01T10:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593598#M6853</link>
      <description>Since the DEFINE command does not have a fully qualified path it becomes context dependent, is my understanding right?&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Aug 2005 00:50:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593598#M6853</guid>
      <dc:creator>ram_47</dc:creator>
      <dc:date>2005-08-02T00:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593599#M6854</link>
      <description>Like this:&lt;BR /&gt;&lt;BR /&gt;$ SET DEFAULT DISK51:[000000]&lt;BR /&gt;$ DEFINE CLD$EXE [VMSUSER.SOURCE.CLD] &lt;BR /&gt;$ RUN CLD$EXE:&lt;PROGRAM&gt; &lt;BR /&gt;&lt;BR /&gt;RUN may fail.&lt;BR /&gt;&lt;BR /&gt;If this&lt;BR /&gt;$ SET DEFAULT &lt;WHEREVER&gt;&lt;BR /&gt;$ DEFINE CLD$EXE DISK51:[VMSUSER.SOURCE.CLD] &lt;BR /&gt;$ RUN CLD$EXE:&lt;PROGRAM&gt; &lt;BR /&gt;&lt;BR /&gt;should work.&lt;BR /&gt;&lt;BR /&gt;You don't need a .CLD here, unless you have compiled it to an object and linked it with your program.&lt;BR /&gt;&lt;BR /&gt;$ SET COMMAND &amp;lt;.CLD-file&amp;gt;&lt;BR /&gt;&lt;BR /&gt;might be needed. Be sure that if the program is specified in there, use CLD$EXE as well.&lt;BR /&gt;&lt;BR /&gt;Does your program access some other file? It might be the program does start but signales the error when it tries to access a file on a non-existing directory.&lt;BR /&gt;Specify:&lt;BR /&gt;&lt;BR /&gt;$ RUN/DEBUG CLD$EXE:&lt;PROGRAM&gt;.&lt;BR /&gt;If this will return to the debugger prompt, the program DOES start.&lt;BR /&gt;&lt;BR /&gt;&lt;/PROGRAM&gt;&lt;/PROGRAM&gt;&lt;/WHEREVER&gt;&lt;/PROGRAM&gt;</description>
      <pubDate>Tue, 02 Aug 2005 01:23:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593599#M6854</guid>
      <dc:creator>Willem Grooters</dc:creator>
      <dc:date>2005-08-02T01:23:45Z</dc:date>
    </item>
    <item>
      <title>Re: Error activating image</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593600#M6855</link>
      <description>No, in my example the 'trick' is to use a lexical function that returns the current directory. It still creates a logical name with a full path depending on the current context, so after the command has been executed it does not matter if you change your default context:&lt;BR /&gt;&lt;BR /&gt;$ set default DISK51:[VMSUSER.SOURCE.CLD]&lt;BR /&gt;$ show default&lt;BR /&gt;$ define A1 DISK51:'F$DIRECTORY()'&lt;BR /&gt;$ show logical A1&lt;BR /&gt;$ directory A1:&lt;BR /&gt;&lt;BR /&gt;$ set default [--]&lt;BR /&gt;$ show default&lt;BR /&gt;$ show logical A1&lt;BR /&gt;$ directory A1:&lt;BR /&gt;&lt;BR /&gt;You see? A1 has not changed.</description>
      <pubDate>Tue, 02 Aug 2005 01:24:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/error-activating-image/m-p/3593600#M6855</guid>
      <dc:creator>Uwe Zessin</dc:creator>
      <dc:date>2005-08-02T01:24:26Z</dc:date>
    </item>
  </channel>
</rss>

