Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

AMODE issues with Enterprise PL/1 conversion

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
Aravind S

New User


Joined: 15 Sep 2009
Posts: 2
Location: Chennai

PostPosted: Thu Feb 18, 2010 12:02 am    Post subject: AMODE issues with Enterprise PL/1 conversion
Reply with quote

We are converting one of our application programs to Enterprise PL/1. As part of that we modified the programs which had AMODE=24 to AMODE=31 as enterprise PL/1 will support only AMODE 31. Initially it was working fine but after some days the transaction were failing.

From the fault analyzer we got the below error description;

EDC5052S The application is running with AMODE=24 while the run-time
library was installed above the line.

Below is the events information;


Code:
    Event         Fail   Module        Program  EP                         
#   Type          Point  Name          Name     Name     Event Location (*)
--  ------------  -----  --------      -------- -------- -------------------
 1  Link                 DFSPCC20      DFSPCC20 DFSPCC20 P+3F8 E+3F2       
 2  Link                 DFSPCC20      DFSPCC20 DFSPCC20 P+91C E+916       
 3  Call         *****   UCSSZZI       DLITCBL  n/a      P+15E             
 4  Call                 CEEBINIT      n/a      n/a      M+5912             
 5  Call                 CEEBINIT      n/a      n/a      M+482C             
 6  Call                 CEEPLPKA      n/a      n/a      M+BFF06           
 7  Call                 CEEPLPKA      n/a      CEEZINV  E+C58             
 8  Abend U4038          CEEEV003      n/a      _cinit   E+2288             
 9  Call                 CEEPLPKA      n/a      CEEHDSP  E+3444             
10  Call                 IBMREV10      n/a      CEEEV010 E+224             
11  PIC 0001(Abend S0C1) CEEPLPKA      n/a      n/a      M+A643C           
12  Abend U4036          CEEPLPKA      n/a      n/a      M+BABE0 



We could confrim from fault analyzer that UCSSZZI was running with AMODE 24 and hence the culprit. This is a assembler program and acts as application interface module. This program is coded for AMODE=ANY and RMODE=24.

My question is;

1. Is that possible like this program UCSSZZI can some time run with AMODE 24 and some other time with AMODE 31?
2. How is the AMODE is decided for 'AMODE ANY' programs?
3. What should be the fix for this issue? Do I have to code AMODE=31 explicitly for this program?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Thu Feb 18, 2010 12:16 am    Post subject: Reply to: AMODE issues with Enterprise PL/1 conversion
Reply with quote

Quote:
1. Is that possible like this program UCSSZZI can some time run with AMODE 24 and some other time with AMODE 31?
2. How is the AMODE is decided for 'AMODE ANY' programs?
3. What should be the fix for this issue? Do I have to code AMODE=31 explicitly for this program?


1) use AMODE(ANY)
2) at bind/link time an AMODE(any) csect will not influence the load module AMODE
2a) if the amode(any) csect is the only csect in the load module the load mule AMODE wiull be ANY
3) read and understand the program logic and fix the addressing mode dependencies

look at the linkage editor manuals for the details
Back to top
View user's profile Send private message
Aravind S

New User


Joined: 15 Sep 2009
Posts: 2
Location: Chennai

PostPosted: Sat Feb 20, 2010 10:51 pm    Post subject:
Reply with quote

Hi Enrico,

Can you provide the link for some good linkage editor manuals?
I tried in the net and not able to find a relevant material.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Sat Feb 20, 2010 11:40 pm    Post subject: Reply to: AMODE issues with Enterprise PL/1 conversion
Reply with quote

odd that You could not find anything...
start from
http://www-03.ibm.com/systems/z/os/zos/bkserv/index.html
proceed to the bookshelf for Your zOS release ( 1.9 ) for example
http://www-03.ibm.com/systems/z/os/zos/bkserv/v1r9books.html
and then to
http://www-03.ibm.com/systems/z/os/zos/bkserv/zshelves9.html
and then to
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IEA2BK81
and then to

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B271/CCONTENTS?SHELF=IEA2BK81&DN=SA22-7644-08&DT=20080121050340
and
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B170/CCONTENTS?SHELF=IEA2BK81&DN=SA22-7643-06&DT=20070605085148
where the chapter
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2B170/2.4?SHELF=IEA2BK81&DT=20070605085148
will tell all You might want to know about AMODE and RMODE
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts ODPP(Optim Data privacy Provider) Iss... Rama kishore IBM Tools 1 Mon Nov 07, 2016 5:46 pm
No new posts Conversion of a VB file to FB. isssal DFSORT/ICETOOL 1 Mon Oct 31, 2016 10:23 pm
No new posts EBCDIC to ASCII conversion using OCOPY mistah kurtz All Other Mainframe Topics 5 Tue Sep 06, 2016 2:26 pm
No new posts Comparex utility to Syncsort conversion mistah kurtz SYNCSORT 11 Fri Jul 22, 2016 1:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us