Is it possible to get file sizes via fileset-local directory parse, or to pause a read in-process without stopping the thread, in order to regulate flow more granularly?
If you are on CL release 6.0 or later, I believe checking the box for extended file specification in the Fileset Local Protocol will provide (among other things) the file size. When asking for the extended file specifications, the resulting list is a list of lists.
Then in the Dirparse UPoC you can check the file size and do whatever you want. If I am incorrect and the file spize is not one of the extended specifications provided, you can always use Tcl commands to get the file size for each file in the DirParse list.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
I’m wondering where I can find that mysterious check box? I cannot find it in my files/local protocol settings. Could you please assist? Maybe a screenshot?