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
 

 

Copying Datasets between systems

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
parsesource

New User


Joined: 06 Feb 2006
Posts: 97

PostPosted: Sun Jan 23, 2011 4:26 pm    Post subject: Copying Datasets between systems
Reply with quote

there are various options to copy files e.g. from a test-plex to a production-plex. we have a few shared volumes and catalogs to copy.

i´m searching for other solutions. i know there are file transfer products that can do this. i do not want to use such a solution.
what about ftp + rexx? is anybody using a self-written utility to copy with ftp in an automated fashion?

what are you using? can you give me a few ideas please?

how can i copy a vsam-dataset from one plex to another one without shared dasd? i think the only option is to create a dfdss dump, copy the sequential file and restore it on the target-system.

thanks
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Sun Jan 23, 2011 4:36 pm    Post subject: Reply to: Copying Datasets between systems
Reply with quote

with shared dasd... depends what is shared...
if the dasd volume shared are the final destination of the datasets and proper catalog sharing
a DFDSS copy/rename will do the task nicely

for any other setup local/remote
DFDSS dump
<move things to the other system> using
- shared work dasd
- FTP ( or any other file transmission tool )
- real TAPES
DFDSS restore/rename
are the obvious choices
the smart filtering capabilities of DFDSS make rexx a useless overhead
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Sun Jan 23, 2011 10:17 pm    Post subject:
Reply with quote

Quote:
i think the only option is to create a dfdss dump, copy the sequential file and restore it on the target-system.
Be careful with this approach -- DF/DSS dumps can only by copied with the DF/DSS program (a point that is clearly noted in the manual). Using anything else (such as IEBGENER) to copy the dump will probably render it useless for the restore.
Back to top
View user's profile Send private message
parsesource

New User


Joined: 06 Feb 2006
Posts: 97

PostPosted: Sun Jan 23, 2011 11:09 pm    Post subject:
Reply with quote

Robert Sample wrote:
Quote:
i think the only option is to create a dfdss dump, copy the sequential file and restore it on the target-system.
Be careful with this approach -- DF/DSS dumps can only by copied with the DF/DSS program (a point that is clearly noted in the manual). Using anything else (such as IEBGENER) to copy the dump will probably render it useless for the restore.


i think if it is e.g. a bitexact ftp binary copy i see no problem (however i have not tested it)
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Sun Jan 23, 2011 11:38 pm    Post subject:
Reply with quote

The last time I tried a binary FTP copy of a DF/DSS dump, it could not be restored at the target system.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jan 24, 2011 3:52 pm    Post subject:
Reply with quote

Aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaargh, my brain has gone.

What is the IBM program used for compressing dumps.

I have fed a DF/dss output through this program, ftp'd to another system, and the unblocked and used the output for a DF/dss restore, and it all worked fine.

I think, but can not be 100% certain that I did specify recfm VB for the DF/dss output.

Someone put me out of my misery and tell me the program name, please.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Mon Jan 24, 2011 3:53 pm    Post subject: Reply to: Copying Datasets between systems
Reply with quote

terse/amaterse icon_confused.gif
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Jan 24, 2011 4:09 pm    Post subject:
Reply with quote

Enrico icon_lol.gif


TRSMAIN is what I wanted
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Mon Jan 24, 2011 5:25 pm    Post subject:
Reply with quote

expat: TRSMAIN has been replaced by AMATERSE. I haven't done enough with AMATERSE to be sure what the differences are.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Mon Jan 24, 2011 5:48 pm    Post subject: Reply to: Copying Datasets between systems
Reply with quote

I guess that amaterse is the <official> <thing> and is now part of zOS

terse(trsmain) was an unofficial tool used to compress dumps sent to the IBM software support center .

here is the link to the whole shebang
http://techsupport.services.ibm.com/390/trsmain.html

as an add on to the initial post
to avoid issues with dfdss, the best thing is to explicitly define the disk blksize as 27998
seen it, done it, withot any side effects icon_biggrin.gif
Back to top
View user's profile Send private message
nevilh

Active User


Joined: 01 Sep 2006
Posts: 258

PostPosted: Mon Jan 24, 2011 6:44 pm    Post subject: Reply to: Copying Datasets between systems
Reply with quote

When terse was officially delivered as a part of DFSMS its name changed to AMATERSE, TRSMAIN was kept as an alias of AMATERSE for compatability reasons. Basically it is the same program it has just been re-branded.
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 DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm
No new posts Finding unreferenced datasets without... Alan Playford JCL & VSAM 5 Tue Jul 12, 2016 9:07 pm
No new posts BDW in VB datasets harisukumaran JCL & VSAM 5 Sat May 28, 2016 9:46 am
This topic is locked: you cannot edit posts or make replies. BAE Systems - Recruitment Open Days -... Express Mainframe Jobs 0 Fri Apr 22, 2016 8:19 pm


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