Subject: | |
From: | |
Reply To: | |
Date: | Mon, 2 Oct 2000 08:57:00 -0500 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
This might be a little on the simple side, but how about,
1) Use HPCICOMMAND intrinsic to Purge LISTOFF
2) Use HPCICOMMAND intrinsic to Build LISTOFF
3) Accept FILE-SET-STRING
4) String
'LISTFILE ' Delimited By Size,
FILE-SET-STRING Delimited By " ",
",6 > LISTOFF" Delimited By Size
Into HPCICOMMAND-IMAGE
End-String
5) Open Input LISTOFF
6) Read LISTOFF At End
What ever is appropriate
End-Read
What it is you want to do with the file names
7) Close LISTOFF
This is not the most sophisticated way to get from here to there, but it does
have the advantage of being able to get you a list of files for all the wild
carding that the OS supports with no need to continually update your program
should new wild card characters be added.
Just a thought.
This E-Mail & responses may be reviewed by BCBS NE security.
BCBS NE
2401 South 73rd Street
P.O.Box 241739
Omaha NE 68124-5739
Phone 402 392 4223 Fax 402 392 4158
E-Mail [log in to unmask]
|
|
|