Skip to content

dariocs/vscode-ibmi-fs

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

132 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

vscode-ibmi-fs

This extension provides additional functionality not found in the base Code for IBM i extension for viewing and managing objects inside of the IBM i QSYS file system.

Supported Object Types

πŸ“¦ Save Files (SAVF)

Save files are special file objects used to store saved objects and libraries.

Features:

  • πŸ“Š Display save file contents (objects, members, spooled files, IFS directories)
  • ⬇️ Download save file to local system
  • ⬆️ Upload save file(s) from local system
  • πŸ—‘οΈ Clear save file contents
  • πŸ’Ύ Save objects/libraries to save file
  • πŸ“‚ Restore objects/libraries from save file

πŸ“¨ Data Queues (DTAQ)

Data queues are objects used for inter-process communication, allowing programs to send and receive messages asynchronously.

Features:

  • πŸ“Š Display data queue information and attributes
  • πŸ“‹ View messages in the queue
  • ➑️ Send new messages to the queue
  • πŸ—‘οΈ Clear all messages from the queue
  • πŸ”‘ Support for keyed and non-keyed data queues

πŸ“ Data Areas (DTAARA)

Data areas are objects that store data that can be accessed by multiple programs.

Features:

  • πŸ“Š Display data area information and current value
  • πŸ“‹ View data area attributes (type, length, decimal positions)
  • ✏️ Change data area content
  • πŸ”’ Support for different data area types (*CHAR, *DEC, *LGL)

πŸ–¨οΈ Output Queues (OUTQ)

Output queues manage spooled files and printer output.

Features:

  • πŸ“Š Display output queue information and statistics
  • πŸ“‹ List all spooled files in a queue with details
  • ⏸️ Hold/Release output queues
  • πŸ—‘οΈ Clear output queue
  • ▢️ Start/Stop printer writers
  • πŸ“„ Generate PDF from spooled files
  • πŸ—‘οΈ Delete individual or old spooled files
  • 🎨 Dynamic UI based on queue and writer status

πŸ“‹ Job Queues (JOBQ)

Job queues manage batch jobs waiting to be processed.

Features:

  • πŸ“Š Display job queue information and statistics
  • πŸ“‹ List all jobs in a queue with their details
  • ⏸️ Hold/Release/Clear job queues
  • ⏸️ Hold/Release/End individual jobs
  • 🎨 Dynamic UI based on queue and job status

πŸ’Ύ User Spaces (USRSPC)

User spaces provide temporary or permanent storage for data that can be accessed by multiple programs.

Features:

  • πŸ“Š Display user space information and attributes
  • πŸ“‹ View user space content (hexadecimal and text representation)
  • ✏️ Change user space data at specific positions
  • πŸ“ Support for different user space sizes
  • πŸ”„ Automatic space extension capabilities

πŸ’¬ Message Files (MSGF)

Message files contain predefined messages used by IBM i applications.

Features:

  • πŸ“Š Display all messages in the message file
  • πŸ“‹ View message details (ID, text, severity, reply type)
  • πŸ“„ First and second level message text
  • βš™οΈ Reply type and valid reply values
  • πŸš€ Fast table component for performance with many messages

πŸ’¬ Message Queues (MSGQ)

Message queues store messages sent by programs, system functions, or users, providing communication between jobs.

Features:

  • πŸ“Š Display message queue contents with detailed information
  • πŸ“‹ View message text (first and second level)
  • πŸ“… Show message metadata (severity, timestamp, sender job/user)
  • πŸ—‘οΈ Clear all messages from the queue
  • πŸš€ Fast table component for performance with many messages

πŸ”— Binding Directories (BNDDIR)

Binding directories contain lists of service programs and modules used during program binding.

Features:

  • πŸ“Š Display binding directory entries
  • πŸ“‹ View bound objects (library, type, activation)
  • πŸ“… Creation date and time information
  • βž• Add new entries to binding directory
  • πŸ—‘οΈ Delete entries from binding directory
  • πŸ” View exported symbols from service programs

πŸ”§ Programs and Service Programs (PGM/SRVPGM)

Programs and service programs are executable objects.

Features:

  • πŸ“Š Display comprehensive program information
  • πŸ“‹ View program attributes and properties
  • πŸ”— List bound modules
  • πŸ“¦ List bound service programs
  • πŸ” View exported symbols (for service programs)
  • πŸ› Debug data availability information
  • πŸ“… Creation and compilation information

🧩 Modules (MODULE)

Modules are compiled ILE objects that contain executable code and can be bound into programs or service programs.

Features:

  • πŸ“Š Display comprehensive module information
  • πŸ“‹ View module attributes (creation date, source file, compiler options)
  • πŸ“ Detailed size information (code size, data size, debug data)
  • πŸ”§ List all procedures defined in the module
  • πŸ”— View imported and exported symbols
  • πŸ“¦ Display referenced system objects
  • ©️ Show copyright information
  • 🎨 Multi-tab interface for organized information display

βš™οΈ Commands (CMD)

Command objects define IBM i CL commands.

Features:

  • πŸ“Š Display command definition
  • πŸ“‹ View all command parameters
  • πŸ”‘ Parameter keywords and values
  • πŸ“ Parameter descriptions
  • πŸ”’ CCSID information

