IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

PL/1 calling Assembler Modules


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri Sep 14, 2012 2:55 pm
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Sep 14, 2012 6:36 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
No new posts Calling an Open C library function in... CICS 1
No new posts Build dataset list with properties us... PL/I & Assembler 4
No new posts Finding Assembler programs PL/I & Assembler 5
Search our Forums:

Back to Top