Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10326
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: 2504
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 Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts Sr SW Eng-Rocket Software (Assembler,... Kenneth Barton Lasky Mainframe Jobs 0 Fri Aug 25, 2017 12:29 am
No new posts Calling CLIST through job and REXX Sahasra K CLIST & REXX 19 Tue Aug 01, 2017 10:25 am
No new posts Could we identify the called modules ... elixir1986 COBOL Programming 5 Fri Jul 14, 2017 1:53 am
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us