TechTips / Database


TechTip: Biting the Bullet: Options for DB2 for i Automated Testing PDF Print E-mail
Tips & Techniques - Database
Written by Michael Sansoterra   
Friday, 18 July 2014 00:00

This tip brainstorms a few approaches for automatically testing various aspects of DB2 for i code.

Written by Michael Sansoterra

In the first tip, I showed various ways to test DB2 functions, procedure results, and triggers for logic accuracy and security. However, the tip never covered how these tests, once written, are to be processed. In particular, questions such as these need further discussion:

Add a comment
Last Updated on Friday, 18 July 2014 00:00
Read more...
 
User Rating: / 1
PoorBest 
TechTip: New Function Resolution Casting Rules for DB2 PDF Print E-mail
Tips & Techniques - Database
Written by Kent Milligan   
Friday, 11 July 2014 00:00

They may be obscure, but they're definitely not to be overlooked.

kent milligan 117x117Written by Kent Milligan

My recent article on the DB2 for i 7.2 release highlighted some of the more noteworthy database enhancements in the latest IBM i release. There wasn't room in the previous article to discuss all of the DB2 enhancements, so in this article you'll learn about a smaller DB2 improvement known as function resolution casting rules.

Add a comment
Last Updated on Friday, 11 July 2014 10:26
Read more...
 
TechTip: Suggestions for DB2 for i Code Quality Testing PDF Print E-mail
Tips & Techniques - Database
Written by Michael Sansoterra   
Friday, 11 July 2014 00:00

Prepare to put your DB2 SQL code "through the ringer" to ensure it's ready for prime time.

Written by Michael Sansoterra

Typically, developers love writing new code. And while an application is new and business rules are fresh in the mind, it's generally pleasurable to enhance code as change requests meander in. But after the years roll on, and business requirements are forgotten, and complex code looks unfamiliar, then maintaining the code can get downright ugly. How does one know an obscure business rule wasn't violated when changing code?   It's usually not until code has been moved into production that the misery starts after a bug rears its ugly head.

Add a comment
Last Updated on Wednesday, 09 July 2014 11:30
Read more...
 
TechTip: DB2 for i Impersonation Take 2: External Routines PDF Print E-mail
Tips & Techniques - Database
Written by Michael Sansoterra   
Friday, 13 June 2014 00:00

Use these external SQL routines as an alternative to the somewhat restrictive SET SESSION AUTHORIZATION statement.

Written by Michael Sansoterra

In "Impersonate Your Neighbor Using DB2 for i," I outlined how to use the SET SESSION AUTHORIZATION SQL statement to override the user profile of the current thread or, in many cases, the current job. The benefits of doing this include providing temporary authorization to resources such as IFS files and impersonating another user so that user-dependent code will be tricked into thinking that a different user is running it. However, there are a few restrictions on this statement that can limit its usefulness. In this tip, I'll introduce some external SQL routines (written in RPG) that allow an application to override the user profile without some of the restrictions of the built-in DB2 functionality.

Add a comment
Last Updated on Friday, 13 June 2014 00:00
Read more...
 
TechTip: Impersonate Your Neighbor Using DB2 for i PDF Print E-mail
Tips & Techniques - Database
Written by Michael Sansoterra   
Friday, 06 June 2014 00:00

Learn how to override the current user profile handle with a different user profile in DB2.

Written by Michael Sansoterra

For most database-related applications, using adopted authority is the preferred way to temporarily grant users controlled access to sensitive data. But one limitation of the adopted authority model is that it doesn't override IFS permissions. A second limitation is that the adopted authority model doesn't allow an application to "impersonate" another user. To help with these issues, the DB2 for i statement SET SESSION AUTHORIZATION provides a way to overcome both of these limitations.

Add a comment
Last Updated on Thursday, 05 June 2014 13:16
Read more...
 
TechTip: Even More Nifty New Features in V2R1 DB2 Web Query PDF Print E-mail
Tips & Techniques - Database
Written by Gene Cobb   
Friday, 28 March 2014 00:00

Recent DB2 Web Query group PTF levels 4 through 7 include a host of valuable new enhancements. Learn more about what are sure to be this product's most popular new features.

gene cobbWritten by Gene Cobb

In my last TechTip, I introduced you to several new features that have been delivered in DB2 Web Query version 2.1 group PTFs over the last year and a half. In this TechTip, you'll learn about three more major improvements to the product: REST Web Services, an application extension named WQRAX, and the new map-charting feature.  

Add a comment
Last Updated on Thursday, 27 March 2014 17:24
Read more...
 
User Rating: / 2
PoorBest 
TechTip: Some Nifty New Features in V2R1 DB2 Web Query PDF Print E-mail
Tips & Techniques - Database
Written by Gene Cobb   
Friday, 07 March 2014 00:00

Recent DB2 Web Query group PTF levels 4 through 7 include a host of valuable new enhancements. Learn more about what are sure to be the most popular new features in this product.

gene cobbWritten by Gene Cobb

Version 2.1 of DB2 Web Query for IBM i was released in June of 2012 and included a major overhaul of product ordering and packaging as well as many new enhancements. Since that time, IBM has released seven group PTFs, each one containing both fixes and exciting new features. In this two-part article, I cover some of the most significant new enhancements made to the product over the last 18 months.

Add a comment
Last Updated on Thursday, 06 March 2014 14:09
Read more...
 
Partner TechTip: Convert Queries for Increased Performance and Modern Results PDF Print E-mail
Tips & Techniques - Database
Written by Heath Kath   
Friday, 28 February 2014 00:00

Don't let a library of useful but outdated queries stop you from modernizing how you deliver your data.

heath kathWritten by Heath Kath

Are you still running IBM i green-screen queries? How many queries are you dealing with? Are you finding it hard to manage all those queries? Are your users tired of waiting for a slow-running query that can use only the Classic Query Engine (CQE)? Would your users prefer a modern, graphical interface with more distribution options?

Add a comment
Last Updated on Friday, 21 February 2014 14:17
Read more...
 
User Rating: / 1
PoorBest 
<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Page 1 of 13

WEBCAST

MC Webcast CenterFEATURED WEBCAST

See What i Can Do With Modern RPG Development

Your applications deserve more than just a new look! Change the perception of the IBM i as “old” with modern development tips from IBM and Profound Logic Software.
Watch as Barbara Morris, Brian May and Alex Roytman dive beneath the GUI surface to show the benefits of:

 

  • Working with free-format RPG in IBM i TR7
  • Breaking free from “The Cycle” of traditional RPG development
  • Going beyond the 10 character limit in display and database files
  • And more!

You'll also see a live demonstration of these techniques as the presenters create a modern web application before your eyes! 

 

Watch the Webinar Now!

 

TRIAL SOFTWARE

MS Office Connector for Query/400

NGS' Qport Office enables Windows users to run IBM Query/400 queries to: 

 - Create and update Excel spreadsheets and Access databases

 - Create Word documents

 - Send to Windows screen and PC printers

No query conversion is required. Works with i5/OS V5R1 & above. Installs in minutes!

If you don’t have a budget to replace IBM Query/400, but want your users to have one click enhanced output of their queries.… Request the online license agreement and product download instructions today!

Offer good through December 31, 2013.


   MC-STORE.COM