Here's one of those teachable moments, Peter. Yes, that will do what is wanted, but what is wanted won't be what is wanted. Unless what is wanted is something else.
If you CALL an ENTRY (having ALIASed it by whatever manner) having previous CALLed the "executable" that the ENTRY is an ALIAS of, you end up with two executables in memory, identical but completely separate. There is no connection between the two executables, they exist entirely without knowledge of the other. It didn't used to be like this. Now it is. If you had a COBOL program, with multiple entry-points, you changed it to be passed an indication of which route should be taken through the program. That is, if it needed to be aware of data from CALLs to other entry-points. If it didn't need to be aware of CALLs to other entry-points, just make it a new program. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
