Paul Tuohy to speak at NHMUG on Wednesday September 14th!
It is with great excitement that we announce that Paul Tuohy will be speaking at the NHMUG meeting on Wednesday September 14th, 2016!
Paul is a world renowned speaker and well known throughout the IBM i community.
Embedded SQL in RPG Programs
Many RPG programmers have used interactive SQL as a tool to quickly browse data or to create test data scenarios, but have stopped short of embedding it into their RPG programs. Come to this session to learn why, when and how you may want to use SQL in conjunction with RPG. We will cover the basics of embedding SQL into RPG, including using SQL cursors and a few tips on getting good performance from your SQL applications.
This session looks at:
- Why use embedded SQL?
- Basic Syntax
- Using host variables
- Using a SELECT statement
- Using a Cursor
- Identifying and handling errors
- The power of INSERT, UPDATE and DELETE
- Compile options
- When and how to use dynamic SQL
- Using PREPARE and EXECUTE
- Performance tips
Prerequisite: This session assumes you are familiar with the basics of the SQL language, such as the SQL SELECT and UPDATE statements
Embedded SQL in RPG - Beyond the Basics
You have been using embedded SQL in RPG. You have mastered the syntax, tried a few selects, declared a cursor, performed an update - you may even have tried some dynamic SQL!
Time to take it to the next stage and see what you can do with embedded SQL - beyond the basics
Topics covered in this session include:
- Discussion of the key points in writing powerful embedded SQL
- What tools should you use to write and test SQL prior to embedding it?
- Controlling CRTSQLRPGI
- SQLCA and SQLCODE considerations
- Getting data without SELECT - GET DIAGNOSTICS and VALUES INTO
- Mastering Multi Row Fetch
- Handling NULL
- Dates, Times and Timestamps
Prerequisite: This session assumes you are familiar with the topics covered in Embedded SQL - the Basics
An RPGer's Adventures in Webland
At System i Developer we like to practice what we preach. The company web site is designed for and is served from a System i. An application is used to manage conference information which, in turn, is used to generate web pages. There are also interactive web pages that communicate directly with RPG programs (e.g. selecting your session grid and repeat sessions).
This session shows you how the web site was built and how the following items played a key part in the development of the web site:
- Design Decisions
- Tools Used - WDSC, Navigator
- Creating the Database using DDL (SQL)
- Externalizing the Database
- The public and the private web sites
- Maintaining information (using CGIDEV2)
- Making use of PHP
- Generating Static Web Pages
- Using and tuning embedded SQL
- Using AJAX
Introduction to AJAX for RPG Programmers
AJAX provides a means of having a web page communicate with a server, either synchronously or asynchronously. Combined with CGI programming techniques (CGIDEV2 is used in the presentation), you now have a means of dealing interactively with a web page i.e. changing the contents of a web page without having to re-write the whole page.
And best of all, it is already installed on every PC, all you have to do is use it!.
In this session you will learn:
- The background to AJAX
- How it works
- Examples of how to use it
ComCon is a company owned and run by Paul Tuohy. It specializes in consultancy, software development and training for the IBM i (System i, i5, iSeries and AS/400).
Paul Tuohy has worked in the development of IBM Midrange applications since the '70s. He has been IT manager for Kodak Ireland Ltd. and Technical Director of Precision Software Ltd. As well as being CEO of ComCon he is also one of the co-founders of System iDeveloper, a consortium of top experts and educators on i technology. He has been teaching and lecturing since the mid-'80s.
He also writes regular articles for most of the industry publications and is one of the quoted industry experts in the IBM Redbook "Who knew you could do that with RPG IV?".