VMS Help  —  ANALYZE  /IMAGE  Examples
    1.$ ANALYZE/IMAGE  LINEDT

      The ANALYZE/IMAGE command in this example produces a
      description and an error analysis of the image LINEDT.EXE.
      Output is sent to the current SYS$OUTPUT device.

    2.$ ANALYZE/IMAGE/OUTPUT=LIALPHEX/FIXUP_SECTION/PATCH_TEXT
       LINEDT, ALPRIN (VAX and Alpha only)

      The ANALYZE/IMAGE command in this example produces a
      description and an error analysis of the fixup sections
      and patch text records of LINEDT.EXE and ALPRIN.EXE in file
      LIALPHEX.ANL. Output is sent to the file LIALPHEX.ANL.

    3.$ ANALYZE/IMAGE/SELECT=(ARCH,FILE,NAME,IDENT,BUILD,LINK) *.EXE
      DISK:[DIRECTORY]ALPHA.EXE;1
      OpenVMS ALPHA
      Image
      "Test image ALPHA"
      "A11-27"
      "X5SC-SSB-0000"
      14-JUN-2004 07:16:19.24
      DISK:[DIRECTORY]VAX.EXE;1
      OpenVMS VAX
      Image
      "Test image VAX"
      "V11-27"
      ""
      15-JUN-2004 13:18:40:70

      On an Alpha system, this example displays the information
      requested about the executable files ALPHA.EXE and VAX.EXE.

    4.$ ANALYZE/IMAGE/SELECT=(ARCHITECTURE,IDENT,NAME) HELLO 1

      USER:[JOE]HELLO.EXE;1
      OpenVMS IA64
      "V1.0"
      "HELLO"
      $
      $ SHOW SYMBOL ANALYZE$*
        ANALYZE$ARCHITECTURE = "OpenVMS IA64"
        ANALYZE$BUILD_IDENTIFICATION = ""
        ANALYZE$FILE_TYPE = ""
        ANALYZE$IDENTIFICATION = ""V1.0""
        ANALYZE$IMAGE_TYPE = ""
        ANALYZE$LINKER_IDENTIFICATION = ""
        ANALYZE$LINK_TIME = ""
        ANALYZE$NAME = ""HELLO""
      $
      $ ANALYZE/IMAGE/SELECT=(IDENT=(IMAGE,LINKER),IMAGE,LINK) HELLO 2
      USER:[JOE]HELLO.EXE;1
      "V1.0"
      "Linker I01-54"
      Executable
       7-JUN-2004 11:47:08.10
      $
      $ SHOW SYMBOL ANALYZE$*
        ANALYZE$ARCHITECTURE = ""
        ANALYZE$BUILD_IDENTIFICATION = ""
        ANALYZE$FILE_TYPE = ""
        ANALYZE$IDENTIFICATION = ""V1.0""
        ANALYZE$IMAGE_TYPE = "Executable"
        ANALYZE$LINKER_IDENTIFICATION = ""Linker I01-54""
        ANALYZE$LINK_TIME = " 7-JUN-2004 11:47:08.10"
        ANALYZE$NAME = ""
      $
      $ ANALYZE/IMAGE/SELECT=FILE HELLO.* 3
      USER:[JOE]HELLO.C;1
      %ANALYZE-E-ILLFIL, Illegal file format encountered
      USER:[JOE]HELLO.EXE;1
      Image
      USER:[JOE]HELLO.MAP;1
      %ANALYZE-E-ILLFIL, Illegal file format encountered
      USER:[JOE]HELLO.OBJ;1
      Object
      $
      $ SHOW SYMBOL ANALYZE$*
        ANALYZE$ARCHITECTURE = ""
        ANALYZE$BUILD_IDENTIFICATION = ""
        ANALYZE$FILE_TYPE = "Object"
        ANALYZE$IDENTIFICATION = ""
        ANALYZE$IMAGE_TYPE = ""
        ANALYZE$LINKER_IDENTIFICATION = ""
        ANALYZE$LINK_TIME = ""
         ANALYZE$NAME =
      $

      This I64 example displays the information requested for the
      executable file, HELLO.EXE. The following text is keyed to the
      callout numbers at the ends of each ANALYZE/IMAGE command line
      in the example:

      1  Only the selected information can be found in the DCL
         symbols. The information in the symbols is identical to
         what is printed to SYS$OUTPUT, that is, if quoted strings
         are printed there are quotes strings in the symbol.

      2  If the new linker identification is selected, it is
         necessary to use IDENT with a keyword list.

      3  When using wildcards, errors in the analyzed file (for
         example illegal file format errors) do not terminate
         Analyze. Only the information from the last analyzed file
         can be found in the DCL symbols.
Close Help