The problem is that for a C++ program the binder SYSLIB MUST include the PDS 
<hlq>.SCEEBND2 in order to get the standard library members included via 
AUTOCALL.

How is one supposed get both the SCEEBND2 and the zoautil,so into the binder 
AUTOCALL process?  Or is some combination of new DD statement(s) and INCLUDE 
statements needed?

Peter

From: IBM Mainframe Discussion List <[email protected]> On Behalf Of 
Paul Gilmartin
Sent: Tuesday, August 19, 2025 2:15 PM
To: [email protected]
Subject: Re: Binding C++ programs that use zoautil functions


On Tue, 19 Aug 2025 17:51:53 +0000, Farley, Peter wrote:



>I have a co-worker who is trying to use zoautil functions from a C++ program 
>(supplied as a sample with the zoautil distribution).  However, he is trying 
>to compile and bind that sample using only normal JCL (PROC CBCCB) and neither 
>he nor I can figure out how to get the binder to INCLUDE the needed routines 
>from the "soautil.so" file stored in the Unix file system.

>

(Old information, possibly outdated):

Binder accepts an allocated UNIX directory as SYSLIB

(//SYSLIB DD PATH=...)  No concatenation is allowed.

However it appears not to use BLDL/FIND/DESERV, probablly

because those facilities can't handle long member names.



Rather, Binder merely appends (documented) the member name

to the directory path ((presumably obtained with DYNALLOC INFO.)



This practice appears to have arisen in an era when Allocation

but not access methods supported UNIX paths.



--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to