Getting file Open issue when program thru micro focus dialect

My program reading the sequential file (flat)  and writing the same thing into output file (flat). This one got executed when I tried with ZOS Enterprise Dialect.

However if I compiled thru Micro focus dialect getting incompatible issue and getting file status as 47.


We tried in Input and I-O modes, Getting same issue for both the modes.

Could you please help me out.