Neale,

Good to see you here, but I can't imagine that you want to be :-)

On Tue, Aug 17, 2010 at 1:35 PM, Neale Ferguson <ne...@sinenomine.net> wrote:

...
> When I use the supplied proc ³EDCQCBG² to do a compile, link and go I get
> the following message from the bind step:
>
> IEW2456E 9207 SYMBOL FPRINTF UNRESOLVED.  MEMBER COULD NOT BE INCLUDED FROM
> THE DESIGNATED CALL LIBRARY.
>

This usually means that whoever installed C/C++ on z/OS didn't finish
(and customize the procs to point to the
right libraries.

The good news (for you!) is that there is really no good reason to use
JCL to build C/C++ code on z/OS -

Just use "make" along with the one of the cc/c89/c99/xlc commands
(these are aliases that invoke the z/OS xlC compiler with different
options), and do your builds from the z/OS Unix shell (under ssh, if
you have Ported Tools OpenSSH installed, or tty telnet otherwise.
You'll hate running the Unix shell under 3270 TSO :-).   Your main
reference for using these commands will be the "z/OS XL C/C++ User's
Guide", (see CH 7: Compiling and binding in the z/OS UNIX System
Services environment).

If you want your load module to eventually run from a PDS or PDSE,
then just copy it from the Unix file system as part of your Makefile:

cp -X lmod "//'HLQ.MY.PDS(LMOD)'"

(the -X option is for copying load modules / binder objects)

FWIW:  If you are using C, then you can run from a regular PDS, but if
you are using C++, then you are usually forced into using a PDSE.


HTH,

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to