Avatar of rhservan
rhservanFlag for United States of America

asked on 

What is an excellent SQL reference for AS400 DB2? EZ for DB2 Pro

I am creating stored procedures and queries on an AS400 DB2 system to interface on the as400 connector to SSRS and need a very good reference docuement for writing SQL.
DB2SSRSSQL

Avatar of undefined
Last Comment
rhservan
ASKER CERTIFIED SOLUTION
Avatar of Member_2_2484401
Member_2_2484401
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of lcohan
lcohan
Flag of Canada image

If you are writing the code in AS400 as mentioned please provide what language of choice you want it into. If you use RPG then below is a good reference:

http://www.redbooks.ibm.com/redbooks/pdfs/sg245402.pdf


For SQL:
http://www.sql-server-performance.com/2003/stored-procedures-basics/
http://www.mssqltips.com/sqlservertutorial/160/sql-server-stored-procedure/
Avatar of Member_2_276102
Member_2_276102

It looks like there might be two parts to your question. First is about creating procs and queries on the AS/400. But it continues with a reference to "the as400 connector to SSRS" and a more generic "for writing SQL."

Are you asking specifically about writing SQL that will run on the AS/400? Or are you needing info about SQL on some other platform that will connect across your network to the procs on your AS/400?

The previous comments are very good. But if you need info about SQL on the AS/400, you will want links for the AS/400 SQL references for the OS version that's on your AS/400.

What OS version/release is installed?

Tom
Avatar of rhservan
rhservan
Flag of United States of America image

ASKER

I have the connector - 0le DB for DB2 - from Microsoft.
I need a stored procedure to run from the AS400 DB2 environment to MS SSRS in Visual Studio.
What I have is working for data, however, when I add parameters the parameters get created on the MS side in SSRS but then the columns and data are lost.

So if you know how to fix this or you can provide a comprehensive guide to address these issues between the two differing environments will get you the points.
SQL
SQL

SQL (Structured Query Language) is designed to be used in conjunction with relational database products as of a means of working with sets of data. SQL consists of data definition, data manipulation, and procedural elements. Its scope includes data insert, query, update and delete, schema creation and modification, and data access control.

61K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo