Roger,

It is not a problem invoking exits that are stored in a PDSE - I use them 
all the time to save needing to continually compress the PDS when one is 
repeatedly building something - my exit libraries are PDSE so I can 
confidently say that.

However, given that you are building something that requires a PDSE, hence 
the error message:-
> IEW2606S 4B39 MODULE INCORPORATES VERSION 3 PROGRAM OBJECT FEATURES AND
> CANNOT BE SAVED IN LOAD MODULE FORMAT

I would not be surprised if you have problems invoking that exit for other 
reasons. Remember that exits you write in C for z/OS must conform to the C 
systems programming environment for system exits, described in the z/OS 
C/C++ Programming Guide. (see the following link in the MQ manuals):-
http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm.mq.csqzae.doc/calla.htm

and this is the pertinent part of the C/C++ Programming Guide
http://publibz.boulder.ibm.com/bookmgr_OS390/libraryserver/zosv1r6/index.html?BOOKS/cbcpg150/6.1.4?BOOKMARK=TRUE&DN=SC09-4765-05&DT=20040629070622&SHELF=CBCBS150.bks&CASE=zosv1r60.bkc&FS=TRUE&PATH=/bookmgr_OS390/libraryserver/zosv1r6/&TB=SCRIPT

What C RTL services are you invoking that caused the above error?

Cheers
Morag

Morag Hughson
WebSphere MQ for z/OS Development
Internet: [EMAIL PROTECTED]




Roger Lacroix <[EMAIL PROTECTED]> 
Sent by: MQSeries List <[email protected]>
15/01/2007 17:17
Please respond to
MQSeries List <[email protected]>


To
[email protected]
cc

Subject
Re: z/OS Help






Hi Morag,

Thanks. 
 
Its been a few years since I set and compiled C code on the mainframe but 
I don't remember creating a PDSE before but I will give it a try.

Do you know if WMQ on z/OS will have any problems invoking an exit from a 
PDSE?


Regards,
Roger Lacroix
Capitalware Inc.
http://www.capitalware.biz


On Mon, 15 Jan 2007 11:06:08 +0000, Morag Hughson <[EMAIL PROTECTED]> 
wrote:
> I think that one means you need to put the load module in a PDSE and not 
a
> PDS. Does that help?
> 
> Cheers
> Morag
> 
> Morag Hughson
> WebSphere MQ for z/OS Development
> Internet: [EMAIL PROTECTED]
> 
> 
> 
> 
> Roger Lacroix <[EMAIL PROTECTED]>
> Sent by: MQSeries List <[email protected]>
> 15/01/2007 05:36
> Please respond to
> MQSeries List <[email protected]>
> 
> 
> To
> [email protected]
> cc
> 
> Subject
> z/OS Help
> 
> 
> 
> 
> 
> 
> All,
> 
> I'm getting a really strange error from the z/OS linker when I try to
> build a program (exit) on the mainframe.
> 
> IEW2606S 4B39 MODULE INCORPORATES VERSION 3 PROGRAM OBJECT FEATURES AND
> CANNOT BE SAVED IN LOAD MODULE FORMAT
> 
> This is the only error message that I get.  It compiles (RC=00) and
> prelinks (RC=04) just fine.  I have checked and rechecked both the 
prelink
> and link parameters but I don't see anything wrong with them but a fresh
> pair of eyes will probably stop the problem in a second.
> 
> I have separate C sources for common modules and compile them 
individually
> (see attached edcc.jcl).  Then I compile, prelink and link the main C
> source (see attached edccpl.jcl).  I have done this many times in the 
past
> on the mainframe for different customers without any problems.
> 
> JCL:
> //COMP001  EXEC EDCC,MEMBER='CWSXC1'
> //COMP002  EXEC EDCC,MEMBER='CWSXC2'
> //COMP003  EXEC EDCC,MEMBER='CWSXC3'
> //*
> //CPL01    EXEC EDCCPL,MEMBER='TSTEXIT'
> 
> PreLink statements:
> INCLUDE SYSMOD
> INCLUDE OBJECT(CWSXC1)
> INCLUDE OBJECT(CWSXC2)
> INCLUDE OBJECT(CWSXC3)
> 
> Link Statements
> INCLUDE SYSLIB(EDCXMEM)
> INCLUDE SYSLIB(CSQXSTUB)
> INCLUDE SYSLIB(CWSXC1)
> INCLUDE SYSLIB(CWSXC2)
> INCLUDE SYSLIB(CWSXC3)
> ENTRY TSTEXIT
> NAME TSTEXIT(R)
> 
> 
> Ok, now to the strange part.  I can build a "HelloWorld" application
> without any problem using the edccpl.jcl PROC.  If I take all the C 
source
> code for TSTEXIT and put it all into 1 C source file then it will build
> just fine using the edccpl.jcl PROC.
> 
> Therefore, there must be something wrong with either my prelink or link
> parameters but I don't see it.
> 
> I even deleted my LOAD dataset and recreated it exactly the same as the
> WMQ SCSQLOAD dataset but it made no difference.
> 
> Any help would be appreciated.
> 
> Regards,
> Roger Lacroix
> Capitalware Inc.
> 
> 
> List Archive - Manage Your List Settings - Unsubscribe
> Instructions for managing your mailing list subscription are provided in
> the Listserv General Users Guide available at http://www.lsoft.com
> [attachment "edccpl.jcl" deleted by Morag Hughson/UK/IBM] [attachment
> "edcc.jcl" deleted by Morag Hughson/UK/IBM]
> 
> To unsubscribe, write to [EMAIL PROTECTED] and,
> in the message body (not the subject), write: SIGNOFF MQSERIES
> Instructions for managing your mailing list subscription are provided in
> the Listserv General Users Guide available at http://www.lsoft.com
> Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html

To unsubscribe, write to [EMAIL PROTECTED] and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html

To unsubscribe, write to [EMAIL PROTECTED] and,
in the message body (not the subject), write: SIGNOFF MQSERIES
Instructions for managing your mailing list subscription are provided in
the Listserv General Users Guide available at http://www.lsoft.com
Archive: http://listserv.meduniwien.ac.at/archives/mqser-l.html

Reply via email to