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

Invoking Assembler Program through REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Run rexx with JCL Job CLIST & REXX 1
No new posts Run rexx in batch job CLIST & REXX 7
No new posts Does anyone know rexx for VSE CLIST & REXX 3
No new posts TSO ALLOC In REXX Needs Improvement JCL & VSAM 3
No new posts REXX/CMS How to place command console... CLIST & REXX 4
Search our Forums:

Back to Top