Todd Burch
unread,Mar 6, 2009, 9:24:56 PM3/6/09You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
You can have a 64-bit mode application, but the current API only supports 31-bit callers. Therefore, all your variables must be below the bar, and you must be in 31-bit mode when your SQL calls occur. You can also link your application for AMODE(64) RMODE(ANY), but you cannot statically link DSNHLI if you do that. Therefore, you can dynamically load your language interface module (ie, DSNELI for TSO, or DSNALI for Call Attach, etc.) at runtime and drop into amode 31 via SAM31 just prior to any SQL CALL. In order to linkedit, you'll have to create a stub DSNHLI routine yourself that calls the actual DSNHLI in your language interface module.