This extension provides views and tools for viewing spooled files, user jobs and message queues. Spooled Files and Message Queues can be set up to view by user profile and/or queue name.
Features
Has support for:
Listing items in Queue in a tree view.
Tool tip hover for number of spooled files for user
Tool tip hover for spooled file to show extra attributes
Multi-spooled file selections for many actions.
Searching through item details
Filtering list based on certain criteria in attributes. See tool tip for data to filter over.
Sorting list by name or date in ascending or descending order.
Removing filter
Deleting single or multiple of items.
Has Spooled File specific support:
Adding addition users to view spooled file for in read-only mode
Reading spooled file in editor tab with or without line spacing. OPened spooled files will be downloaded to local %TMP% folder.
Open spooled file in PDF format in edit tab. Requires PDF viewer extension.
Download spooled file to .TXT, .SPLF or .PDF
Downloading spooled files to local workspace.
Downloading spooled files with added line spacing (text format only).
Delete spooled files by user, specific line, specific name, all matching filter.
Move a spooled file to another output queue.
Has Message Queue specific support:
Display message details in edit tab
Send a message to queue
Replay to an inquiry message
Toggle special filtering for INQUIRY ONLY or all messages
Has User Jobs specific support:
Display job details in edit tab
When job is in OUTQ status, job log opens
Replay to an inquiry message
Toggle special filtering for MSGW status joba or all jobs
Requirements
You need to install a PDF viewer to open PDFs within VS Code.
Extension Settings
vscode-ibmi-queues.splfBrowser.namePattern: Additional Spooled File name mapping pattern for when Spooled Files are opened or downloaded.
vscode-ibmi-queues.splfBrowser.tempCleanup: When checked and VS Code closes, clean up left over temp Spooled Files from users %TMP% folder.
vscode-ibmi-queues.splfBrowser.openWithLineSpacing: When checked the default open option will be with extra blanks lines added.
Configurations to show or hide a certain feature of this extension.
vscode-ibmi-queues.splfBrowser.enabled: Allows user to have viewer appear and function or just be hidden.
vscode-ibmi-queues.msgqBrowser.enabled: Allows user to have viewer appear and function or just be hidden.
vscode-ibmi-queues.userJobBrowser.enabled: Allows user to have viewer appear and function or just be hidden.
Known Issues
There is a small issue in an IBM view this extension is using, in that if the OUTQ the spooled file is in is too large (100000+ entries for example) some functionality will appear to slow down. I am using the QSYS2.OUTPUT_QUEUE_ENTRIES_BASIC to retrieve the spooled file device type so that the extension can prevent non-*SCS types from being searched or open *AFPDS as PDF types by default. It does not matter if I ask for a details of single spooled file using very specific criteria or the whole set of spooled files in an OUTQ with a enormous number of spooled files.
Command Categories
IBM i SPLF
IBM i Messages
IBM i User Jobs
Commands
IBM i: Focus on User SPLF Browser View
IBM i SPLF: add Spooled File Filter
IBM i SPLF: close
IBM i SPLF: collapse All
IBM i SPLF: Delete Spooled File Filter
IBM i SPLF: Refresh Spooled File Browser
Building from source
This project requires VS Code, Node.js, and Code for IBM i.