I believe the following test will be 100% reliable for the NetRexx
If the file contains a '00'x ('\0') character, it's a binary file.
Otherwise it's a text file.
IBM Fellow, IBM UK Laboratories
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email] with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>