IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Move the members of the PDS into a single PS


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ilakkia
Warnings : 1

New User


Joined: 17 May 2008
Posts: 28
Location: chennai

PostPosted: Mon Jun 23, 2008 5:13 pm
Reply with quote

how to move the members of the PDS into a single PS?

we used the following code but FILEMGR is not support in our system.

//STEP010 EXEC PGM=FILEMGR
//SYSPRINT DD SYSOUT=*
//DDIN DD DSN=AAAA.AAA.AAAA,DISP=SHR
//DDOUT DD DSN=AB.ABC.ABCD,
// DISP=(NEW,CATLG,DELETE),
// SPACE=(CYL,(1,10),RLSE),
// DCB=(LRECL=80,RECFM=FB,DSORG=PS,BUFNO=18)
//*

Please specify the exact utility that serves my requirement.

Thanks,
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Jun 23, 2008 5:30 pm
Reply with quote

ilakkia wrote:
we used the following code but FILEMGR is not support in our system.

Then why did you use it?

Anyway, try IEBPTPCH, or write your own program.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Jun 23, 2008 5:38 pm
Reply with quote

or use the ispf 3.3 screen, copy the pds(*) to a qsam, define/allocated the qsam as part of 3.3 screen.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8700
Location: Dubuque, Iowa, USA

PostPosted: Mon Jun 23, 2008 5:43 pm
Reply with quote

Code:
// EXEC PGM=IEBPTPCH
//SYSPRINT DD SYSOUT=*
//SYSUT1  DD DSN=<pds.to.unload>,DISP=SHR   PDS INPUT
//SYSUT2  DD DISP=(,CATLG),DSN=<sequential.file>,
//        UNIT=SYSDA,SPACE=(CYL,(20,20)),
//        DCB=(RECFM=FB,LRECL=81,BLKSIZE=0,DSORG=PS)
//SYSIN DD *
  PUNCH TYPORG=PO,MAXFLDS=1
  RECORD FIELD=(80)
/*
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Mon Jun 23, 2008 9:49 pm
Reply with quote

Or depending on the usage of said PS from PDS, like backup, also consider IEBCOPY or ADRDSSU
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts combine multiple unique records into ... DFSORT/ICETOOL 2
No new posts SORT JCL to merge multiple tow into s... DFSORT/ICETOOL 6
No new posts How to append a PS file into multiple... JCL & VSAM 3
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
Search our Forums:

Back to Top