I don't understand the reason for object modules. The main program reads control statements from SYSIN and, for each LOAD statement, does a LOAD with the specified name. The OP wants to control the source of the LOAD. I would have thought that using, e.g., TSOLIB, would take care of that. This seems to be a case of giving a proposed implementation as part of the specifications. r am I missing something?
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 עַם יִשְׂרָאֵל חַי נֵ֣צַח יִשְׂרָאֵ֔ל לֹ֥א יְשַׁקֵּ֖ר ________________________________________ From: IBM Mainframe Discussion List <[email protected]> on behalf of Peter Relson <[email protected]> Sent: Saturday, October 25, 2025 4:58 PM To: [email protected] <[email protected]> Subject: Re: Can you use IEWBIND to load an object module External Message: Use Caution <snip>At work we have compile link and go code For doing searches of data the loader loads the first obj which does the I/O and presents it to the second obj a user search program The second is a temp data set from syslin &&obj This scenario makes it hard to debug outside of wto’s If I make a perm obj I can load it via IEWBIND Then I can use test to debug as I believe from my knowledge test is the only debugger that debugs obj’s Would you know what iEWBIND API’s I would need STARTD CREATEW INCLUDE and LOADW And for include what would the ddname be syslin ?</snip> If by "loader" you are referring not to the loader but to a function of the binder, you ought to be clear about that.But you make no case of why you are not simply taking your OBJ and creating a loadmod (or program object) so that you can LOAD the module (or whatever z/OS service meets your program's needs). An "obj" is never executable. It can of course be made executable (that being the binder's normal function). Your use of terminology such as "presents it to the second obj" is simply wrong. (TSO) Test does not debug OBJs because an OBJ is not executable and cannot , AFAIK. I remain clueless of why you want to use the binder other than simply to create an executable so that you can then test or call that executable in whatever way you see fit. Peter Relson ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
