Skip to main content

How can I call a PC-exe from a mainframe program

  • February 15, 2013
  • 0 replies
  • 0 views

Problem:

For every pc-program to be called from a mainframe program there must be written a COBOL

interface program with the name of the pc-program to be called.  This interface program then calls via Call   cbl_exec_run_unit  the pc program to be invoked.

Sample hpro.cbl and pc-exe.cbl are appended.

If parameters are passed forward and backward the interface program has to take care

for the correct translation from EBCDIC to ASCII and reverse.

Resolution:

Attachments:

hpro.cbl

Old KB# 6676

#EnterpriseDeveloper
#MFDS