I am doing some testing with file attributes that I want to automate. I have been using the DSPFD command to print the attributes of the file. I would now like to automate that. I tried dumping the output of the command to an outfile and then using FNDSTRPDM to find out if the attribute was set correctly. The outfile is a database file so the fndstrpdm doesn't really work for me as my output is in hex.
Does anyone have any ideas on how I might accomplish this?