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
 

 

Invoking Assembler Program through REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
ankit0610

New User


Joined: 18 Jul 2006
Posts: 4

PostPosted: Thu Jul 20, 2006 1:04 pm    Post subject: Invoking Assembler Program through REXX
Reply with quote

Hi All,

I need to invoke an Assembler Prog through REXX , Can anybody help me how can i do it, and also how to allocate the loadlib of the same assembler program to the system so that REXX can find it.

It will be good if i can get an example for the above question

Regards,
Ankit
Back to top
View user's profile Send private message

kamran

New User


Joined: 01 May 2005
Posts: 55

PostPosted: Thu Jul 20, 2006 4:25 pm    Post subject:
Reply with quote

Hi,
Depending on the entry and exit linkage you can call a rexx program through several formats lik
rc=loadmem(parmlist)
call loadmem parmlist
address tso loadmem parmlist
address tso call 'loaddsn(loadmem)' 'parmlist'
address mvs ....
....
and many several other formats.
Also depending on the system and address orerand usage you can put your program in ispllib steplib llalib lpalib or using ispf altlib service to concat your loaddsn to ispllib dynamically.for some of the invocation even you need not to allocate your loaddsn because you code your dsn in your rexx as specified above.
anyhow the prefered way if you run your rexx under ISPF is to allocate the loaddsn to ispllib through ispf altlib service and if the load module entry and exit supports following(as it in most of the modules which written to be called through rexx) call load as bellow
rc = loadmem(parmlist)
simply you can check return code by examining the rc after calling load module.
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts IMS T-Pipe queue counts in a COBOL Pr... Siva NKK Kothamasu IMS DB/DC 0 Tue May 09, 2017 6:31 pm
No new posts Dump analysis of an assembler module monica1 PL/I & Assembler 4 Tue May 09, 2017 10:05 am
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm


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