View previous topic :: View next topic
|
Author |
Message |
ankit0610
New User
Joined: 18 Jul 2006 Posts: 4
|
|
|
|
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 |
|
|
kamran
New User
Joined: 01 May 2005 Posts: 55
|
|
|
|
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 |
|
|
|