Menu

#9 Open VMS Support

open
nobody
None
5
2007-08-27
2007-08-27
No

hi,
would appreciate if tool could support Open VMS.

connect is successful, but displaying files is not, as
directories look like device:[directory.subdir]filename.ext;ver

eg.: korfu:[database.sql]some_script.sql;3
or korfu:<database.sql>some_script.sql;3

regards

A.

Discussion

  • Sascha Hunold

    Sascha Hunold - 2007-08-27

    Logged In: YES
    user_id=752659
    Originator: NO

    Do yo use the local plugin to connect to your file system?
    The local plugin is pure Java, hence, it is supposed to be platform independent. In case it fails, you could start up a ssh server on your machine and connect to the local ssh server (or ftp). It's at least a work around.

    Which version of Java are you using?

    Which version of OpenVMS (I don't know much about OpenVMS)?

    Cheers,

    Sascha

     
  • Sascha Hunold

    Sascha Hunold - 2007-08-28

    Logged In: YES
    user_id=752659
    Originator: NO

    Okay, I guess your were using the local plugin. And indeed, it's not as portable as I had thought. My bad!
    So, could you provide test cases for the file system structure in OpenVMS since I have no access to a system that runs OpenVMS.

     
  • Andreas Stern

    Andreas Stern - 2007-08-31

    Logged In: YES
    user_id=607667
    Originator: YES

    Sascha, please excuse my not so timely reply!
    I use java version "1.5.0_12"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04)
    Java HotSpot(TM) Client VM (build 1.5.0_12-b04, mixed mode, sharing)

    using the experimental SFTP Java Secure Channel plugin and directory listing works - I can see the correct filenames but no size, time and protections.
    The other Possibilities fail: FTP shows the home dir PROS2$USER1:[STERN], but no files
    sftp - ssh2 by SSHTools connects but fails with I/O errors

    describing experimental SFTP Java Secure Channel plugin:
    PROS2$USER1:[STERN] is translated to /pros2$user1/000000/stern which I consider correct, and is the same as /pros2$user1/stern
    changing to for example korfu:[database.sql.neon.9_2] which I hve to enter as /korfu/database/sql/neon/9_2 shows me the correct diretory listing, but syncing fails with IO Error: Pfad existiert nicht or Could not find sync root dir /korfu/database/sql/neon/9_2
    I use Open VMS 7.3-2
    a directory is specified by device:[directory.subdir] - subdirectory can be omitted, so you have to specify device:[000000] to see the contents of the device root. When issuing the dir command, you see directories as filename with extension .dir and version ;1 . so you cannot specifiy a file with the extension .dir or with a dot `.´ in its name - the dot is always the separator between name and extension.

    but you have the possibility to keep different versions of the same file - every time you edit a file, the version number is increased. the dir command usually shows the las version first.
    a directory command can for example look like
    directory/date=mod /size /protection /owner/wid=(fil=39,size=9)
    and you see:
    AST.RDB;4 1183 28-AUG-2007 09:40:24.87 [PROG,NEON_SYSTEST] (RWED,RW,,)
    AST.RDB;3 629 23-MAY-2007 05:43:31.59 [PROG,NEON_SYSTEST] (RWED,RW,,)
    AST.RDB;2 629 22-MAY-2007 19:13:22.00 [PROG,NEON_SYSTEST] (RWED,RW,,)
    ATW.RDB;1 337 9-AUG-2007 14:37:15.51 [PROG,NEON_SYSTEST] (RWED,RW,,)
    CRE_NEON.LOG;1 788 19-JUL-2006 12:07:05.66 [PROG,NEON_SYSTEST] (RWED,RWED,RE,)
    INST.RDB;1 438 3-AUG-2007 09:05:35.10 [PROG,NEON_SYSTEST] (RWED,RW,,)
    KRYPTON.RDB;1 879 6-JUN-2007 13:41:38.71 [PROG,NEON_SYSTEST] (RWED,RW,,)
    NEON.RDB;1 958 23-AUG-2007 16:05:22.59 [PROG,NEON_SYSTEST] (RWED,RW,,)
    RND.RDB;1 542 27-AUG-2007 10:14:37.80 [PROG,NEON_SYSTEST] (RWED,RW,,)
    src.DIR;1 2 28-AUG-2007 09:37:34.35 [PROG,NEON_SYSTEST] (RWE,RWE,RE,)

    you see file name , size, modification time, group, owner and permission.
    permissions are shown for system, user, group and world, the letters designate Read, Write, Execute, Delete

    It could be a lot of work...
    cheers

    A.