Reading a spooled file with SQL
Querying the contents of a spooled file without copying it into a physical file first.
sqlspooldb2
Ready solutions
Short solutions to recurring problems, with ready-to-use code and the caveats to consider before running it in production.
Querying the contents of a spooled file without copying it into a physical file first.
sqlspooldb2
With the right delimiter and the right encoding, so Excel does not show odd characters.
clifscsv
Turning the seven-digit format into a real date with a single expression.
sqldatedb2
What WRKACTJOB shows on screen, but queryable and sortable.
sqljobperformance
The shortest command to notify someone when a batch finishes, with no API and nothing to install.
clsmtpbatch
They are the first cause of full disks, but deleting them blindly costs you the recovery.
journalspaziobackup
The file will not update and the batch is waiting: two commands find the job responsible.
lockjobdiagnosi
And more to the point, which objects inside it are eating the space.
sqlspaziooggetti
Without working out how many days the month has, and without getting leap years wrong.
clschedulazionebatch
Db2 for i records which indexes it would have wanted, one query at a time. Creating them all is the quickest way to slow the database down.
sqldb2performanceindici
No recipe matches the search criteria.