Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Copy PDSE to Unix System Services

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Copy PDSE to Unix System Services
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: 1788
Location: UK

PostPosted: Thu Sep 06, 2012 4:20 pm    Post subject:
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: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Thu Sep 06, 2012 5:49 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10257
Location: italy

PostPosted: Thu Sep 06, 2012 7:57 pm    Post subject: Reply to: Copy PDSE to Unix System Services
Reply with quote

meditate on
http://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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts FTP from Mainframe to Unix - with CRLF vasanthz All Other Mainframe Topics 7 Thu Mar 23, 2017 5:12 am
No new posts Overlay the system date Danielle.Filteau SYNCSORT 4 Fri Mar 03, 2017 1:16 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us