Skip to content

Commit ddacf3c

Browse files
janfhchrjorgensen
authored andcommitted
Added rpg qualifier to SQL processors docs in DB2 for i
1 parent e74a09a commit ddacf3c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/content/docs/extensions/db2i/index.mdx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ SQL statements are executed using the active job selected in the SQL Job Manager
4141

4242
### SQL processors
4343

44-
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.
44+
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.
4545

4646
```sql
4747
-- result set as normal table
@@ -56,6 +56,9 @@ csv: select * from sample.employee;
5656
-- result set as SQL insert statement
5757
sql: select * from sample.employee;
5858

59+
-- RPG data structure based on result set columns
60+
rpg: select * from sample.employee;
61+
5962
-- run CL commands. output is directed to IBM i output channel
6063
cl: dspffd sample/employee
6164
```

0 commit comments

Comments
 (0)