CALL "C$LIST_DIRECTORY" USING LISTDIR-OPEN                                 directoryName                                 pattern                         GIVING listdirHandle  | 
LISTDIR-OPEN   | Constant   | |
directoryName  | PIC X(n)   | Specifies the name of an existing the directory.  | 
pattern   | PIC X(n)   | It specifies a value representing the name to be matched. It can contain wildcard characters, for example, an asterisk (*) or a question mark (?).  |