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

How to call an assembler program from another asm program?


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Harsh Pawar

New User


Joined: 04 Jun 2008
Posts: 25
Location: Noida

PostPosted: Wed Jul 22, 2009 11:27 pm
Reply with quote

It seems to be a very basic instruction:

How do we call an assembler module from another assembler module.
i want the syntax.

And is there anything called static call and dynamic call in assembler like we have in cobol ?

Regards,
Harry
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jul 22, 2009 11:36 pm
Reply with quote

1 way is to use a V-type address.

Another way is to use the CALL macro, referenced in the Assembler Services manual.

Another way is to use the LINK macro, referenced as well in the Assembler Services macro.

Reading the Assembler Services macro will tell you the syntax, the pitfalls, and all the details of these instructions.
Back to top
View user's profile Send private message
Harsh Pawar

New User


Joined: 04 Jun 2008
Posts: 25
Location: Noida

PostPosted: Thu Jul 23, 2009 6:03 pm
Reply with quote

Robert,
thanks for helping.

It would be great if you can provide a link for "Assembler Services manual" for a beginer like me icon_neutral.gif


Also i want to know more about V-type address. If there is a link for it ,please give me that as well.

Regards,
Harry
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jul 23, 2009 6:34 pm
Reply with quote

www.s390.ibm.com is the web site for IBM stuff in general. Search for HLASM or Assembler Services and you'll find plenty of Assembler material.

Google z/os assembler and you'll get about 485,000 hits -- and there's plenty of good stuff on the first page of results.

There's also an Assembler LISTSERV at www.listserv.uga.edu/archives/asm370.html

Googling z/os assembler v-type can get you plenty of hits, as well. Or look at publib.boulder.ibm.com/infocenter/ratdevz/v7r5/topic/com.ibm.ent.asm.zos.doc/topics/fn1lrmst77.htm
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: Thu Jul 23, 2009 6:39 pm
Reply with quote

Harry,

Check out the following Bookshelf link. Although it's for z/OS 1.9, I would say that most of the contents are downward compatible as much of this hasn't changed in years or even decades -

publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IEA2BK81

Regards,
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: Thu Jul 23, 2009 6:41 pm
Reply with quote

Robert,

You're too quick to the draw.... icon_wink.gif

Bill
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 Using API Gateway from CICS program CICS 0
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top