HP3000-L Archives

November 2001, 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:
Per Ostberg <[log in to unmask]>
Reply To:
Date:
Fri, 23 Nov 2001 15:20:15 +0100
Content-Type:
text/plain
Parts/Attachments:
BDY.TXT (82 lines)
this works for me:
...
listfile /ECOMM/EDI/outbox/pinnacle/;seleq=[object=file];format=0 >  
edisf
...
if finfo('edisf','end of file') > 2 then
   print edisf;start=3;end=-3
 else
...


hth
/per
--------------------------------------------------
Per Östberg  / [log in to unmask]
tel 08-585 812 13  
mob 070-484 02 53 / fax 08-585 877 10
LabMedicin-IT, Huddinge Universitetssjukhus
C1 51 / 141 86  HUDDINGE
--------------------------------------------------


> -----Ursprungligt meddelande-----
> Från: robert.mills /internet
> [mailto:[log in to unmask]]
> Skickat: den 23 november 2001 15:03
> Till: HP3000-L /internet
> Kopia: robert.mills /internet
> Ämne: [HP3000-L] Removing 'path' from :listfile output
>  
>  
> I have a 'user' executable command file that lists the  
> contents of several
> HFS directories to their screen (see below for an example). I  
> only want to
> show the actual file name to the user. The full path name or  
> any other info
> is not required.
>  
> echo ---- Pinnacle Outbound Messages
>  
> setvar hpmsgfence 2
> listfile  
> /ECOMM/EDI/outbox/pinnacle/;seleq=[object=file];format=6 > edisf
> setvar hpmsgfence 0
>  
> if finfo('edisf','end of file') > 0 then
>   print edisf
> else
>   echo *I* There are NO messages waiting.
>   endif
>  
> regards,
> Robert
> *****************************
> Robert W.Mills, Systems Development Manager, Windsong Services
> Electron House, Cray Avenue, St. Mary Cray, Kent BR5 3PN, ENGLAND
> Tel: +44 (0)1689.870622 x 3005  Fax: +44 (0)1689 899026
> [log in to unmask]
> ********************************
> The thoughts, comments, and opinions expressed herein are mine.
> They do not reflect those of my employer, nor anyone else.
> ********************************
> ***Confidentiality Notice: This e-mail message, including any  
> attachments,
> is for the sole use of the intended recipients and may  
> contain confidential
> and privileged information. Any unauthorized review, use,  
> disclosure or
> distribution is prohibited. If you are not the intended  
> recipient, please
> contact the sender by reply e-mail and destroy all copies of  
> the original
> message.
>  
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>  

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

ATOM RSS1 RSS2