How can I open an AS400 connection w/o using the ODBC in the Control Panel

Hi.
Is it possible that i manipulate the ODBC settings in Windows NT using Java?
I've been using the Client Access ODBC Driver (32 bit) of IBM to connect to AS400 database. Normally i would just configure my DSN and input the default library inside the Server tab that i would be using . All was working perfectly. But i was informed that the default library would vary depending on the data inputed in the library database.
As in, in our SQL Server they have there a tbl_library where in lib_type is one of it's field. This(lib_type) is where they can specify which library my program would be opening. So in this case, I can't just manually configure my DSN library when retrieving data from AS400 because it would always vary.
Thank you very much for your time.
-marlin
ps.
Btw, i am doing a servlet for this connectivity.

If you use the JDBC driver that's included in the AS/400 Toolbox for Java you don't need to use ODBC at all, you can access the AS/400 directly. See this link:
http://www-1.ibm.com/servers/eserver/iseries/toolbox/

Similar Messages

  • How can you save data to a spreadsheet and use different worksheets in the spreadsheet?

    I am trying to save data to a spreadsheet.
    Each set of test data needs to be saved under a different worksheet. Is this possible and how can I do it?

    As the example that Dennis pointed out, this can be done using activeX. In addition to that example I have another that demonstrates how to create a new workbook with multiple worksheets and save data to each of them. I hope that between the two you can get an idea of what to do.
    Brian
    Attachments:
    xlexample.vi ‏66 KB

  • How can I reinstall CS/Bridge when they do not appear in NW's Control Panel programmed delete listing?

    Bridge in CS6 is returning the error message "Bridge has encountered a problem and cannot read the Cache."  Purging install the software.  However, for some unexplained reason, neither programme is listed under the programme delete option in W7 control Panel.  Is there any other way of safely deleting CS6 and Bridge so that I can reinstall both.

    Bridge does not have an uninstaller, because it does not have an installer. Bridge automatically gets installed when installing an Adobe application. Thus the only way to uninstall it is to remove the Adobe applications it is attached to. So you have to remove all CS6 applications to remove Bridge CS6. However, uninstalling Bridge will not purge its cache, this will be left behind. You can purge the cache at launch by holding down the Command+Option+Shift (Mac) or Ctrl+Alt+Shift (Win) while launching (you have to be quick to get the timing right). Choose the Purge Entire Thumbnail Cache option in the Reset Settings dialog that appears.

  • How can I open all webpages within one window, using tabs?

    As new user I am missing the opportunity to open a link with a new tab. Firefox opens it often within a new window. Using CTRL can solve it, but I'm not used to that.
    I used IE and IE has a setting to open everything within a new tab, instead of in a new window.
    Is something like that possible for Firefox?
    (I read something like that some website needs to be opened with a new window, because it would show better. To me that is nonsense, because I can decide for myself how to open a page.)
    So please add a setting for that, I think it would please more people than just me.
    TIA,
    Jaap

    In the Tools menu select Options to open the options window. In the options window go to the Tab panel and make sure the setting "Open new windows in a new tab" is selected.
    Firefox only has a small number of tab settings listed on the Options window, you can get far greater control over tabbed browsing by using an add-on. Some examples that greatly enhance tabbed browsing features are:
    * [https://addons.mozilla.org/en-US/firefox/addon/1122/ Tab Mix Plus]
    * [https://addons.mozilla.org/en-US/firefox/addon/59961/ Tab Utilities]
    * [https://addons.mozilla.org/en-US/firefox/addon/13288/ Super Tab Mode]
    * [https://addons.mozilla.org/en-US/firefox/addon/14439/ Tabberwocky]
    For more tab related add-ons go to https://addons.mozilla.org/en-US/firefox/extensions/tabs/

  • I've locked my Ipad by repeatedly entering the wrong security password.  How can I open it again and now I think I've remembered the right number?

    I've locked my self out of my ipad by repeatedly entering the wrong password.  What can I do to reopen it again please?  I think I have the right number now too>
    John.

    Wrong Pass Code  >  http://support.apple.com/kb/HT1212

  • How can i install windows on new macbook air using remote drive on the bootcamp partition

    Hi all, I just purchased a new macbook air mid - 2011 with OSX-Lion installed on it. I wish to install Windows XP on the boot camp partition but have not purchased the external super drive. Is there some way that I can install windows on boot camp using remote drive of my other macbook pro system.
    If this is possible, then please guide me.
    Thank you,

    Since I do NOT use anything from M$, I am afraid I am not right person to help you.
    I would suggest that you post your question for help over in the BootCamp forum loacted here
    https://discussions.apple.com/community/windows_software/boot_camp
    Allan

  • I am using 3GS iphone, when I switched on asking to connect internet or itune, how can I open it?

    I am using 3GS iphone, when I switched on asking to connect internet or itune, how can I open it?

    Connect to iTunes on the computer you usually Sync with and Restore...
    If necessary Place the Device into Recovery mode...
    http://support.apple.com/kb/HT1808

  • How can I open shared files from laptop?

    I have connected my external hard disk to Airport extreme and configured through my laptop (Windows). Now I want to see files existing in hard disk through wireless. How can I open files and photoes?
    Regards,
    Balaji.

    Please check out the following Apple Support article for details.

  • How can I open Adobe Air on my MacBook Pro?

    How can I open Adobe Air on my MacBook Pro? I get the installer, and an image appears in the Applications folder, but it won't open.

    When I download the file I linked I get a disc image (.dmg) file: Air3-5_mac.dmg. Double-clicking mounts the disc image and opens a window with the installer:
    Double-clicking on the installer opens:

  • How can I open files in portable disk?

    I am so sorry, but I am very new user of Mac OS. I am trying to open files such as media files and other folders, but I can not see anything when I click my portable disk drive on the screen. How can I open these files and see it?

    Try right clicking the disk and selecting "Open".
    Another approach is to open Finder (the leftmost icon on your dock at the bottom of your screen).  Hopefully you will see your portable disk drive on the left side of the finder display.  Then you would click on that icon, and see all the folders and files on the right.

  • How can i open my iphone 4s to any network

    how can i open my iphone 4s to any network

    You need to contact the cell phone Carrier the iPhone was made for, and request from that carrier for the iPhone to be unlocked. You must contact the Carrier, not Apple.

  • Living in apartment, here it has only wireless (no wired cable in the room). I've  an airport express (new ) so how can I do for extending signal (wireless) for using in myroom

    Living in an apartment, here it has only wireless (no wired cable in the room) signal using for the internet connection. I've  an airport express (new) ,so how can I do for extending signal (wireless) for using in myroom. because the wireless signal is so weak.

    Unfortunately, you won't be able to. In order to do so, you would have to configure both the AirPort Express and the other wireless router for a WDS. Since it will unlikely that the other router is another AirPort, nor will you have the ability to administer it, you won't be able to get this accomplished.

  • I made a bootable disc on an external hard drive, with Yosemite on it.  I am running Snow Leopard on my iMac.  How can I open the Yosemite disc from the desktop on my iMac?  Does the external hard drive need to be connected to my iMac by firewire to

    I made a bootable disc on an external hard drive, with Yosemite on it.  I am running Snow Leopard on my iMac.  How can I open the Yosemite disc from the desktop on my iMac?  Does the external hard drive need to be connected to my iMac by firewire to do that?

    kahjot wrote:
    Snow Leopard's Startup Disk pref can’t see Yosemite volumes. So the only way to switch from Snow Leopard to Yosemite is to do what Niel mentioned. Doesn't matter whether it's connected by USB or Firewire, although performance via FW would be faster.
    Are you saying that Yos/10.10, as a volume located in a mounted external drive won't appear as an option in Snow Leopard's Startup Disc, in Sys Prefs? I've never heard this one before. AFAIK any mounted volume, regardless of OS, should appear there. I would think that, if it appears in the Boot Picker/Startup Manager it would also appear and could be booted to from Snow's Startup Disk. I can't test this myself, since I don't have Yos. Is what you are saying documented somewhere?

  • HT1414 how can i open my iphone because when i try to restore it from my back up all the files it didn't open anymore & always my iphone have a problem that it automatically shut down then the itunes logo appear then i need it to connect to itunes then re

    how can i open my iphone because when i try to restore it from my back up all the files it didn't open anymore & always my iphone have a problem that it automatically shut down then the itunes logo appear then i need it to connect to itunes then restore to enable to open it..what should i do?i cannot bring it to the smart center because i lost my receipt..is there any chance to recover it?thank you so much..i already update my operating system to ios 6.1.3 but when i recover my  back up the operating system was ios 6.1.2..

    Your phone is in recovery mode. Did you plug it to the computer running itunes? What happend?

  • How can i open my iBook on my Mac, not just on my iPhone

    Hi,
    how can i open my iBook on my Mac, not just on my iPhone?  I ask this questions in hopes that I can eventually find a way to have the iPhone read a non "Enhanced" iBook to me.
    I used the Accessibility reader for a brief time but it's very persinickety.  Move the phone a tiny bit and it threw me out from page 70 and back to page 48.  Changing pages when you are in Accessibility is excruciating. Now, I cannot get back there at all.
    I downloaded 2 apps that claim they can read to me but the closest I can get in the instructions says I need to open the iBook from my Mac computer with my iPhone connected and then I will be able to open the iBook in the app called "Read text to me".  Only when I go to open the book on my Mac it says "This book can’t be viewed using this computer. You can view this book using iBooks on your iOS device."
    Thank god, I only have a brain tumor and am not yet completely blind.
    I've been to the Apple store twice, checked out a youtube page with all it's comments and I am still nowhere, over the course of a week.
    Can anybody help me?
    thank you,
    Ellen

    antdude wrote:
    roaminggnome wrote:
    "how can i open my iBook on my Mac, not just on my iPhone?"
    You cannot.
    Ibooks are only for iphone/ipod touch/ipad
    So, there are no third party readers/emulators in Mac OS X and Windows to read them from iTunes? I don't even own an iOS device. I just redeemed Action Comics' Superman #1 from Starbucks and iTunes.
    This one?
    Where the REQUIREMENTS spell out that an iOS device is needed to read it?

Maybe you are looking for