Solved

cpytotap,  cpyfrmtap

Posted on 2000-05-04
5
466 Views
Last Modified: 2010-08-05
I am having a problem copying a phy. file to tape(labeled, nonlabeled)
and copy from tape.
the books I have dont seem to get too deep into this.
also if I copy 3 non labeled files to tape
when they are copied from tape how can i tell which one is which?
0
Comment
Question by:qsysopr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 1

Accepted Solution

by:
jodo741309 earned 50 total points
ID: 2781136
CPYTOTAP and CPYFRMTAP are usually used to transport AS/400 data to non-AS/400 systems.  You generally specify some multiple of the actual record length of the physical file (viewed with DSPFD) as the block length.  You can see *some* information about the tape using DSPTAP.  You should note on the tapes what the record length and block lengths are.
0
 

Author Comment

by:qsysopr
ID: 2782993
I want to also use it to copy to another as400.
I could use savobj but I believe the purpose for that is to be able to use rstobj in case needed.


0
 
LVL 1

Expert Comment

by:jodo741309
ID: 2784210
AS/400 to AS/400 file transport is best done with SAVOBJ on the originating machine and RSTOBJ on the target machine.  File objects can even be restored from tapes made on the AS/400's predecessor (System/38).  The only other reason to use CPYTOTAP/CPYFRMTAP is if one of the systems is running System 36 emulation...
0
 
LVL 1

Expert Comment

by:jodo741309
ID: 2784223
I guess if you are transporting the file to *both* an AS/400 and a non-AS/400 and *don't* want to make more than one tape, you *should* use CPYTOTAP and CPYFRMTAP.  Instructions for this command can be found in the manuals on-line at http://as400bks.rochester.ibm.com
0
 
LVL 3

Expert Comment

by:P_S_Price
ID: 2788137
JODO has given you the commands on how to find the data but not what to look for. You need to get correct the parameters on the CPYTO and CPYFRM to allow correct switching.

If you want more help post more details on exactly what you are trying to do. This gets partcularly hairy when you are reading Non IBM tapes.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Routing remote iSeries IP printing through a VPN tunnel 4 482
iSeries ODBC Exit Point 11 458
Check file/object size on AS400 3 192
IBM flash storage 840 15 70
This article demonstrates probably the easiest way to configure domain-wide tier isolation within Active Directory. If you do not know tier isolation read https://technet.microsoft.com/en-us/windows-server-docs/security/securing-privileged-access/s…
Adults who share images on social media aren’t the only ones who need to worry about their privacy. Our culture’s tendency to share every move and celebration affects the privacy of our children, too.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question