On 14 August 2018 at 17:29, Thomas David Rivers <riv...@dignus.com> wrote:

> The actual IEWBIND interface is just a normal system interface,
> no LE required.
>
> For example, the code to start the session with the binder is:
>
>        ...
>  val = 0x00004040;
>  code = (IEWBIND_STARTD << 16 | IEWBIND_VERSION);
>  call_iewbind(8, &code, &retcode, &rsncode,
>                             &binder_token, fl, el, ol &val);
>  if(rsncode != 0) {
>         ...
>
> Depending on what interfaces you need to use, there's not a lot
> to it once you get everything set-up.
>
> I'm sure something similar in metal-C would work...

Indeed. A good many years ago (and long before the C interface
existed) I realized that it's quite possible to invoke IEWBIND from
REXX using Address LINKPGM. Not efficient, but it can be useful for
making little tools such as an eyecatcher analyzer for non-standard
modules.

Tony H.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to