by Andrea | 17 April 2026 | IBM i, Sql Tricks & Tools, System Management
I often find myself needing to search through tape catalogs to locate specific libraries or datasets, and manually reviewing DSPTAP spool files for each tape becomes tedious very quickly. So I decided to wrap the DSPTAP command in a SQL table function to make batch...
by Andrea | 8 February 2026 | IBM i, Programming, Sql Tricks & Tools, System Management
I often find myself needing to run several commands in QSH, and I have now found an alternative way to do this compared to the classic bash scripts. Once again, SQL comes to our aid. Now, using QSH in batch mode is very simple but requires a little attention. In our...
by Andrea | 25 January 2026 | IBM i, Sql Tricks & Tools, System Management
This week, a customer opened a ticket complaining that there were too many job logs on their system… this meant that when a user searched for their print job with WRKSPLF, they were inundated with a considerable number of job logs, making it difficult to find the...
by Andrea | 2 January 2026 | IBM i, Sql Tricks & Tools, System Management
System security is becoming one of the most important issues that IT managers have to deal with. This also applies to IBM i systems. In fact, the days when the only access to systems was via a terminal are long gone. Now systems are at the center of complex ecosystems...
by Andrea | 16 November 2025 | IBM i, Sql Tricks & Tools, System Management
It is quite common to have customers with specific backup requirements, such as changing the expiration date of the tape used based on the day of the month or year for tax purposes. For this reason, it is always complicated to have standard jobs or calendars with a...
by Andrea | 8 November 2025 | IBM i, Sql Tricks & Tools
I often find myself in a situation where I have several different systems and need to extract data from all of them by running queries from a single partition. Well, there is a DB2 for i function that allows you to run SELECT SQL on remote machines. What do we need?...