# Export ISPF, SDSF and IBM i lists to Excel.

Source: https://wndsoftware.com/capture-all-pages

A list that runs over 36 screens becomes one Excel table in one step.

Included in every plan. [See pricing](https://wndsoftware.com/pricing)

ISPF 3.4
SDSF
IBM i WRKSPLF
Excel and CSV
Ctrl+Shift+A
Capture all pages is a WND Terminal feature that pages through a multi-screen host list, such as an ISPF 3.4 data set list, an SDSF job list or an IBM i Work with Spooled Files list, and joins every page into one table. Repeated headings appear once and overlapping rows are removed. The table goes to the clipboard and can be saved as Excel or CSV.

The problem

I need the full data set list for an audit. It’s 600 rows. I press PF8, copy, paste, fix the columns, delete the headings, and do it again. Thirty-six times.

Every time we paste into Excel, the leading zeros on our codes disappear.


## Two pages. Five jobs. One table.

Watch Capture read two pages and remove the repeated row. A 12-second walkthrough with fictional jobs, no audio and no AI.





[Watch the MP4](https://wndsoftware.com/media/features/capture.mp4) or read the walkthrough below.

[MP4 version](https://wndsoftware.com/media/features/capture.mp4)
· Edited from genuine browser-sample screens.
[Try it yourself without signing in →](https://wndsoftware.com/demo#launch)

### Read the visual walkthrough

- The first page shows three fictional jobs.
- The next page repeats PAYRL02 and adds RECON01 and REPORT01.
- Capture reads both pages through the real collector, removes the repeated row and prepares five unique jobs as one CSV.


## Need an IBM i spooled-file list or the report itself?

Capture all pages exports the rows displayed by WRKSPLF, such as file names, jobs and status. It does not extract the contents of the reports named in that list.


### Export the displayed WRKSPLF list

- Open WRKSPLF and position the list at the first row you need.
- Press Ctrl+Shift+A (⌘⇧A on a Mac). WND Terminal pages through the list and combines the rows.
- Choose Save as Excel or Save as CSV, then check the captured row count and columns.


### Export the contents of a spooled report

Ask your IBM i administrator about [IBM’s Copy Spooled File (CPYSPLF) command](https://www.ibm.com/docs/en/i/7.5.0?topic=c-copy-spooled-file). It copies report records to a database file or stream file. Printed report lines may still need parsing into spreadsheet columns. That is a separate workflow from capturing a screen list.


## How it works


### Open the list on the host

As you normally would: ISPF 3.4, SDSF ST, IBM i WRKSPLF.


### Press Ctrl+Shift+A

(⌘⇧A on a Mac), or choose Capture all pages from the right-click menu or the command palette.


### WND Terminal pages to the end

It presses PF8 (Page Down on IBM i), waits for the host each time, and keeps every page’s rows. It stops when the host marks the end, when “More...” goes away, or when the page stops changing.


### Paste or save

The table is already on the clipboard for Excel. Save as Excel writes an .xlsx file; Save as CSV writes a CSV.


## What it does


### One table, clean

Headings that repeat on every page appear once. Rows a page shows again because pages overlap (SDSF scrolls by half a page) are removed. Command lines, messages and function-key lines are never part of the table.


### Excel-ready files

A bold, frozen header, sized columns, numbers as numbers and codes such as `0042` kept as text, so leading zeros survive.


### Clear status

The status line says what was captured: “Captured 600 rows from 36 pages.”


### You stay in control

It starts from the page shown, stops after 500 pages by default (you can change it), and stops when you press Stop or Esc.


### Back where you started

“Go back to the first page afterwards” presses PF7 as many times as it paged forward.


### Mainframe and IBM i

ISPF and SDSF lists on z/OS; Work with Spooled Files and other lists on IBM i.


### Single screens too

Copy as table (Ctrl+Shift+C) copies the list on the current screen as real Excel columns.


### In the browser too

Saved files arrive as browser downloads.


## Under IT’s control

IT controls this feature and its audit trail. It does not send this feature’s content to WND Software; an authorized administrator can separately review and submit a bounded support report.

[How masking works →](https://wndsoftware.com/security#masking)
- Masking holds.  Hidden fields and values hidden by privacy settings (card numbers, IT’s patterns) stay hidden in the table and the files.
- IT can turn it off.  When the policy turns copying off (`AllowCopy` = false), capturing and saving are off too.
- Audit log:  one event per capture, with the row and page counts, and one per file saved. Never the screen’s contents.


## Getting data out of the green screen, proven

~60,000
hours of retyping removed a year at Texas HHSC, with Copy as table
With WND Terminal’s Copy as table, about 2,400 staff make about 48,000 copies a month, at an estimated 6 minutes saved each. Keying errors in QA spreadsheets fell from 4.1% to 0.3%, and a 40-row QA review sheet went from about 25 minutes to about 3. Capture all pages does the same for lists that run over many screens.

The trial group started forwarding each other screenshots of Excel. Angela Ruiz, Director, Program Support Systems, Texas HHSC

[Read the Texas HHSC story →](https://wndsoftware.com/case-study-texas-hhsc)

### Tested on real lists

600 data sets from an ISPF 3.4 list (36 pages), 150 SDSF jobs with overlapping pages, and 250 IBM i spooled files, with the clipboard and the saved files read back.


## Capture all pages: questions


### Which lists can Capture all pages read?

Any list WND Terminal finds on the screen, including ISPF 3.4 data set lists, SDSF job lists and IBM i Work with Spooled Files lists. It finds the columns from the screen’s layout.


### How does it know when to stop?

It stops when the host marks the end of the list, says so in a message, removes “More...”, stops changing the page, or locks the keyboard with an error. It also stops after 500 pages by default, or when you press Stop or Esc.


### Does it keep leading zeros?

Yes. Codes such as 0042 are saved as text in the .xlsx file, and numbers are saved as numbers.


### What about SDSF, which scrolls by half a page?

Rows that appear again because pages overlap are left out, so each row appears once.


### Can we stop people exporting data?

Yes. If IT turns copying off in the policy, capturing and saving are off too. Every capture and every saved file is recorded in the audit log, without the screen’s contents.


## Works well with

[Fill from Excel Type every row of a spreadsheet into an entry screen Learn more →](https://wndsoftware.com/fill-from-excel)
[Modern view The same live screen as a clean form Learn more →](https://wndsoftware.com/modern-view)
[IBM i (5250) Full 5250, printers, graphical windows, DBCS Learn more →](https://wndsoftware.com/ibm-i)
