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: 8195
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: 8195
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 The same REXX program doesnt work for... jackzhang75 CLIST & REXX 5 Wed Dec 06, 2017 2:51 am
No new posts Calling IKJEFT01 program from Rexx upendrasri CLIST & REXX 8 Wed Nov 15, 2017 4:27 pm
No new posts IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
No new posts Accessing CICS tran with map from JCL... navdeepaggarwal CICS 5 Tue Oct 03, 2017 6:15 pm

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