HP3000-L Archives

July 1996, 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:
Leonard Berkowitz <[log in to unmask]>
Reply To:
Date:
Tue, 9 Jul 1996 14:44:48 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (25 lines)
1. Is there a way that an executing MPE/iX command file can determine its
name (file-name, group, account)?
 
2. Can I perform I/O on a file within a loop and read successive records? I
tried a WHILE loop but I keep reading the same record:
 
    SETVAR COUNTER 1
    WHILE COUNTER < FINFO ("file","EOF) DO
        INPUT variable<file
        do something else
        SETVAR COUNTER COUNTER + 1
    ENDWHILE
 
   I think I know how to do this within MPEX using its FILE I/O FUNCTIONS, but
I'd rather do it at the MPE/iX level.
 
3. How could I have constructed a search within LaserRom/PC to have answered
these questions?
 
Thanks,
 
Leonard Berkowitz
RIAG (Warren, Gorham & Lamont)
617-292-8349 (E. D. T.!!!)

ATOM RSS1 RSS2