If you use the integrated CICS translator you can use the newish 
>>CALLINTERFACE DYNAMIC statement in order to be able to use CALL literal and 
have it be a dynamic call.  All calls to DFHEI1 are still statically called 
when you do this.

I'd like to see the NODYNAM requirement for CICS lifted.
________________________________
From: IBM Mainframe Discussion List <[email protected]> on behalf of 
Tony Thigpen <[email protected]>
Sent: Tuesday, September 21, 2021 8:47 AM
To: [email protected] <[email protected]>
Subject: Re: DYNAM vs NODYNAM

Because the translator generates:
  Call 'DFHEI1' .....
And you don't want them dynamic.

Tony Thigpen

Erik Janssen wrote on 9/21/21 9:57 AM:
> Hello All,
>
> In the COBOL documentation at 
> https://www.ibm.com/docs/en/cobol-zos/6.2?topic=environment-choosing-dynam-nodynam-compiler-option
>  it is said that for example CICS requires the NODYNAM compile option. My 
> idea was that the sole purpose of DYNAM vs NODYNAM was to control dynamic vs 
> static calls, where DYNAM will always lead to dynamic calls, but with NODYNAM 
> only a CALL literal will lead to a static call, a CALL identifier will still 
> lead to a dynamic call. So is it only possible under CICS to use CALL literal 
> in this case (must all calls be static), or can you still use dynamic calling 
> with a CALL identifier? And if the latter is the case, then why is there a 
> requirement to use NODYNAM? Is there some other effect of DYNAM vs NODYNAM 
> that I'm not seeing?
>
> Kind regards,
>
> Erik Janssen.
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to