HP3000-L Archives

March 2000, Week 2

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:
Reply To:
Date:
Mon, 13 Mar 2000 20:39:06 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (115 lines)
Hi Rich,
For a long time now I have used the following to look at the eof of a message
file:
FILE M=filename,old;gmulti;shr
LISTF filename,2 < *M
LISTF filename,2 < *M
I am not sure, but I believe that LISTFILE does not suffer from this problem,
Jeff V will probably make a comment on this.
Regards,
Tad.






Internet

From:     [log in to unmask] on 13/03/2000 17:24 GMT



Pour :    HP3000-L

cc :

ccc:  Tad BOCHAN

Objet :   Re: Message file and listf




Chris,
  Not sure why, but we've seen this many times...Usually doing the first
:LISTF is bogus, but following ones are accurate; Seems like something it's
flushed until (After) you look at it.

RAT

_______________________________________________________________________
 Rich Trapp "RAT"
 Managed Business Solutions   [log in to unmask]   http://www.mbsnav.com
 Assigned to Design Automation Support at Agilent Technologies
 (Telnet) or (970) 679-2221  [log in to unmask]  Loveland, Colorado, USA

_______________________________________________________________________


-----Original Message-----
From: Chris Schofield [mailto:[log in to unmask]]
Sent: Monday, March 13, 2000 9:41 AM
To: [log in to unmask]
Subject: Message file and listf


Hi Everyone

I have a message file defined as follows

FILE: CTRIN.CTR.DKA

FILE CODE : 0                   FOPTIONS: ASCII,VARIABLE,NOCCTL,MSG
BLK FACTOR: 1                   CREATOR : **
REC SIZE: 300(BYTES)            LOCKWORD: **
BLK SIZE: 310(BYTES)            SECURITY--READ    : ANY
EXT SIZE: 258(SECT)                       WRITE   : ANY
NUM REC: 0                                APPEND  : ANY
NUM SEC: 1264                             LOCK    : ANY
NUM EXT: 5                                EXECUTE : ANY
MAX REC: 1031                           **SECURITY IS ON
                                FLAGS   : NO ACCESSORS
NUM LABELS: 0                   CREATED : THU, FEB 17, 2000, 11:14 AM
MAX LABELS: 0                   MODIFIED: MON, MAR 13, 2000,  2:34 PM
DISC DEV #: 1                   ACCESSED: MON, MAR 13, 2000,  2:35 PM
SEC OFFSET: 0                   LABEL ADDR: **
VOLCLASS  : MPEXL_SYSTEM_VOLUME_SET:DISC

I have a C (posix) program waiting on a FREAD on this file.

LISTF,2 reports a non zero EOF when I know it is empty.

If I run SH.HPBIN.SYS and examine the file using ls then the size is zero
bytes (correct !)

Then (bizarrely) if exit SH and redo LISTF,2 the EOF is 0 (correct !)

I am running MPE 5.5.

Any Ideas ?


Chris





-----------------------------------------------------------------------------
This message is confidential; its contents do not constitute a
commitment by BNP Paribas Group* except where provided for in a written agreement
between you and BNP Paribas Group*. Any unauthorised disclosure, use or
dissemination, either whole or partial, is prohibited. If you are not
the intended recipient of the message, please notify the sender
immediately.
*BNP Paribas Group  is a trading name of BNP SA and Paribas SA

Ce message est confidentiel; son contenu ne représente en aucun cas un
engagement de la part du groupe BNP Paribas* sous réserve de tout accord conclu par
écrit entre vous et le groupe BNP Paribas*. Toute publication, utilisation ou
diffusion, même partielle, doit être autorisée préalablement. Si vous
n'êtes pas destinataire de ce message, merci d'en avertir immédiatement
l'expéditeur.
*Le groupe BNP Paribas est le nom commercial utilisé par BNP SA et Paribas SA

ATOM RSS1 RSS2