Skip to main content

Consolidated Tracing Facility

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

How to search a directory for a given file specification (e.g. *.cbl)?

Resolution:

The routine x"91" function 69 can be used to search a directory for a given file specification. Another way also is to call to FindFirstNext, a WinAPI function.

You will find a demo for each of this routine at the Micro Focus SupportLine site (http://supportline.microfocus.com) in the "Net Express Examples & Utilities" page. The one for x"91" function 69 is called DIRLIST.ZIP while the one for FindFirstNext is called FINDFIRSTNEXT.ZIP.

Old KB# 5347

0 replies

Be the first to reply!