PDS Comparison/Maintenance Utility IBM 370/148, circa 1980

December 18,2007
NEWS - I'm currently working on Version 4 of PDS2PDS.

See the details here.

Also, I've created a place here to post progress updates as they occur.

PDS2PDS (PDS to PDS) is an IBM MVS ISPF utility that lets you display the members of two partitioned datasets side-by-side on the same screen.

When you invoke PDS2PDS the Dataset Name and Display Options panel is displayed. This panel is where you enter the names of the datasets to be compared. You can also enter member names or member name patterns and choose one of the processing and display options.

After you fill in this first panel and press ENTER the Member List panel is displayed. In this panel you can enter global commands that act on the dataset or all members of the dataset, or you can enter line commands that act on individual members one at a time.

Verson 3.02

As of 08/15/1999, PDS2PDS is at Version 3.02

A file called $HISTORY.TXT, included with the PDS2PDS.ZIP file, contains the details of the changes for Version 3.02.

There were two significant change and several small fixes.

The first change made was to modify the member list panel to include the member display option input fields. Now you can change display options from the member list panel and you don't have to exit to the dataset name panel.

The second change was to add additional customizable items to the P2PCUSTM exec. The $INSTALL.DOC file has the details of these additional items.


If you are upgrading from Version 3 or 3.01 to 3.02, just follow the $install.txt document and reinstall everything from the beginning. Don't forget to modify the P2PCUSTM exec again if you had made any changes to it for previous versions. Be sure to replace your existing COBOL programs because a change was made to P2PBTBL.

Download PDS2PDS

To install PDS2PDS you need to download the following files:

  • $INSTALL.TXT, the PDS2PDS Installation Instructions (66K file size, updated on 8/15/1999)
  • PDS2PDS.ZIP, the PDS2PDS Zip File (71K file size, updated on 8/15/1999)

    After you download PDS2PDS.ZIP you need to unzip it with WinZip or an equivalent utility. This will create the following files:

    • $HISTORY.TXT - An text file containing the change history of PDS2PDS
    • P2PREXX.XMI - The REXX execs - A binary file, in TSO TRANSMIT format
    • P2PPANLS.XMI - The ISPF Panels - A binary file, in TSO TRANSMIT format
    • P2PMSGS.XMI - The ISPF Messages - A binary file, in TSO TRANSMIT format
    • P2PSRCE.XMI - The COBOL source code - A binary file, in TSO TRANSMIT format
    • P2PALLOC.REX - The P2PALLOC installation exec - A text file
    • P2PRECV.REX - The P2PRECV installation exec - A text file
    • COMPCOB2.TXT - Compile JCL for READDIR and P2PBTBL, using COBOL II
    • COMPCMVS.TXT - Compile JCL for READDIR and P2PBTBL, using COBOL for MVS and VM

    Two COBOL modules, P2PBTBL and READDIR, are part of PDS2PDS. To save download time you can compile the source modules using the COMPCOB2.TXT or COMPCMVS.TXT JCL members included in the PDS2PDS.ZIP file.

    Otherwise you can download either of the following ZIP files which contain the executable load modules. You only need one of these ZIP files. Just download the one for the version of COBOL used in your MVS environment.

    • P2PCMVSL.ZIP contains the READDIR and P2PBTBL COBOL load modules compiled with COBOL for MVS and VM (314K file size, updated on 08/15/1999)
    • P2PCOB2L.ZIP contains the READDIR and P2PBTBL load modules for COBOL II (312K file size, updated on 08/15/1999)

    Unzipping P2PCMVSL.ZIP will create P2PCMVSL.XMI and unzipping P2PCOB2L.ZIP will create P2PCOB2L.XMI.

    The $INSTALL.TXT file contains the details of uncompressing the zip files and transferring the expanded files to the mainframe.

    Be sure the runtime libraries for the appropriate version of COBOL are available to your TSO session when you use PDS2PDS. Symptoms of missing or incorrect runtime libraries are S0C1 or S0C4 abends in the two COBOL programs.

Email to:
18904 visitors since
Last modified: 08/15/1999
Best viewed with
or greater at
1024 x 768 resolution