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

Copying Datasets between systems


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sun Jan 23, 2011 4:36 pm
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sun Jan 23, 2011 10:17 pm
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
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sun Jan 23, 2011 11:38 pm
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: 8797
Location: Welsh Wales

PostPosted: Mon Jan 24, 2011 3:52 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jan 24, 2011 3:53 pm
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: 8797
Location: Welsh Wales

PostPosted: Mon Jan 24, 2011 4:09 pm
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: 8697
Location: Dubuque, Iowa, USA

PostPosted: Mon Jan 24, 2011 5:25 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jan 24, 2011 5:48 pm
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
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: 262

PostPosted: Mon Jan 24, 2011 6:44 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to go into a subprogram in IBM De... IBM Tools 5
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts Panvalet - 9 Character name - Issue c... CA Products 6
No new posts PL/I, VB Datasets and the RDW PL/I & Assembler 4
No new posts how to get list of all VSAM/non-VSAM ... JCL & VSAM 13
Search our Forums:

Back to Top