IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Sep 20, 2008 1:17 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Sep 20, 2008 5:58 pm
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts Accessing ABENDCC in JCL JCL & VSAM 6
No new posts Accessing control blocks to retrieve ... COBOL Programming 5
No new posts VSAM - Accessing beyond record size JCL & VSAM 6
No new posts Accessing CICS tran with map from JCL... CICS 5
Search our Forums:

Back to Top