OnDemand SQL Performance Analysis Simplified on DB2 for i5/OS
To get up to date you can read the DB2 section of the following two redbooks.
IBM i 6.1 Technical Overview
IBM i 7.1 Technical Overview with Technology Refresh Updates
A blog about information technology. I am especially interested in Java, Eclipse RCP, IBM Notes Domino, Db2 and IBM i
//Create a Ucpransportfactory to access the starface PBX over the HTTP protocol. UcpTransportFactory ucpTransportFactory = new HttpUcpTransportFactory("YOURSTARFACE", 80, false); //Create a UciProxyFactory with the above created Transportfactory. UciProxyFactory uciProxyFactory = UciProxyFactory.createWithTransportFactory(ucpTransportFactory); //Create a proxy with the given credentials uciProxy = uciProxyFactory.createUciProxy("0001", "PASSWORD"); //Establish the connection to the starface PBX uciProxy.connect();
Request Object | Use |
UciCallListRequests | Get and manipulate the call list |
UciCallRequests | start and end telephone calls or get the state of your telephone |
UciFaxListRequests | Get and manipulate the list of your faxes or get the transmission report of a fax. |
UciFaxRequests | Send new Faxes |
UciFunctionKeyRequests | Get manipulate and press the function keys of your telephone |
UciGroupRequests | Get and set Group settings |
UciPhoneRequests | Manage your phones or set your primary phone |
UciRedirectRequests | Change the redirect settings of your telephones |
UciUserStateRequests | Get and set your avatar and manipulate your presence awareness status. |
UciVoicemailListRequests | Get and manipulate the list of your voice mails |
// Get a CallListRequest Object to access the calllist UciCallListRequests requests = uciProxy.getRequests(UciCallListRequests.class); // Get the inbound calllist for the lastday with no group calls, // ordered by startTime Ascending. If there are more then 1000 // entries only the the first 1000 will be retrieved. CallList callList = requests.getCallList(new Date(), new Date(new Date().getTime() - 86400000), CallListEntryDirection.INBOUND, null, GroupRestriction.NON_GROUP, CallListEntryProperties.startTime, OrderDirection.ASCENDING, 0, 1000); // Create date and timeformater DateFormat df = SimpleDateFormat.getDateInstance(); DateFormat tf = SimpleDateFormat.getTimeInstance(); // Iterate through the callist entries and print every entry to // standard out. for (CallListEntry entry : callList.getEntries()) { System.out.println(entry.getId() + "/" + entry.getCalledNumber() + "/" + entry.getCallerNumber() + "/" + df.format(entry.getStartTime()) + " " + tf.format(entry.getStartTime()) + "/" + entry.getDuration()); }