I think you'll find that multiple entry points are NOT permitted for a PL/I Main Program; only for a subroutine, where the PL/I environment vis-a-vis save areas, error handling, etc. are already established.

Rick
------------------------------------------------------------------------------------------------
Munif Sadek wrote:

Dear Listerr

I am trying to create multiple entry point for single  PL/1 Load module. My 
source is

MSTST : PROC OPTIONS (MAIN) REORDER; DEFAULT RANGE(*) STATIC; PUT SKIP LIST('====> MSTST ENTRY POINT'); END; MSTSTE: PROCEDURE; MSTST1: ENTRY; PUT SKIP LIST('====> MSTST1 ENTRY POINT'); END;
and           my Binder is

//SYSLIN DD * INCLUDE PLIOBJ SETSSI 00000040 ALIAS MSTSTE NAME MSTST(R) /*
In my load library I am getting MSTST load module created and ALIAS MSTSTE 
created for LOAD MSTST. I can run  MSTST but MSTSTE fails with S0C4 RSN0004.  
Any pointers in right direction please.. regards

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to