PC routine definition problem.

The ETCON macro has a parameter ELXLIST defined as an "area that contains 
extended linkage index (LX) values"  but  "extended linkage index" is not 
defined.
It is not found in the Extended Addressability Guide or in Authorized Assembler 
Services Guide (or the unauthorized version).

Address space A produces and defines a PC routine that is successfully called 
by address space A using the PC instruction.   However, any other address space 
fails with a S0C4 when the PC is similarly called.

The goal is to define a PC routine in address space A capable of being invoked 
by any other address space.

Address space A creates a Name/Token pair to pass the LXINDEX of the PC to 
address space B.
That communication works fine; the LX value is accurate — but the index seems 
to only work with address space A.   It's as if something is missing, and it 
probably is.

Summary of code in A that creates the LX  (not all parameters shown):
   LXRES SYSTEM=YES,
   ETDEF TYPE=SET,HEADER=ETDEFS,
   ETDEF TYPE=SET,ETEADR=ETDEF1,ROUTINE=(2),STATE=SUPERVISOR,SSWITCH=NO,
   ETCRE ENTRIES=ETDEFS
   ETCON TKLIST=ETE,LXLIST=LXL,
All macros return R15=0.

What's interesting is this PSW in address space B when it fails:
   PSW AT TIME OF ERROR  078C0000   A0105000  ILC 2  INTC 11 A

The PSW address A0105000 is the same address as the PC routine in address space 
A,  but the failure is in address space B.    Address A0105000 in B points to 
x'00002010 53600900' etc.     A S0C1 should have occurred given that the 
storage starts with hex zeros.

Address 20105000 in addeess space A  points to x' A7F40018'  (Jump instruction).

Does "extended linkage index" have anything to do with this situation?

Any feedback appreciated
Richard Zierdt 301-219-2627

Confidentiality Warning/Avertissement de confidentialité:

This message is intended only for the named recipients. This message may 
contain information that is privileged or confidential. If you are not the 
named recipient, its employee or its agent, please notify us immediately and 
permanently destroy this message and any copies you may have. Ce message est 
destiné uniquement aux destinataires dûment nommés. Il peut contenir de 
l'information privilégiée ou confidentielle. Si vous n'êtes pas le destinataire 
dûment nommé, son employé ou son mandataire, veuillez nous aviser sans tarder 
et supprimer ce message ainsi que toute copie qui peut en avoir été faite.

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

Reply via email to