That got me on the right track, thanks. I don't know about other U2 systems, but UniData required DIR instead of F in the first line of the VOC entry. Everything else was the same though.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 11:07 AM To: [EMAIL PROTECTED] Subject: Re: [U2] Counting the number of files in a directory In a message dated 6/22/2004 8:47:20 AM Pacific Daylight Time, [EMAIL PROTECTED] writes: > I can handle running the 2 functions and scheduling the program to run > every 30 seconds or so, but I'm not quite sure how to poll the directory. The > directory is D:\Roi\PLACON.MAIN\INBOUND.EDI and the file I want to check for > is EDI.TXT and return a true/false (1/0) to decide whether to continue > processing. Can anyone give me an example of this? Thanks in advance. Can't you create a file pointer directly to this location? Like in VOC an entry like MYFILE 001 F 002 D:\Roi\PLACON.MAIN\INBOUND.EDI 003 D_VOC Now LIST MYFILE at TCL and see what happens. Will ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
