ABL already supports stream-handles to access statically defined streams in a more dynamic way. But there is no way to instantiate a stream dynamically. Or to check dynamically in what mode the stream is currently open etc.)

It would be good if there was a stream object that a) can be instantiated dynamically and b) can be used to expose the current state of the stream.

The dynamic instantiation can be useful when you need to create an arbitrary set of files, where it is more efficient to write the files in parallel, but you do not know the number of files to create up-front. For example, if you need to dump the results of a single query into multiple files, but not all files are required all the time.