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
 
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: 8153
Location: East Dubuque, Illinois, USA

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: 8153
Location: East Dubuque, Illinois, USA

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: 2504
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: 2504
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 Sr SW Eng-Rocket Software (Assembler,... Kenneth Barton Lasky Mainframe Jobs 0 Fri Aug 25, 2017 12:29 am
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am

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