How to run a .exe on a JCL
I am trying to run an .exe program thru a JCL in MFE, I searched for the equivalent of BPXBATCH utility but I could not find any. can someone help?
We did this by writing cobol program (Micro Focus Cobol) which invokes the exe and calling that program thru jcl.
So what i am suggesting is JCL invokes >> Cobol program >> exe.
But it lot depends on exact requirement. We can write a custom program for same.
Let me know if this helps.
Thanks for your response to my question Cheetalm, sorry for the delay but for some reason I did not get the email I was supposed to receive when someone posted an answer. About your suggestion, I appreciate it but that is what I had in the first place. I wrote a Cobol and a c program that is being called by the Cobol as a DLL. I wanted to try a different approach by compiling the c program as an .exe and see if I could call it directly from the JCL
Again, I appreciate you taking the time to answer my question.
Thanks and regards,