It's a bug in the documentation as fields 24 thru 26 have always returned a
hard-coded zero since the inception of the 'STATUS' command in jBASE.

The only way to obtain this information is to parse the output from the
LIST-DISTRIB command.

Dan

On Thu, Mar 18, 2010 at 12:48 PM, Jim Idle <[email protected]> wrote:

>  STATUS is something pretty crummy inherited from Prime via Universe I
> think. However, if it is documented that it should work, then it is clearly
> a bug and you should report it to TEMENOS. There is nothing we can do here
> to fix it J Do you get any of the information back at all?
>
>
> Also, why is it that you think you need to know about the part numbers?
> Perhaps you are asking the wrong question ;-)
>
>
>
> Jim
>
>
>
>
>
>
>
> *From:* [email protected] [mailto:[email protected]] *On Behalf
> Of *Road Jogger
> *Sent:* Thursday, March 18, 2010 8:04 AM
> *To:* [email protected]
> *Subject:* jBASE
>
>
>
> 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
>
> --
> 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

Reply via email to