Interfacing with AS/400 Database

Has anyone used the database interconnectivity toolset to interface with an AS/400 Database? Are there any problems interfacing with this database using SQL?

Although I've not used with AS/400 -- I have successfully used it with ease with Oracle, Ingres, Sybase, as well MS Access. The key is having the correct client drivers loaded. I've connected to DB's on both PC servers as well as mini/mainframes.
Happy Wiring!

Similar Messages

  • Service Form interface with RACF DB2 Databases

    We are looking for a way to have service form interface with RACF using DB2 connect. This function is needed to perform data validation against mainframe system. Any advice or instructions of how to implement this is greatly appreciated.

    I am using Weblogic workshop test browser to test this code. My Ws code looks like this.
    package WebServ;
    public class AsyncWebServ1 implements com.bea.jws.WebService
    * @common:control
    * @jc:timer repeats-every="30 s" timeout="60 s"
    private com.bea.control.TimerControl MyTimerControl;
    * This member variable stores the client choice to be sent a callback or not.
    public boolean m_useCallback;
    * When the callback handler is fired, this boolean is set to true.
    * Clients that don't want callbacks check this boolean to see if their result is ready.
    public boolean m_messageIsReceived;
    public Callback callback;
    * @common:control
    private Control.xmlDocWSControl xmldocwscontrol;
    static final long serialVersionUID = 1L;
    private String xmlString = "";
    private String strName = "";
    * @common:operation
    * @jws:conversation phase="start"
    public void getWSEmplyeeInfoCON(String aName)
    MyTimerControl.start();
    xmlString = xmldocwscontrol.getEmplyeeDtlsCon(aName);
    return ;
    public interface Callback extends com.bea.control.ServiceControl
    * @jws:conversation phase="finish"
    public void testCallback(String result);
    * @common:operation
    public void MyTimerControl_onTimeout(long time)
    //xmlString = xmldocwscontrol.getEmplyeeDtlsCon(aName);
    if(!m_useCallback)
    m_messageIsReceived = true;
    else
    callback.testCallback(xmlString);
    MyTimerControl.stop();
    return;
    * @common:operation
    * @jws:conversation phase="continue"
    * @jws:protocol form-post="false" form-get="true"
    public boolean checkStatus()
    return m_messageIsReceived;
    * @common:operation
    * @jws:conversation phase="finish"
    * @jws:protocol form-get="true" form-post="false"
    public String getMessageResponse()
    return xmlString;
    * @common:operation
    * @jws:conversation phase="start"
    public void requestMessage(boolean useCallback)
    m_useCallback = useCallback;
    // Start the delay timer.
    MyTimerControl.start();
    return;
    The value of xmlString can be hard coded.
    Saju

  • Can a website built with adobe muse interface with a database such as an Excel spreadsheet?

    Is it possible for a website built in Adobe Muse to  interface with a database?  I need to turn a rather robust excel spreadsheet into an easy-to-use website that links to a database that can be updated easily and regularly.  Thanks.

    Hi,
    Muse is a designing software. You can design websites in Muse and host it on any server of your choice. There is no native feature in Muse to convert a spreadsheet into a website. If you are good with coding, you can develop it outside Muse and call it in Muse site using iframes, if at all it is helpful to you.
    Regards,
    Aish

  • Database design to support parameterised interface with MS Excel

    Hi, I am a novice user of SQL Server and would like some advice on how to solve a problem I have. (I hope I have chosen the correct forum to post this question)
    I have created a SQL Server 2012 database that comprises approx 10 base tables, with a further 40+ views that either summarise the base table data in various ways, or build upon other views to create more complex data sets (upto 4 levels of view).
    I then use EXCEL to create a dashboard that has multiple pivot table data connections to the various views.
    The users can then use standard excel features - slicers etc to interrogate the various metrics.
    The underlying database holds a single days worth of information, but I would like to extend this to cover multiple days worth of data, with the excel spreadsheet having a cell that defines the date for which information is to
    be retrieved.(The underlying data tables would need to be extended to have a date field)
    I can see how the excel connection string can be modified to filter the results such that a column value matches the date field,
    but how can this date value be passed down through all the views to ensure that information from base tables is restricted for the specied date, rather than the final results set being passed back to excel - I would rather not have the server resolve the views
    for the complete data set.
    I considered parameterisation of views, but I dont believe views support parameters, I also considered stored procedures, but I dont believe that stored procedures allow result sets to be used as pseudo tables.
    What other options do I have, or have I failed to grasp the way SQL server creates its execution plans and simply having the filter at the top level will ensure the result set is minimised at the lower level? (I dont really want the time taken for the dashboard
    refresh to increase - it currently takes approx 45 seconds following SQL Server Engine Tuning Advisor recommendations)
    As an example of 3 of the views, 
    Table A has a row per system event (30,000+ per day), each event having an identity, a TYPE eg Arrival or Departure, with a time of event, and a planned time for the event (a specified identity will have a sequence of Arrival and Departure events)
    View A compares seperate rows to determine how long between the Arrival and Departure events for an identity
    View B compares seperate rows to determine how long between planned Arrival and Departure events for an identity
    View C uses View A and view B to provide the variance between actual and planned
    Excel dashboard has graphs showing information retrieved from Views A, B and C. The dashboard is only likely to need to query a single days worth of information.
    Thanks for your time.

    You are posting in the database design forum but it seems to me that you have 2 separate but highly dependent issues - neither of which is really database design related at this point.  Rather you have an user interface issue and an database programmability
    issue.  Those I cannot really address since much of that discussion requires knowledge of your users, how they interface with the database, what they use the data for, etc.  In addition, it seems that Excel is the primary interface for your users
    - so it may be that you should post your question to an excel forum.
    However, I do have some comments.  First, views based on views is generally a bad approach.  Absent the intention of indexing (i.e., materializing) the views, the db engine does nothing different for a view than it does for any ad-hoc query. 
    Unfortunately, the additional layering of logic can impede the effectiveness of the optimizer.  The more complex your views become and the deeper the layering, the greater the chance that you befuddle the optimizer. 
    I would rather not have the server resolve the views for the complete data set
    I don't understand the above statement but it scares me.  IMO, you DO want the server to do as much work as possible since it is closest to the data and has (or should have) the resources to access and manipulate the data and generate the desired
    results.  You DON'T want to move all the raw data involved in a query over the network and into the client machine's storage (memory or disk) and then attempt to compute the desired values. 
    I considered parameterisation of views, but I dont believe views support parameters, I also considered stored procedures, but I dont believe that stored procedures allow result sets to be used as pseudo tables.
    Correct on the first point, though there is such a thing as a TVF which is similar in effect.  Before you go down that path, let's address the second statement.  I don't understand that last bit about "used as pseudo tables" but that sounds more
    like an Excel issue (or maybe an assumption).  You can execute a stored procedure and use/access the resultset of this procedure in Excel, so I'm not certain what your concern is.  User simplicity perhaps? Maybe just a terminology issue?  Stored
    procedures are something I would highly encourage for a number of reasons.  Since you refer to pivoting specifically, I'll point out that sql server natively supports that function (though perhaps not in the same way/degree Excel does).   It
    is rather complex tsql - and this is one reason to advocate for stored procedures.  Separate the structure of the raw data from the user.
    (I dont really want the time taken for the dashboard refresh to increase - it currently takes approx 45 seconds following SQL Server Engine Tuning Advisor recommendations)
    DTA has its limitations.  What it doesn't do is evaluate the "model" - which is where you might have more significant issues.  Tuning your queries and indexing your tables will only go so far to compensate for a poorly designed schema (not that
    yours is - just a generalization).  I did want to point out that your refresh process involves many factors - the time to generate a resultset in the server (including plan compilation, loading the data from disk, etc.), transmitting that data over the
    network, receiving and storing the resultset in the client application, manipulating the resultset into the desired form/format), and then updating the display.  Given that, you need to know how much time is spent in each part of that process - no sense
    wasting time optimizing the smallest time consumer. 
    So now to your sample table - Table A.  First, I'll give you my opinion of a flawed approach.  Your table records separate facts about an entity as multiple rows.  Such an approach is generally a schema issue for a number of reasons. 
    It requires that you outer join in some fashion to get all the information about one thing into a single row - that is why you have a view to compare rows and generate a time interval between arrival and departure.  I'll take this a step further and assume
    that your schema/code likely has an assumption built into it - specifically that a "thing" will have no more than 2 rows and that there will only be one row with type "arrival" and one row with type "departure". Violate that assumption and things begin to
    fall apart.  If you have control over this schema, then I suggest you consider changing it.  Store all the facts about a single entity in a single row.  Given the frequency that I see this pattern, I'll guess that you
    cannot.  So let's move on.
    30 thousand rows is tiny, so your current volume is negligible.  You still need to optimize your tables based on usage, so you need to address that first.  How is the data populated currently?  Is it done once as a batch?  Is it
    done throughout the day - and in what fashion (inserts vs updates vs deletes)?  You only store one day of data - so how do you accomplish that specifically?  Do you purge all data overnight and re-populate?   What indexes
    have you defined?  Do all tables have a clustered index or are some (most?) of them heaps?   OTOH, I'm going to guess that the database is at most a minimal issue now and that most of your concerns are better addressed at the user interface
    and how it accesses your database.  Perhaps now is a good time to step back and reconsider your approach to providing information to the users.  Perhaps there is a better solution - but that requires an understanding of your users, the skillset of
    everyone involved, what you have to work with, etc.  Maybe just some advanced excel training? I can't really say and it might be a better question for a different forum.   
    One last comment - "identity" has a special meaning in sql server (and most database engines I'm guessing).  So when you refer to identity, do you refer to an identity column or the logical identity (i.e., natural key) for the "thing" that Table A is
    attempting to model? 

  • Database interface with Hyperion

    Hi,
    Few years back my company had installed the Hyperion Enterprise Performance Management System and Hyperion Financial Data Quality Management System. Yet seem like was not really working well. Moreover, there isn't any interfaces between the finance database tables and Hyperion System.
    Would like to know if we want to setup the interface, how to go about it?
    Appreciate any advise.
    Many thanks.
    Demi

    Hi VC,
    Thank you for the advise.
    Would like to have another question.
    Is there any workaround solution beside installing the ERP Integrator?
    Such as are we able to import the raw database tables from the ERP directly into FDM, then from there play around the data to generate the reports we want?
    Because I'm very new to Hyperion, trying to figure out how the architecture will be like in order to get what our company want?
    Reports not only restricted to GL report but more.
    Something like what Oracle BI does, which we allow to setup all ERP tables in it and via Oracle BI, we can simply just produce whatever reports, charts from it.
    Btw do you know where can I get documentation on the hyperion auchitecture?
    Appreciate your help.
    Many thanks
    Best regards,
    Demi

  • Interface with Exchange server

    Hi i nbeed to write a program to interface with ms exchange dose anyone have any sample code i can look at? i need to extract info such as appointments.

    I'll be interested too. I'm writing a java app that would need to read and create calendar appointments, contacts and tasks. The java app is a CRM program, and its database becomes master for the exchange server that would replicate certain information coming from the CRM database/system.
    rgds,
    David

  • What do I need to properly connect SAP to AS/400 database through ADBC API?

    I need to retrieve some information from an AS/400 database.
    How do I need to fill the entry in DBCON table to establish a connection succesfully? Do I need any library and how can I install it?
    The SAP System runs with a SQL Server Database.

    Its working fine for me.
    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Forte access to AS/400 Databases

    Does anyone have any experiences accessing an AS/400 database from a
    Forte partition? If so, we would like to know if ODBC or some other
    technique was used. If ODBC was used, what vendor supplied the ODBC
    connection?
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    Thanks for the ideas, but nothing works so far. Trying other versions was an excellent idea. How silly of me that I didn't try that right off. We were actually using an older version of the toolbox (our software is regulated by the FDA as a medical device so changing our platform is a major process). I tried several newer versions and it was the same.
    Oh well, no big for now. In the future we'd still like to use record level access, but for now we are okay. This came up over an issue of record locking--needing to maintain a record lock during some calculations. We got it working using jdbc's updatable statements/resultsets.

  • Java CAPS (JCAPS 5.1.3) & AS/ 400 with OS/400 V4R4

    Hi,
    I wish to connect the data base (DB2) of a AS/400 with OS/400 4.4.0 through Java CAPS 5.1.3. How to do this (if it's possible)?
    I downloaded (to prove) the DB2 Connect (Trial) and I installed it:
    DB2 Connect for iSeries
    Extends iSeries data across platforms and to multiple sources including mobile without moving your data and provides simplified and modern application development environments.
    Product overview: DB2 Connects provides robust, highly scalable communication infrastructure for connecting Web, Windows, UNIX (including Linux), OS/2 and mobile applications to S/390 and AS/400 data.
    Operating system: All OS per ESD/PA Media Pks
    Version: 8.2
    We have a AS/400 with IBM OS/400 V4R4.
    We bought the AS/400 in 1999.
    Here I give you more details of which I wanted to do:
    Title in the application window: Sun SeeBeyond Enterprise Designer - Connectivity Map Editor [CMap1]
    Title of the window: New Wizard - DB2 Database
    Steps
    1. Select Wizard Type
    2. Connect to Database
    Specify Database Connection Information
    Please enter the DB2 database connection information below.
    Connection type: SunSeebeyond DB2 for AS/400 and z/OS
    Host name: 101.0.0.25 (Server's IP)
    Port: 446 (I left the default port)
    Location: data1 (Here I entered the name of the folder (library) that there is to accede where it is the file (table, catalogue in SQL))
    PackageCollection: data1 (I repeated the value of 'Location', but, in fact, I do not know what to enter here. I never used before this parameter. Also I proved leaving empty (without data) this parameter)
    User Name: admin1
    Password: ***************************
    Message of error:
    Unable to establish connection to jdbc:SeeBeyond:db2://101.0.0.25;locationName=data1;PackageCollection=data1
    [SeeBeyond][DB2 JDBC Driver]Error establishing socket to host and port: 101.0.0.25:446. Reason: Connection refused: connect
    I hope you can help me. Thanks.
    Ricardo.

    That error message ("Connection refused") means that your iSeries has no server running that is listening at port 446. Maybe you need to start one of the TCP/IP servers there?
    (By the way, Spanish "probar" translates to English "test" and not "prove".)

  • DB connect with as/400 db2 and aix db2

    Hi,
    We are implementing a connection with AS/400 IBM platform with DB2 400 (DB4) and OS400 like operating system. We are using DB-Connect to
    extract data from a DB2 Database to BW (operating system AIX and DB2 UD6 - Sap Netweaver 2004).
    We follow all the steps provided in SAP help to
    configured the Connections. We created the source system for DB-Connect. In BW when we try to select tables and views with right button option the system gets this error " The current ABAP program "RSDL_META_UPLOAD" had to be terminated because one of the statements could not be executed".
    The connection fails, and can't establish it.
    Someone knows about this topic?
    There are other options?
    I would appreciate your help.
    Regards,
    Victoria

    Hi,
    For extract data with DB connect in BW from  AS/400-DB2(DB4) to aix-db2, BW write a wrong abap code.
    For this reason the solutions are:
    Write a funtion module with abap and native SQL for db2 (EXEC SQL) or Change the application server to windows.
    Regards,
    Victoria

  • CCMS monitoring for DB2/400 database backup.

    Hi,
    sap on iseries experts,
    We need a good monitoring for the alerts from DB2/400 database backup failure with CCMS for a solution manager management.
    Actually I don,t see a specific node (or MTE class) inside CCMS for this alert;
    But DB12 display well the daily backup status . . . . . . . .
    Can anybody help me ?
    Kind Regards
    Fabio

    Hi all,
    I'm searching also for such an possibilty.
    When running Oracle there is following MTE:
    RZ20 -> SAP CCMS Technical Expert Monitors -> All Monitoring Contexts -> Oracle -> Backup/restore -> Backup status -> Last succ
    Does anybody know a method to monitor the backup with SAP on Iseries?
    Tobias

  • Are there any third party pacakages for plant maintenance that can be interfaced with

    are there any third party plant maintenance packages that interface with OPM? does Oracle apps have a module for plant maintenance?

    I'm working for a leading Food Industry in Kuwait (The Kuwaiti Danish Dairy Co.) We have a massive implementation of OPM with 24 modules, BI tools (OSA, OFA) and Maximo (The only third party package) integrated with Oracle. OPM version is 11.0.3 on database 8.0.5. Now you have option of 11i (eAM) with POC (PM) or Maximo 5i integrated with 11i (and of course any other 3rd party solution which can be integrated with OPM).
    You can write to me on: [email protected] or call me on: +965-9650172 for details.
    All the best.

  • Interface with Modem

    Hi Everyone
    I was wondering if Java provided a way of interfacing with the Modem, so that I could write a program that could be used like a call manager?
    The phone line would come into the computer and the Java Application would be able to see who was calling and then look them up in a database?
    Is this thing possible in Java?

    Use Internet Sharing in Sharing preferences.
    OS X Mountain Lion: Share your Internet connection
    OS X Lion: Share your Internet connection

  • Interface with SQL server

    Hi,
    I want to get data from SQL server on demand from SAP server and run a report in SAP.
    Can anyone help me how to get data from SQL server?
    Thanks,
    Ashok.

    Ashok,
    I am not sure how it is done for SQL server, but here is a thread that discussed about a similar requirement with a Access database. Take a look.
    SQ02 SAP Query
    Regards,
    Ravi
    Note : Please mark the helpful answers

  • Migration from Exchange 2007 to 2013 gives error "Failed to communicate with the mailbox database'

    I have been trying to migrate several databases from Exchange 2007 to Exchange 2013. The migration started successfully, and many of the mailboxes moved successfully (about 70). The remaining mailboxes, failed. Looking deeper, we found a few issues; The
    two 2013 Mailbox servers were on different versions. The Server had run out of disk space, and the NIC drivers needed to be updated.
    Now when we try to migrate a mailbox that had failed in the earlier batch, we get the following error:
    Data migrated:                        
    Migration rate:                        
    Error:                        
    MigrationTransientException: Failed to communicate with the mailbox database. --> Failed to communicate with the mailbox database. --> MapiExceptionNetworkError: Unable to make connection to the server. ‎(hr=0x80040115, ec=-2147221227)‎ Diagnostic
    context:    ......    Lid: 9624    dwParam: 0x0 Msg: EEInfo: Detection location: 501    Lid: 13720   dwParam: 0x0 Msg: EEInfo: Flags: 0    Lid: 11672   dwParam:
    0x0 Msg: EEInfo: NumberOfParameters: 4    Lid: 8856    dwParam: 0x0 Msg: EEInfo: prm[0]: Unicode  string: ncacn_ip_tcp    Lid: 8856    dwParam: 0x0 Msg: EEInfo: prm[1]: Unicode  string: <Server
    FQDN>    Lid: 12952   dwParam: 0x0 Msg: EEInfo: prm[2]: Long val: 3749909585    Lid: 12952   dwParam: 0x0 Msg: EEInfo: prm[3]: Long val: 382312662    Lid: 45169   StoreEc: 0x824        
    Lid: 50544   ClientVersion: 15.0.847.32    Lid: 52080   StoreEc: 0x824         Lid: 44273      Lid: 49064   dwParam: 0x1    Lid: 37288  
    StoreEc: 0x6AB         Lid: 49064   dwParam: 0x2    Lid: 59431   EMSMDB.EcDoConnectEx called [length=203]    Lid: 51239   EMSMDB.EcDoConnectEx exception [rpc_status=0x6D9][latency=0]   
    Lid: 62184      Lid: 16280   dwParam: 0x0 Msg: EEInfo: ComputerName: n/a    Lid: 8600    dwParam: 0x0 Msg: EEInfo: ProcessID: 3460    Lid: 12696   dwParam: 0x0 Msg: EEInfo:
    Generation Time: 0414-04-07T16:32:03.2100000Z    Lid: 10648   dwParam: 0x0 Msg: EEInfo: Generating component: 2    Lid: 14744   dwParam: 0x0 Msg: EEInfo: Status: 1753    Lid: 9624   
    dwParam: 0x0 Msg: EEInfo: Detection location: 501    Lid: 13720   dwParam: 0x0 Msg: EEInfo: Flags: 0    Lid: 11672   dwParam: 0x0 Msg: EEInfo: NumberOfParameters: 4    Lid: 8856   
    dwParam: 0x0 Msg: EEInfo: prm[0]: Unicode  string: ncacn_ip_tcp    Lid: 8856    dwParam: 0x0 Msg: EEInfo: prm[1]: Unicode  string: <Server FQDN>    Lid: 12952   dwParam: 0x0 Msg: EEInfo:
    prm[2]: Long val: 2767313664    Lid: 12952   dwParam: 0x0 Msg: EEInfo: prm[3]: Long val: 382312662    Lid: 59505   StoreEc: 0x824         Lid: 50544   ClientVersion:
    15.0.847.32    Lid: 52080   StoreEc: 0x824         Lid: 36081      Lid: 51152      Lid: 52465   StoreEc: 0x80040115   
    Lid: 60065      Lid: 33777   StoreEc: 0x80040115    Lid: 59805      Lid: 52487   StoreEc: 0x80040115    Lid: 19778      Lid: 27970  
    StoreEc: 0x80040115    Lid: 17730      Lid: 25922   StoreEc: 0x80040115
    All of the issues listed above have been corrected, and all of the databases are mounted. Users are able to send and receive mail, but I can not migrate mail using the Migration Batch utility.
    The destination server is a Hyper-V Guest running Server 2012, SP1, and Exchange 2013
    The Source Server is Running Exchange 2007.
    I have tried doing a test move to another destination server that is also Server 2012, and Exchange 2013, and the migration also failed.
    I would appreciate any help you can give me!
    Thanks,
    Jon

    Any update if you have resolved the issue.
    Not similar, but this thread can be helpful while you migrate the mailboxes from exchange 2007 to 2013. Please check :http://social.technet.microsoft.com/Forums/exchange/en-US/721f0ae4-623a-4b02-adaf-f561d86c0426/move-mailboxes-and-public-folders-from-exchange-2007-to-exchange-2013?forum=exchangesvrdeploy&prof=required

Maybe you are looking for