Skip to main content

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?

Thanks


#EnterpriseDeveloper

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?

Thanks


#EnterpriseDeveloper

Hi Miguelm,

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.


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?

Thanks


#EnterpriseDeveloper

Hi Miguelm,

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.


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?

Thanks


#EnterpriseDeveloper

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,

Miguelm


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?

Thanks


#EnterpriseDeveloper

Hi Miguelm,

Did you tried.

Not sure about C program as an exe called by JCL, But Cobol as an exe can be called by JCL