Quantcast
Channel: I Think - Therefore "IBM i" - #SQL
Browsing latest articles
Browse All 27 View Live

SQL Joins in the world of IBM i - like Join Logical Files but sexier

In my ongoing mission to use SQL rather than the older style direct file IO (which I will called DDS) - I've found lots of improvements and things that I really like about SQL in general. One of the...

View Article



Image may be NSFW.
Clik here to view.

SQL RPG and the annoying compile COMMIT *NONE thing

SQL has been a major game changer in the RPG programming world.I first played with SQL back the golden days of RPG3 and RPG400 when we were all wrapped up in using Commitment Control. Journalling files...

View Article

Image may be NSFW.
Clik here to view.

Varying fields in DDS after SQL:

I found this terrific article over at IT Jungle. It's an oldie but a goldieWorking with Varying-Length Database FieldsHey, David:We use a utility to replicate data files between our iSeries system and...

View Article

System21 - Phone numbers for any customers on sales orders

During a meeting this morning, I was asked to provide a list of all Customer phone numbers for any System21 Customers that have ever been used on a Sales Order.Perhaps this sounds like a complicated...

View Article

Speeding up SQLRPGLE using indexes instead of logicals

SQL is a wonderful beast for quickly getting data from huge tables (aka Files). The trouble with SQL is that it's so very simple to use; programmers get lazy and sometimes forget to do the analysis to...

View Article


Image may be NSFW.
Clik here to view.

CPF327E Unable to move file into a new library

That was a weird error!I created a work file in my library, by copying an existing file from another library. I tinkered with it, loaded it with data and then wanted to rename it and store it alongside...

View Article

upgrade from PF to DDL (SQLSTM) using TURNOVER from UNICOM SOFTLANDING

When you do the RUNSQLSTM to create your SQL Objects - Do not qualify library names but use the Turnover variables just like you would define PDM variables:? RUNSQLSTM SRCFILE("&SL"/"&SF"...

View Article

Replace IBM i Native File Access with SQL

I found this excellent article by Birgitta Hauser (BHA@Toolmaker.de), Software and Database Engineer, Toolmaker Advanced Efficiency GmbHJust in case it vanishes I'm going to reproduce it here and have...

View Article


Adopting Authority - Problems with SQL RPG Programs

RPG PROGRAM USER(*OWNER) - Adopts the object owner level of AuthorityMost IBM i Programmers are aware of the USER(*OWNER) compile setting -- anyone calling this program will adopt the authority level...

View Article


RPGLE and SQLRPGLE - The dreaded USRPRF(*OWNER) conundrum

How does USER(*OWNER) work with RPGLE Programs?If you compile IBM i programs using USRPRF(*OWNER) then they will adopt the security setting for the program owner at runtime. #sometimesIf you are...

View Article
Browsing latest articles
Browse All 27 View Live




Latest Images