public training untuk rpg iv programmers atau cobol programmers

2
SQL Implementation and embedded Programming in IBM i i i i n n n @ @ @ Course code : iP60S Duration: 5 days Purpose Structured Query Language (SQL) is a standardized language for defining and manipulating data in a relational database. SQL statements can be embedded in high-level languages, dynamically prepared and run, or run interactively. This course provides an IBM i or iSeries implementation of SQL using DB2 for OS/400 or IBM i database. This course also enables you to acquire the skills necessary to produce application programs that manipulate DB2 databases. Emphasis is on embedding Structured Query Language (SQL) statements and preparing programs for execution. Audience Experienced iSeries RPG IV programmers or COBOL programmers who want to learn how to use SQL as a means to perform Input/output (I/O) to access DB2 UDB for iSeries or IBM i in their applications This class workshop is also for end-users, programmers, application designers, database administrators, and system administrators who have experiences in writing RPG IV or COBOL programs but do not yet have knowledge of the SQL Data Manipulation Language (DML) and embedded it in RPG IV or COBOL programs. Prerequisites You should complete the following course or have experiences in: System i Application Development Tools and Programming Facilities Workshop (iP10) Or have equivalent skills to: Use Program Development Manager (PDM) and Source Entry Utility (SEU) to code programs Experience coding applications in the RPG IV language or COBOL is strongly recommended. If you have no knowledge of RPG IV or COBOL, you may get

Upload: hany-paulina

Post on 25-Jan-2017

31 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Public Training untuk RPG IV Programmers atau COBOL Programmers

SQL Implementation and embedded Programming in IBM i iiinnn@@@ Course code : iP60S Duration: 5 days Purpose Structured Query Language (SQL) is a standardized language for defining and manipulating data in a relational database. SQL statements can be embedded in high-level languages, dynamically prepared and run, or run interactively. This course provides an IBM i or iSeries implementation of SQL using DB2 for OS/400 or IBM i database. This course also enables you to acquire the skills necessary to produce application programs that manipulate DB2 databases. Emphasis is on embedding Structured Query Language (SQL) statements and preparing programs for execution. Audience Experienced iSeries RPG IV programmers or COBOL programmers who want to learn how to use SQL as a means to perform Input/output (I/O) to access DB2 UDB for iSeries or IBM i in their applications This class workshop is also for end-users, programmers, application designers, database administrators, and system administrators who have experiences in writing RPG IV or COBOL programs but do not yet have knowledge of the SQL Data Manipulation Language (DML) and embedded it in RPG IV or COBOL programs. Prerequisites You should complete the following course or have experiences in:

System i Application Development Tools and Programming Facilities Workshop

(iP10)

Or have equivalent skills to: Use Program Development Manager (PDM) and Source Entry Utility (SEU) to code programs

Experience coding applications in the RPG IV language or COBOL is strongly

recommended. If you have no knowledge of RPG IV or COBOL, you may get

Page 2: Public Training untuk RPG IV Programmers atau COBOL Programmers

less value from this course than an experienced RPG IV’s and COBOL’s programmer

Objectives

On completion of this course, you should be able to:

Describe the major SQL’s part supported for OS/400 or IBM i Operating System.

Using Interactive SQL on OS/400 or IBM i Operating System. Code SQL statements to retrieve data from a DB2 table, including the

SELECT, FROM, WHERE, GROUP BY, HAVING and ORDER BY clauses Code inner Joins, including joining a table to itself Use SQL arithmetic operations Use scalar and column functions Use UNION and UNION ALL Use some of additional Scalar Functions and expressions. Code simple CREATE TABLE and CREATE VIEW statements INSERT, UPDATE and DELETE rows Describe various SQL Application alternatives on the iSeries or IBM i Understand the requirements of using Embedded SQL in OS/400 or IBM i. Incorporate static SQL statements in an application program Code, compile and execute the embedded program Review compilation listing, find and correct compilation errors. Embed INSERT, UPDATE, DELETE a single-row SELECT statements in

application programs Understand SQL statements related to use a cursor like DECLARE, OPEN,

CLOSE, FETCH, DELETE, UPDATE Produce code to support multiple rows being returned from the database

manager using cursors Identify differences between static and dynamic SQL List the types of dynamic statements Code, compiled and execute an application using dynamic SQL. Using SQL SELECT statements to create Query Management Query object

(*QMQRY). Produce default Query report using *QMQRY object and customized Query

Management Form (*QMFORM) using RPG or COBOL.