These are the magic attributes *A9999 and *A9998, which should be in your VOC/MD by default and so you can just use them. However, I am not sure if they will work on directory files. Why not just use ls ?
Jim From: [email protected] [mailto:[email protected]] On Behalf Of JOSE L MARTINEZ-AVIAL Sent: Tuesday, May 11, 2010 8:13 PM To: [email protected] Subject: I Dict for size of files Hi, I'm using JBase 5.0.14 ove HPUX 11.1. I have a voc record that points to a directory, as follows: jsh miaprd ~ -->CT VOC input input 001 F 002 ../bnk.data/ofdata/input 003 ../bnk.dict/input]D The only record in the dictionary is the ID, so if I do LIST input I see a list of the files contained in the directory. How can I create a DICT record that gives me the size of each file? Having the date of last modification would be great too. Thanks! Jose HP-UX-/ve2/miaprd/bnk/bnk.run/&COMO&: jdiag jdiag - jBASE diagnostic '$Revision: 1.15 $' System Information ================== System : HP-UX miaux B.11.11.U 9000/800 UNIX User : miaprd (uid 103, euid 103) Tty name : /dev/pts/tf Time : Tue May 11 23:08:11 2010 Environment =========== JBCPORTNO : Not Set JBCRELEASEDIR : '/apps/jbase5.0.14' JBCGLOBALDIR : '/apps/jbase5.0.14' JBCDATADIR : '/ve2/miaprd/bnk/bnk.run/../bnk.data' HOME : '/ve2/miaprd/bnk/bnk.run' JEDIFILEPATH : '/ve2/miaprd/bnk/bnk.run' JEDIFILENAME_MD : '/ve2/miaprd/bnk/bnk.run/VOC' JEDIFILENAME_SYSTEM : '/apps/jbase5.0.14/src/SYSTEM' RELEASE Information : Major 5.0 , Minor 14 , Patch 0287 (Change 73758) Spooler dir (JBCSPOOLERDIR) : '/ve2/miaprd/bnk/bnk.run/jspooler' JBCEMULATE : 'prime' WARNING: Cannot access Executable path '/ve2/miaprd/bnk/bnk.run/globuspatchbin', error 2 WARNING: Cannot access Library path '/apps/jbase5.0.14/jdk/jre/lib', error 2 Object path (JBCOBJECTLIST) : '/ve2/miaprd/bnk/bnk.run/globuspatchlib:/ve2/miaprd/bnk/bnk.run/lib:/ve2/miaprd/bnk/bnk.run/globuslib' jBASE Compiler Run-time : '/apps/jbase5.0.14/config/system.properties' Program dir (JBCDEV_BIN) : '/ve2/miaprd/bnk/bnk.run/bin' Subroutine dir (JBCDEV_LIB) : '/ve2/miaprd/bnk/bnk.run/lib' Max open files : 2048 -- Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en -- Please read the posting guidelines at: http://groups.google.com/group/jBASE/web/Posting%20Guidelines IMPORTANT: Type T24: at the start of the subject line for questions specific to Globus/T24 To post, send email to [email protected] To unsubscribe, send email to [email protected] For more options, visit this group at http://groups.google.com/group/jBASE?hl=en