πŸ“„ Job Descriptions (JOBD)

Job descriptions define the runtime environment for batch jobs.

Features:

  • πŸ“Š Display job description attributes
  • πŸ“‹ View job queue, output queue, and message queue
  • πŸ‘€ User profile and initial library list
  • βš™οΈ Job attributes and system values
  • πŸ”§ Routing data and request data

πŸ““ Journal Receivers (JRNRCV)

Journal receivers store journal entries for auditing, recovery, and replication purposes.

Features:

  • πŸ“Š Display journal receiver information and attributes
  • πŸ“‹ View receiver status and statistics
  • πŸ”’ View sequence number ranges (first/last)
  • πŸ“… View attachment and detachment timestamps
  • πŸ”— View linked receivers (previous/next in chain)
  • 🌐 View remote journal configuration
  • πŸ” View filter settings (objects, images, programs)
  • πŸ’Ύ View size and threshold information

πŸ““ Journals (JRN)

Journals record changes to database files, data areas, and other objects for auditing, recovery, and replication.

Features:

  • πŸ“Š Display journal information and configuration
  • πŸ“‹ View journal receiver chain with details
  • πŸ”— View attached receiver and receiver statistics
  • πŸ”’ View sequence number ranges for each receiver
  • πŸ“… View attachment, detachment, and save timestamps
  • 🌐 View remote journal configuration
  • πŸ” Display journal entries using SQL queries
  • βž• Generate new journal receivers
  • πŸ’Ύ View size and threshold information
  • βš™οΈ View journal settings (cache, filtering, fixed-length data options)

🌐 DDM Files (DDMF)

DDM (Distributed Data Management) files provide access to files on remote systems.

Features:

  • πŸ“Š Display DDM file configuration and attributes
  • 🌐 View remote location information (system name/address, port)
  • πŸ”— View remote file name and library
  • βš™οΈ View access method and file attributes
  • πŸ”’ View security and connection settings
  • πŸ“‹ Support for multi-line field values

πŸ–₯️ Subsystem Descriptions (SBSD)

Subsystem descriptions define independent operating environments within IBM i that control how work enters the system and how resources are allocated.

Features:

  • πŸ“Š Display subsystem information and status (active/inactive)
  • πŸ“‹ View memory pools configuration
  • πŸš€ View autostart job entries (AJEs)
  • πŸ’» View workstation entries (WSEs)
  • πŸ“‹ View job queue entries (JOBQEs)
  • πŸ”€ View routing entries (RTGEs)
  • ⚑ View prestart job entries (PJEs)
  • πŸ‘₯ View active jobs in the subsystem (when active)
  • ▢️ Start subsystem
  • ⏹️ End subsystem with multiple options (*IMMED, *CNTRLD)
  • πŸ›‘ End individual jobs within the subsystem
  • 🎨 Dynamic UI based on subsystem status

🎯 Classes (CLS)

Classes define the runtime attributes for batch jobs, controlling how jobs execute and consume system resources.

Features:

  • πŸ“Š Display class information and attributes
  • 🎚️ View run priority (1-99, lower number = higher priority)
  • ⏱️ View time slice in milliseconds
  • πŸ’Ύ View maximum temporary storage allowed
  • ⚑ View maximum CPU time limit
  • πŸ‘₯ View maximum active threads
  • ⏳ View default wait time for locks
  • πŸ—‘οΈ View purge eligibility status
  • πŸ“… View usage statistics (last used date, days used count)
  • πŸ”§ Automatic creation of required SQL objects using QWCRCLSI API
  • πŸ“– Read-only view (use CHGCLS command to modify)

πŸ“ Files (FILE)

File objects include physical files (PF), logical files (LF), views, and indexes that store and organize data.

Features:

  • πŸ“Š Display comprehensive file/table/view/index information
  • πŸ“‹ View file attributes (creation date, owner, journaling status, CCSID)
  • πŸ“ˆ View detailed statistics (row counts, operations, I/O metrics)
  • πŸ‘₯ Display file members with their statistics
  • πŸ”— Show dependent objects (indexes, views, constraints)
  • πŸ” Query file contents using SQL SELECT
  • πŸ“„ View view definitions and capabilities
  • 🎯 Support for both DDS and SQL-based files
  • 🎨 Multi-tab interface for organized information display

πŸ” Query Definitions (*QRYDFN)

Query definitions are objects created by Query/400 or Query Manager that define database queries.

Features:

  • πŸ“Š Translate *QRYDFN objects to SQL statements in text editor
  • πŸ”— Automatic file reference conversion (LIB/FILE β†’ LIB.FILE)
  • πŸ“– Read-only view (use Query/400 or Query Manager to modify)

Installation

This extension requires the Code for IBM i extension to be installed and connected to an IBM i system.

Usage

  1. Connect to your IBM i system using Code for IBM i
  2. Navigate to the Object Browser
  3. Actions available inside the Action Bar (top right)

Requirements

  • Code for IBM i extension
  • Active connection to an IBM i system

Contributing

Contributions are welcome! Please feel free to submit issues or pull requests.

License

MIT License - see LICENSE file for details

About

File system provider for IBM i QSYS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 99.5%
  • JavaScript 0.5%