HP3000-L Archives

October 2000, Week 1

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:
Jim Brust <[log in to unmask]>
Reply To:
Jim Brust <[log in to unmask]>
Date:
Mon, 2 Oct 2000 08:57:00 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
        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]

ATOM RSS1 RSS2