Re: XL CPP z/OS first use problem
Go back to the other proc and look at your STEPLIB libraries in the execution step. XPLINK requires a different set of libraries. There are three sets for xlc: 1. XPLINK 2. non-XPLINK, LE 3. non-XPLINK, non-LE, for the METAL option. Lloyd - Original Message From: "Sevetson, Phil" To: IBM-MAIN@bama.ua.edu Sent: Wed, February 1, 2012 3:14:09 PM Subject: Re: XL CPP z/OS first use problem All, Solved it with reference to the manual -- I was apparently using the wrong compile proc. CBCXCBG worked, and gave me my output in the SYSPRINT sysout. So, apparently Hello-World needs XPLINK(ON), so I have to use a proc which supports it. I hope to understand this in a future life. Thanks, for any think time anyone put in on this. --Phil Sevetson -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Sevetson, Phil Sent: Wednesday, February 01, 2012 2:29 PM To: IBM-MAIN@bama.ua.edu Subject: XL CPP z/OS first use problem Hello, all, first time post from new member. Please bear with me if I lack polish! I'm trying to prove the function of our CPP processor on our mainframe (Frankly, it's mostly for the exercise) and am running into problems with Hello-World. The code I'm running is: #include #include using namespace std; int main() { cout << "Hello, World!"; return 0; } I've also run it without stdio.h; it has never run successfully. It compiles, then fails in execution with ABEND User=U4038. The relevant message appears to be this: "CEE3555S A call was made from a NOXPLINK-compiled application to an XPLINK-compiled exported function in DLL C128 and the XPLINK(ON) runtime option was not specified. >From entry point __dllstaticinit at compile unit offset +0116 at entry offset +0116 at address 14D02176. <> LEAID ENTERED (LEVEL 08/30/2010 AT 12.37) <> LEAID PROCESSING COMPLETE. RC=0 *** Bottom of Data " Now, I'm compiling with the standard proc CBCCB, which specifies inline that XPLING(ON) is not supported. Using compiler options: LOCALE(En_US.IBM-1140) MAR(1,80) NOSEQ LO Can someone direct me to a reference source that's likely to help, and/or point out whatever really N00b mistake I'm making? --Phil Sevetson -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: XL CPP z/OS first use problem
use C128N for a non xplink program. On Wed, Feb 1, 2012 at 11:29 AM, Sevetson, Phil wrote: > Hello, all, first time post from new member. Please bear with me if I lack > polish! > > I'm trying to prove the function of our CPP processor on our mainframe > (Frankly, it's mostly for the exercise) and am running into problems with > Hello-World. The code I'm running is: > > #include > #include > using namespace std; > int main() { > cout << "Hello, World!"; > return 0; > } > > I've also run it without stdio.h; it has never run successfully. It compiles, > then fails in execution with ABEND User=U4038. The relevant message appears > to be this: > > "CEE3555S A call was made from a NOXPLINK-compiled application to an > XPLINK-compiled exported function in DLL C128 and the XPLINK(ON) runtime > option was not specified. > From entry point __dllstaticinit at compile unit offset +0116 at entry > offset +0116 at address 14D02176. > <> LEAID ENTERED (LEVEL 08/30/2010 AT 12.37) > <> LEAID PROCESSING COMPLETE. RC=0 > *** Bottom of Data > " > Now, I'm compiling with the standard proc CBCCB, which specifies inline that > XPLING(ON) is not supported. Using compiler options: > LOCALE(En_US.IBM-1140) > MAR(1,80) NOSEQ LO > > Can someone direct me to a reference source that's likely to help, and/or > point out whatever really N00b mistake I'm making? > > --Phil Sevetson > > -- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: XL CPP z/OS first use problem
All, Solved it with reference to the manual -- I was apparently using the wrong compile proc. CBCXCBG worked, and gave me my output in the SYSPRINT sysout. So, apparently Hello-World needs XPLINK(ON), so I have to use a proc which supports it. I hope to understand this in a future life. Thanks, for any think time anyone put in on this. --Phil Sevetson -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Sevetson, Phil Sent: Wednesday, February 01, 2012 2:29 PM To: IBM-MAIN@bama.ua.edu Subject: XL CPP z/OS first use problem Hello, all, first time post from new member. Please bear with me if I lack polish! I'm trying to prove the function of our CPP processor on our mainframe (Frankly, it's mostly for the exercise) and am running into problems with Hello-World. The code I'm running is: #include #include using namespace std; int main() { cout << "Hello, World!"; return 0; } I've also run it without stdio.h; it has never run successfully. It compiles, then fails in execution with ABEND User=U4038. The relevant message appears to be this: "CEE3555S A call was made from a NOXPLINK-compiled application to an XPLINK-compiled exported function in DLL C128 and the XPLINK(ON) runtime option was not specified. >From entry point __dllstaticinit at compile unit offset +0116 at entry >offset +0116 at address 14D02176. <> LEAID ENTERED (LEVEL 08/30/2010 AT 12.37) <> LEAID PROCESSING COMPLETE. RC=0 *** Bottom of Data " Now, I'm compiling with the standard proc CBCCB, which specifies inline that XPLING(ON) is not supported. Using compiler options: LOCALE(En_US.IBM-1140) MAR(1,80) NOSEQ LO Can someone direct me to a reference source that's likely to help, and/or point out whatever really N00b mistake I'm making? --Phil Sevetson -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: XL CPP z/OS first use problem
Sorry, my typo. The compiler proc says XPLINK(ON) is not supported. XPLING isn't mentioned anywhere. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Conlin, Pete Sent: Wednesday, February 01, 2012 2:58 PM To: IBM-MAIN@bama.ua.edu Subject: Re: XL CPP z/OS first use problem Possibly (we always hope) simple? XPLING(ON) is not supported Spelling XPLINK? Good luck. Peter -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN
Re: XL CPP z/OS first use problem
Possibly (we always hope) simple? XPLING(ON) is not supported Spelling XPLINK? Good luck. Peter -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN