Hi,

We are currently on jBASE 5.0 minor 21 on AIX 5.3.... T24 release is R8....

In jBASE documentation for the STATUS command if used on a file.variable,
return the PART NUMBERS of part files belonging to a distributed file in a
multivalue list....

(TEXT from jBASE documentation)

1 Current position in the file Offset in bytes from beginning of file
2 End of file reached 1 if EOF, 0 if not.
3 Error accessing file 1 if error, 0 if not.
4 Number of bytes available to read
5 File mode Permissions (in octal) 6 File size in bytes.
7 Number of hard links 0 if no links. Where applicable else 0
8 O/S User ID. ID based on the user name and domain of the user a jBASE
pseudo user.
9 O/S Group ID.
STATUS statement
10 I-node number; Unique ID of file on file system
11 Device on which i-node resides Number of device. The value is an
internally calculated value on
Windows NT.
12 Device for special character or block Number of device.
13 Time of last access in internal format
14 Date of last access in internal format.
15 Time of last modification in internal format
16 Date of last modification in internal format.
17 Time and date of last status change in internal format.
18 Date of last status change in internal format.
19 Number of bytes left in output queue (applicable to terminals only)
20 { }
21 jBASE File types j3, j4, jPLUS
22 jBASE File types j3, j4, jPLUS
23 jBASE File types j3, j4, jPLUS
*24 Part numbers of part files belonging to a distributed file multivalued
list*
**
Now, in reality, this doesnt happen.... I have a distributed file, and when
I use the STATUS command to get the PART NUMBERS, it return ZERO.... see
below....

LIST-DISTRIB F.CUST.ECB
Partitioning Algorithm is USER Subroutine 'CUST.PARTNO'
Part file 'F.CUST.P1.ECB', part number 1
Part file 'F.CUST.P2.ECB', part number 2
Part file 'F.CUST.P3.ECB', part number 3
Part file 'F.CUST.P4.ECB', part number 4
Part file 'F.CUST.P5.ECB', part number 5
Part file 'F.CUST.P6.ECB', part number 6
Part file 'F.CUST.P7.ECB', part number 7
Part file 'F.CUST.P8.ECB', part number 8
Part file 'F.CUST.P9.ECB', part number 9

& when I use the STATUS command on the above file, like the code is ....

OPEN "F.CUST.ECB" TO F.CUST.ECB THEN
     YFILE.STAT = ''
      STATUS YFILE.STAT FROM F.CUST.ECB THEN
           PRINT YFILE.STAT<24>
      END
END

The output returned is ZERO.....

Definitely this file is distributed.... and I need to know the PART FILE
NUMBERS if the file is distributed???

Any ideas

Thanks,
N
**

-- 
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

Reply via email to