IBM i ACS - Download SPLF (Spool Files) as PDF

If you're anything like me, you've spent way too many hours staring at green-screen spool files, squinting at those endless lines of report data, and thinking, "Wouldn't it be smashing if I could just yank this bad boy out as a PDF and email it to the boss without breaking a sweat?"

Well, buckle up, because IBM i Access Client Solutions (ACS) has your back. We're talking dead-simple spool file downloads straight to your desktop – no faffing about with CL commands or third-party tools. This little trick has saved my bacon more times than I can count, especially when debugging a rogue RPG program that's spewing out a report that looks perfect on the i but needs a quick PDF audit trail for the stakeholders.

In this quick-fire lesson, I'll walk you through the setup and steps like we're chatting over a cuppa. No fluff, just the goods. Let's crack on.

What You'll Need (Prerequisites – Keep It Simple)

Before we dive in, make sure you've got:

  • IBM i ACS installed and humming along on your PC, Mac, or Linux box. If not, grab it from the IBM site – it's free and lighter than a feather.
  • A live 5250 session open in ACS, connected to your IBM i box.
  • Your IBM i system should have AFP Transform Services (option 1 of 5763-TS3 or equivalent) installed and ticking over. This is what does the PDF magic under the hood. If it's not, your downloads might come out as plain text – which is fine for code, but rubbish for formatted reports.

If you're missing any of that, pause here and sort it. Trust me, it's worth the five minutes.

The Main Event: Step-by-Step Spool File to PDF Glory

Alright, gloves off. Fire up ACS and let's get that spool file behaving.

Jump into Your 5250 Session: Open up a good old 5250 emulator session in ACS. You know the drill – connect to your IBM i, log in, and make sure you're in a job that's got some spool files lurking (run a quick WRKSPLF if you need to check).

Summon the Printer Output Wizardry: From the menu bar (or right-click if you're feeling mousey), hit Actions > Printer Output. Boom – a shiny new window pops open, listing all your spool files like a digital filing cabinet. It's your personal spool file buffet.

Spot Your Target: Scroll through the list and highlight the spool file you fancy. Look for the job name, user, or output queue that screams "this is the one!" Pro tip: If the list is a mile long, use Edit > Filter to narrow it down by user or queue. (Steer clear of "ALL USERS" unless you fancy a coffee break while it loads – it's a beast.)

Download Like a Pro: With your spool file selected, go to Actions > Download. You'll see a little file preview or list at the bottom. Highlight the entry (it might already be PDF-ready if your system's Transform Services are on point), and simply drag and drop it straight onto your desktop or wherever you stash your files.

  • ACS defaults to PDF format for the win – formatted, searchable, and ready to email without looking like it was printed on a dot-matrix from 1985.
  • If it spits out as text instead? No drama – hop to Edit > Preferences in the Printer Output window and tick the "PDF" box. Rinse and repeat.

Rinse, Repeat, Revel: There you go – your spool file is now a crisp PDF lounging on your hard drive. Open it up in your favourite viewer, zoom in on those details, and pat yourself on the back.

The whole shebang takes about 30 seconds once you're in the flow. Magic, innit?

A Few Cheeky Tips to Avoid Headaches

  • Permissions Blues? If you get a "no access" slap, check your user profile has *SPLCTL special authority or tweak the output queue security. Programmers gonna program, but security's a gatekeeper.
  • Big Honkin' Spools: For monster reports (I'm looking at you, multi-page payroll dumps), give it a mo – the PDF conversion chews a bit of CPU. Don't panic if it hangs for a tick.
  • Batch It Up: Fancy automating? ACS isn't a scripting beast, but you could wrap this in a CL routine using CPYSPLF to a stream file, then AFP2PDF for the transform. But that's a lesson for another day – keep it GUI for now.
  • ACS Version Vibes: I'm assuming you're on a recent ACS (1.1.9.x or later). If you're stuck in the stone age, update – IBM's been polishing PDF support like a trophy.

There you have it, folks – downloading IBM i spool files as PDFs via ACS, served up hot and hassle-free.

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>