Skip to content

Add rpgle-repl to Notebook#512

Open
tom-writes-code wants to merge 1 commit intocodefori:mainfrom
tom-writes-code:add-rpglerepl-to-notebook
Open

Add rpgle-repl to Notebook#512
tom-writes-code wants to merge 1 commit intocodefori:mainfrom
tom-writes-code:add-rpglerepl-to-notebook

Conversation

@tom-writes-code
Copy link
Copy Markdown

@tom-writes-code tom-writes-code commented Mar 19, 2026

Expose rpgle-repl to Notebooks.

DB2 i notebooks already allow inline SQL code snippets to be executed on the fly.

This functionality allows for small RPG examples to be included too, which could be used to confirm behaviour of %BiFs, or for simple training examples.

RPGLE-REPL was changed to allow code to be passed in to an SQL function, which then runs the REPL process, and returns a data set which can be parsed back to the user.

Setting for where RPGLEREPL lives (blank by default)

image

Option to change language mode

image

No connection, same as SQL

image

Configuration not installed

image

Compilation failure

image

Successful run

image

@tom-writes-code tom-writes-code marked this pull request as ready for review March 19, 2026 11:56
@tom-writes-code
Copy link
Copy Markdown
Author

The thing I'd love to change but can't work out where it comes from is the syntax highlighting - I'd love it to treat column 1 as the start of the line, rather than column 7 or 8.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant