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

Copy PDSE to Unix System Services


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
checky76

New User


Joined: 13 Oct 2007
Posts: 10
Location: Vienna

PostPosted: Thu Sep 06, 2012 2:10 pm
Reply with quote

Hi,

will copy complete PDSE Dataset into Unix Sstem Services.

With OCOPY i alwasy get the follwoing message :
BPXF102E MVS PDS OR PDSE WITH DDNAME INMVS WAS SPECIFIED FOR EITHER INPUT OR OUTPUT. A MEMBER NAME IS REQUIRED.

Is there any other method to copy all member to USS ?

My JCL :

//COPY EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//INMVS DD DISP=SHR,DSN=TOMAN.Q.CNTL
//OUTHFS DD PATH='/sy/toman/xxxx',
// PATHOPTS=(ORDWR,OCREAT,OTRUNC),
// PATHMODE=SIRWXU
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
OCOPY INDD(INMVS) OUTDD(OUTHFS) BINARY CONVERT(NO)



Regards
Christian
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Thu Sep 06, 2012 4:20 pm
Reply with quote

Unload it to a sequential file using something like IEBCOPY and send the unloaded file.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


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

PostPosted: Thu Sep 06, 2012 5:49 pm
Reply with quote

The error message is clear. You may not like what the error message indicates, but that is not the computer's fault. Either move one member at a time, or take Nic's suggestion and use the unloaded file (realizing, I hope, that the unloaded file cannot be used for much since the format is quite different).
Back to top
View user's profile Send private message
checky76

New User


Joined: 13 Oct 2007
Posts: 10
Location: Vienna

PostPosted: Thu Sep 06, 2012 7:41 pm
Reply with quote

thanks, i will test with sequential file.
regards
christian

Robert Sample wrote:
The error message is clear. You may not like what the error message indicates, but that is not the computer's fault. Either move one member at a time, or take Nic's suggestion and use the unloaded file (realizing, I hope, that the unloaded file cannot be used for much since the format is quite different).
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Sep 06, 2012 7:57 pm
Reply with quote

meditate on
publib.boulder.ibm.com/infocenter/zos/v1r12/index.jsp?topic=%2Fcom.ibm.zos.r12.bpxa400%2Foputxpdsfile.htm

Quote:
Using OPUTX to copy a sequential data set or members of a PDS or PDSE

z/OS V1R12.0 UNIX System Services User's Guide
SA22-7801-13


and the companion OGETX
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts How to access web services/website? Mainframe Interview Questions 4
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Creating Unix Directory using COBOL i... COBOL Programming 2
Search our Forums:

Back to Top