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
 

 

PL/1 calling Assembler Modules

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
View previous topic :: :: View next topic  
Author Message
anil_k_batra@yahoo.com
Currently Banned

New User


Joined: 14 Dec 2005
Posts: 2
Location: Gurgoan

PostPosted: Fri Sep 14, 2012 2:16 pm    Post subject: PL/1 calling Assembler Modules
Reply with quote

We have Compiled and executed program with Enterprise PL/1 . This program is compiled as NOENT, AMODE(31), RMODE(24).

PL/1 Run

5018100...z.zBROADBENT
FFFFFFF110A0ACDDCCCCDE4444444444
501810074C9C92961425530000000000


Enterprise PL/1

5018100.(.z.z ..HN........
FFFFFFF040A0A444400CD00000214444
50181005DC9C9000005850000034C000


This program is calling some Assembler routines (AMODE 24, RMODE 24) for different processing. These Assembler programs are not recompiled again.

Do we need to recompile the Assembler Modules?

Do we have any other compilation options?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Fri Sep 14, 2012 2:55 pm    Post subject: Reply to: PL/1 calling Assembler Modules
Reply with quote

the AMODE/RMODE settings depend on the PROGRAM functions performed

nowadays having AMODE/RMODE 24 is a bit outdated

work with the developers of the assembler program to see if it can be converted to RMODE(ANY),AMODE(31)
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Sep 14, 2012 6:36 pm    Post subject: Reply to: PL/1 calling Assembler Modules
Reply with quote

Do the Assembler modules contain (for example) DCB's, subsequent calls to 24-Bit sub-programs, etc?

If not (and as Enrico has advised), work with the Assembler support people and a simple re-assembly and link (AMODE 31 / RMODE ANY) should fix this problem.

AMODE 24 sub-programs cannot address AMODE 31 data. The top byte of the parmlist-register (R1) gets lopped-off in the sub-program, resulting in a bad address and a S0C4.
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 Calling procedure with multiple entri... steve-myers PL/I & Assembler 5 Fri Jan 27, 2017 3:33 pm
This topic is locked: you cannot edit posts or make replies. Calling REXX code from ISPF panel sanchita dey TSO/ISPF 4 Mon Jan 02, 2017 5:13 pm
No new posts A not very Christmassy PL/I tale, wit... prino PL/I & Assembler 3 Mon Dec 26, 2016 1:01 am
No new posts "DFSRRC00 vs IKJEFT01" for ... arunsoods All Other Mainframe Topics 5 Fri Aug 12, 2016 9:54 pm
No new posts How to get the program name of callin... pkmurali COBOL Programming 8 Mon Aug 01, 2016 3:36 am


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