Skip to main content

Hi Team,

i have a question on the below scenario in mainframe and how it get handled in Microfocus.

program A 

Call   'ADPROGRAM'  USING 

program B

ENTRY 'ADPROGRAM'

in mainframe program A is linkedited like INCLUDE SYSLIB(ADPROGRAM)

so when it comes to microfocus 

1. i complied program A and program B as usual 

2.Environment variables setup in Enterprise server as below

[Es-Envirnoment]

COBCONFIG_=C:\\location of cobcfg.cfg file 

ENTRYMAPNAME=C:\\location of mfentmap.dat

Here are the contents of the cobcfg.cfg

set entry_point_mapper=TRUE

below are the contents of mfentmap.dat file

[ENTRY-POINT] ADPROGRAM

[PROGRAM-NAME]  ProgramA

[SUBPROGRAM-NAME] program B 

when I try this - during runtime i get abend showing ADPROGRAM is not found.

Thank you 

Suresh


#EnterpriseDeveloper

Hi Team,

i have a question on the below scenario in mainframe and how it get handled in Microfocus.

program A 

Call   'ADPROGRAM'  USING 

program B

ENTRY 'ADPROGRAM'

in mainframe program A is linkedited like INCLUDE SYSLIB(ADPROGRAM)

so when it comes to microfocus 

1. i complied program A and program B as usual 

2.Environment variables setup in Enterprise server as below

[Es-Envirnoment]

COBCONFIG_=C:\\location of cobcfg.cfg file 

ENTRYMAPNAME=C:\\location of mfentmap.dat

Here are the contents of the cobcfg.cfg

set entry_point_mapper=TRUE

below are the contents of mfentmap.dat file

[ENTRY-POINT] ADPROGRAM

[PROGRAM-NAME]  ProgramA

[SUBPROGRAM-NAME] program B 

when I try this - during runtime i get abend showing ADPROGRAM is not found.

Thank you 

Suresh


#EnterpriseDeveloper

Hi Suresh, which directives do you compile with, are the directives different between mainframe / Enterprise Server? 

Do you need the called program to be addressable via an entrypoint, using entry_point_mapper?


Hi Team,

i have a question on the below scenario in mainframe and how it get handled in Microfocus.

program A 

Call   'ADPROGRAM'  USING 

program B

ENTRY 'ADPROGRAM'

in mainframe program A is linkedited like INCLUDE SYSLIB(ADPROGRAM)

so when it comes to microfocus 

1. i complied program A and program B as usual 

2.Environment variables setup in Enterprise server as below

[Es-Envirnoment]

COBCONFIG_=C:\\location of cobcfg.cfg file 

ENTRYMAPNAME=C:\\location of mfentmap.dat

Here are the contents of the cobcfg.cfg

set entry_point_mapper=TRUE

below are the contents of mfentmap.dat file

[ENTRY-POINT] ADPROGRAM

[PROGRAM-NAME]  ProgramA

[SUBPROGRAM-NAME] program B 

when I try this - during runtime i get abend showing ADPROGRAM is not found.

Thank you 

Suresh


#EnterpriseDeveloper

Hi Suresh, do you need any further assistance with this?