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 Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top