Re: DYNAM vs NODYNAM

2021-09-21 Thread Frank Swarbrick
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  on behalf of 
Tony Thigpen 
Sent: Tuesday, September 21, 2021 8:47 AM
To: IBM-MAIN@LISTSERV.UA.EDU 
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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: DYNAM vs NODYNAM

2021-09-21 Thread Erik Janssen
Ah yes,

That makes sense.

Kind regards,
Erik.


On Tue, 21 Sep 2021 10:47:37 -0400, Tony Thigpen  wrote:

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

>send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: DYNAM vs NODYNAM

2021-09-21 Thread Tony Thigpen

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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


DYNAM vs NODYNAM

2021-09-21 Thread Erik Janssen
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 lists...@listserv.ua.edu with the message: INFO IBM-MAIN