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: 1722
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: 7931
Location: Bellevue, IA

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: 10210
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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 0 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm
No new posts syncsort: copy lines after the keyword shreya19 SYNCSORT 7 Fri Dec 02, 2016 9:47 am


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