Adds an IBM i Notebook, which allows users to create notebooks to:
- run CL commands
- run commands in PASE (
shellscript
) - execute SQL statements
Depends on Code for IBM i.
Notebooks are documents that contain a mix of rich Markdown, executable code snippets, and accompanying rich output. These are all separated into distinct cells and can be interleaved in any order.
Notebooks are great storytelling devices, allowing you to interleave Markdown elements like images, math equations, and explanatory text with your code. Notebooks can be a perfect way to share and explain your ideas with coworkers or the public community.
Read more on the Visual Studio Code website.
- Connect to an IBM i using Code for IBM i.
- Create a file with the
.inb
extension - Open an
.inb
file- You can open
.inb
files in the IFS (not source members), or - you can open local
.inb
files. - You can also use the 'New Notebook' command to create a new local Notebook. Use F1/Ctrl+Shift+P and search 'new notebook'
- You can open
When CL commands are executed, they will use the library list that is setup in Code for IBM i. If you have CL content assist enabled (as part of Code for IBM i), then you will be able to use utilise that when writing CL commands.
SQL statements run in SQL mode (*SQL
) and will always have a default library that matches the user's user profile name. Any unqualified objects will use the default library.