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
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts REXX compiled via RXTCOMP sergeyken CLIST & REXX 7 Tue Feb 07, 2017 9:41 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm


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