Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
closedir z/OS Using REXX and z/OS UNIX System Services SA23-2283-00 |
|
Functionclosedir invokes the closedir callable service to close a directory. Parameters
Usage notesclosedir closes a directory file descriptor opened by the opendir syscall command. The rddir command reads a directory in the readdir callable service format. You can use opendir, rewinddir, and closedir together with the rddir syscall command, but not with the readdir syscall command. Alternatively, you can simply use the readdir syscall command to read an entire directory and format it in a stem. ExampleIn the following example, assume that fd was assigned
a value earlier in the exec:
|
Copyright IBM Corporation 1990, 2014
|