From 5726cf6b603f682a92540e9415d44357fa25fe27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Frode=20H=C3=A5skjold?= Date: Tue, 15 Apr 2025 20:44:00 +0200 Subject: [PATCH] Added rpg qualifier to SQL processors docs in DB2 for i --- src/content/docs/extensions/db2i/index.mdx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/content/docs/extensions/db2i/index.mdx b/src/content/docs/extensions/db2i/index.mdx index e4ddda0..91c1ef2 100644 --- a/src/content/docs/extensions/db2i/index.mdx +++ b/src/content/docs/extensions/db2i/index.mdx @@ -41,7 +41,7 @@ SQL statements are executed using the active job selected in the SQL Job Manager ### SQL processors -Newer version of SQL provided by Db2 for i allows you to run CL commands in a script. There are also `json`, `csv`, and `sql` processors, which will open the result set in the chosen format. +Newer version of SQL provided by Db2 for i allows you to run CL commands in a script. There are also `json`, `csv`, `sql` and `rpg` processors, which will open the result set in the chosen format. ```sql -- result set as normal table @@ -56,6 +56,9 @@ csv: select * from sample.employee; -- result set as SQL insert statement sql: select * from sample.employee; +-- RPG data structure based on result set columns +rpg: select * from sample.employee; + -- run CL commands. output is directed to IBM i output channel cl: dspffd sample/employee ```