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
 

 

How to call an assembler program from another asm program?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: How to call an assembler program from another asm program?
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: 7988
Location: Bellevue, IA

PostPosted: Wed Jul 22, 2009 11:36 pm    Post subject:
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    Post subject:
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: 7988
Location: Bellevue, IA

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

http://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 http://www.listserv.uga.edu/archives/asm370.html

Googling z/os assembler v-type can get you plenty of hits, as well. Or look at http://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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Jul 23, 2009 6:39 pm    Post subject: Reply to: How to call an assembler program from another asm
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 -

http://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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Thu Jul 23, 2009 6:41 pm    Post subject: Reply to: How to call an assembler program from another asm
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    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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 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 I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm


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