Actually, my dynamic calls work just fine to the alias'ed entry points so it's 
not an issue.
Bottom line, I' fine with my module's structure both in its primary entry point 
and its aliased entry point.
All I am looking for is whether the COBOL compiler can do PUNCH statements like 
some of the assemblers and I believe it has been pointed out already that it 
doesn't support it.
So, I'm going to have to move on to the compiling tool we use and modify it to 
support alternate link parm input.

Thanks for your comments.


Charles (Chuck) Hardee
Senior Systems Engineer/Database Administration
EAS Information Technology

Thermo Fisher Scientific
300 Industry Drive | Pittsburgh, PA 15275
Phone +1 (724) 517-2633 | Mobile +1 (412) 877-2809 | FAX: +1 (412) 490-9230
[email protected]  | www.thermofisher.com

WORLDWIDE CONFIDENTIALITY NOTE: Dissemination, distribution or copying of this 
e-mail or the information herein by anyone other than the intended recipient, 
or an employee or agent of a system responsible for delivering the message to 
the intended recipient, is prohibited. If you are not the intended recipient, 
please inform the sender and delete all copies.


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Bill Woodger
Sent: Thursday, August 04, 2016 5:56 PM
To: [email protected]
Subject: Question about the COBOL compiler

Well, static or dynamic matters. 

Static CALLs will work to ENTRY points in the expected way (previous state of 
program, whether PROGRAM-ID any other ENTRY was CALLed previously). 

Dynamic CALLs to ENTRY points, even once ALIASed, will not do what you probably 
expect. If you expect to have "previous state" when another entry-point was 
used - you won't.

----------------------------------------------------------------------
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