Create a Seq File with contents of all PDS Members

In this Mainframe Forum - You can post your queries on DFSORT, ICETOOL , SyncSort & JCL Utilities

Moderators: Frank Yaeger, Moderator Group

Post Reply
nw372
Member
Posts: 5
Joined: Sun Aug 09, 2009 5:08 pm

Create a Seq File with contents of all PDS Members

Post by nw372 » Fri Sep 11, 2009 6:27 am

Hi,
I have a PDS with 200 members (COBOL PROGRAMS)
I Want to create a sequencial file with all 200 PROGRAMS Separating each program with '#######' string
Is this possible?

Thanks
Nuno

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Fri Sep 11, 2009 3:39 pm

Is this possible?

Yes. Since you're dealing with a PDS, are you looking to code a program to handle this? If not, what does your plan for this process look like?

nw372
Member
Posts: 5
Joined: Sun Aug 09, 2009 5:08 pm

Post by nw372 » Fri Sep 11, 2009 5:34 pm

I would like to perform this task using a kind of SORT without coding a program.
Thank you very much.

Nuno

User avatar
Chanti
Member
Posts: 32
Joined: Thu Nov 27, 2008 4:31 pm

Post by Chanti » Fri Sep 11, 2009 5:42 pm

Hi Nuno,

I think in Sort there is no such option available, but with the help of IEBPTPCH utility you can get your requirement done.

Thanks,
Chanti.

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Fri Sep 11, 2009 8:29 pm

I agree. A combination of IEBPTPCH and SORT should get you what you want.

Gerry Ciccheti
Member
Posts: 16
Joined: Thu Jul 30, 2009 7:52 am

Post by Gerry Ciccheti » Mon Sep 14, 2009 7:27 am

Hi,

you can achieve this with FILEAID if you have it.


Gerry

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others