Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10326
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: 8165
Location: East Dubuque, Illinois, USA

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: 8165
Location: East Dubuque, Illinois, USA

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: 10326
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: 8165
Location: East Dubuque, Illinois, USA

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: 10326
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 String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm
No new posts copying data without knowing location Arun Raj DFSORT/ICETOOL 12 Thu Jul 20, 2017 1:03 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us