HP3000-L Archives

June 1998, Week 4

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:
Tony Peters <[log in to unmask]>
Reply To:
Date:
Thu, 25 Jun 1998 14:09:13 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (59 lines)
On March 10, 1998, [log in to unmask] wrote:

   << For some reason, I always got hung up on counting the number of
      records in a msg file, then reading no more than that number.
      I like this technique better.
      <snip>
      I wondered how this could be made easier, specifically without
      using a MSG file.
      <snip>
      Robelle's Qedit came to mind first.  That is, you could use something like
              !showdev DAT > tapef
              !run qedit.pub.robelle; parm=4; info='list tapef "(W)"'
              !if qeditcount > 0
              !   setvar tapeok  "YES"
              !else
              !   setvar tapeok  "NO"
              !endif
      And if you have MPEX, some variant of
              %print tapef; search="(W)"
      would likely work as well.
      
      While I hope both of these products are on most systems, they're
      not bundled with FOS.
      <snip> rest of stuff
            >>

I agree that these are all possible methods, but first, we do not have either of
these two products, and second, when MPE became a full fledged programming 
language complete with variables, we eliminated all command files that ran 
another program or subsystem such as Editor to do this type of work.

We are a 100% Speedware shop using Designer and have never seen any need for 
editor programs other than QUAD or (gasp) Editor for occasional operations duty.

We make extensive use on MSG message files for inter process communication and 
temp files as you do not have to keep track of pointers or index through the 
file, MPE does it for you.  

The extra code to check for a file's existence before doing anything with it is 
part of our standard procedures.  Our jobs or command files must produce NO 
ERRORS  as part of their routine operation, as our JEDI program will pick them 
up and Page someone. 

These type of command files are quick and require no third party products, so 
are useable on all current FOS machines.

FWIW
                                          Tony Peters                     
       _/_/_/_/_/           _/_/_/_/_/    Project Manager - New Technology
      _/            _/     _/      _/     S&C Electric Canada Ltd          
     _/            _/     _/              90 Belfield Rd                   
    _/_/_/_/_/  _/_/_/   _/               Toronto ON  M9W 1G4              
           _/    _/     _/                Ph  416 249-9171                 
          _/    _/     _/      _/         Fax 416 249-3193                 
 _/_/_/_/_/           _/_/_/_/_/          Email   [log in to unmask]        
                                                                           
My Thoughts, My Fault.  Don't blame anyone else, cause they have no idea 
what I am thinking.  Good thing too.

ATOM RSS1 RSS2