Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Accessing db2 from 64 bit XPLINK C++....

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
girishms

New User


Joined: 06 Jun 2008
Posts: 21
Location: chennai

PostPosted: Sat Sep 20, 2008 1:03 pm    Post subject: Accessing db2 from 64 bit XPLINK C++....
Reply with quote

Hi all,

i am trying to execute sql statements in 64 bit XPLINK C++ program.
But i am getting the following error..

IEW2469E 9907 THE ATTRIBUTES OF A REFERENCE TO
DSNHLI FROM SECTION @Sequential@#C DO NOT MATCH THE
ATTRIBUTES OF THE TARGET SYMBOL. REASON 3

Any solutions??

Thanks,
Girish
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Sat Sep 20, 2008 1:17 pm    Post subject: Reply to: Accessing db2 from 64 bit XPLINK C++....
Reply with quote

did You check the reason code meaning ??
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA2M881/SPTKK2469E
Back to top
View user's profile Send private message
girishms

New User


Joined: 06 Jun 2008
Posts: 21
Location: chennai

PostPosted: Sat Sep 20, 2008 5:30 pm    Post subject: Reply to: Accessing db2 from 64 bit XPLINK C++....
Reply with quote

mainly that reason code comes when a XPLINK c++ tries to call a non xplink module or amode 31 load. Here i think that problem is coming because after the sql statememts, it will expand and call DSNHLI service. And thius standard service is of amode 31...

So are there any additional parameters to i have to concern? or any pragma linkage parameter to enable call to DSNHLI?/?


Thanks,
Girish
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10211
Location: italy

PostPosted: Sat Sep 20, 2008 5:58 pm    Post subject: Reply to: Accessing db2 from 64 bit XPLINK C++....
Reply with quote

no need to explain the error ( I can read the manuals ) icon_cool.gif

did You try to google with ( for example )
"xplink calling amode 31"

or look at the relevant IBM manuals ( always for example )
Quote:

LE Programming Guide (SA22-7561) has a chapter on developing XPLink applications.
LE Programming Guide for 64-bit (SA22-7569)
LE Vendor Interfaces (SA22-7568) has new detailed description, new CWIs, and "all" 3 LE-conforming linkages:
-Standard LE linkage (includes COBOL, PL/I, etc)
-C++ Fastlink
-XPLINK
LE Writing Interlanguage Communication Applications (SA22-7563)
LE Debugging Guide (GA22-7560)
XPLINK Redbooks™(http://publib-b.boulder.ibm.com/abstracts/sg245991.html)
64-bit Redpaper(http://publib-b.boulder.ibm.com/abstracts/redp9110.html)
Back to top
View user's profile Send private message
girishms

New User


Joined: 06 Jun 2008
Posts: 21
Location: chennai

PostPosted: Sat Sep 20, 2008 6:00 pm    Post subject: Reply to: Accessing db2 from 64 bit XPLINK C++....
Reply with quote

yup...
but not much of help in this matter
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Access SQLCA fields inside a stored p... gangapd DB2 4 Thu Oct 27, 2016 10:20 am
No new posts Cobol DB2 package accessing differen... Mainak_Dalal DB2 1 Tue Jan 26, 2016 12:57 am
No new posts Accessing Last Record of set seahawk789 JCL & VSAM 6 Sun Aug 09, 2015 4:19 am
No new posts Stored Procedure accessing VSAM yogesh suryawanshi DB2 9 Wed Mar 18, 2015 6:14 pm
No new posts Reg Accessing IMS DB Using ODBC Drivers satish.ms10 IMS DB/DC 6 Wed Nov 26, 2014 6:59 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us