HP3000-L Archives

July 2001, Week 1

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Larry Barnes <[log in to unmask]>
Reply To:
Larry Barnes <[log in to unmask]>
Date:
Fri, 6 Jul 2001 10:53:16 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (55 lines)
I have an interesting problem using the FINFO command with message files.
We have several msg files being written to using Netbase.
In the past we would check the current EOF of these message files and when
then reached a certain number of records we would do something.
Recently this process is not working correctly.  Look at the example below.
In it I do a listf of all the files in Queue.Netbase.  The miitem file shows
52,999 records on the first pass.  I then set a variable "MI" using the
finfo command with the 'EOF' option.  The variable comes back with the value
of  1.
I then quickly do a couple of redo's.  Even though the number of records in
the miitem file have decreased by 144 records the variable remains at 1.

Why doesn't finfo work when there are multiple accessors to a file?  Is
there a work around using MPEX or a different variable?

:L2 @.QUEUE.NETBASE
ACCOUNT=  NETBASE     GROUP=  QUEUE

FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX

MIITEM  *        8187W  VBM      52999      31007   1  1984448  * 32

:SETVAR MI FINFO('MIITEM.QUEUE.NETBASE','EOF')
:SHOWVAR MI
MI = 1

:DO-2

ACCOUNT=  NETBASE     GROUP=  QUEUE

FILENAME  CODE  ------------LOGICAL RECORD-----------  ----SPACE----
                  SIZE  TYP        EOF      LIMIT R/B  SECTORS #X MX

MIITEM  *        8187W  VBM      52855      31007   1  1984448  * 32

:DO-2
:SETVAR MI FINFO('MIITEM.QUEUE.NETBASE','EOF')
:SHOWVAR MI
MI = 1


Larry A. Barnes
Systems Administrator - HP3000
Coldwater Creek Inc.
Voice: 208 265-3927
Fax:   208 265-3203
Cell:  208 610-0127
E-mail page:
  mailto:[log in to unmask]
http://www.coldwatercreek.com

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2