[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

cpytotap,  cpyfrmtap

Posted on 2000-05-04
5
Medium Priority
?
488 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
  • 3
5 Comments
 
LVL 1

Accepted Solution

by:
jodo741309 earned 100 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

Configuration Guide and Best Practices

Read the guide to learn how to orchestrate Data ONTAP, create application-consistent backups and enable fast recovery from NetApp storage snapshots. Version 9.5 also contains performance and scalability enhancements to meet the needs of the largest enterprise environments.

Question has a verified solution.

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

MSSQL DB-maintenance also needs implementation of multiple activities. However, unprecedented errors can hamper the database management. In that case, deploying Stellar SQL Database Toolkit ensures fast and accurate database and backup repair as wel…
Last month Marc Laliberte, WatchGuard’s Senior Threat Analyst, contributed reviewed the three major email authentication anti-phishing technology standards: SPF, DKIM, and DMARC. Learn more in part 2 of the series originally posted in Cyber Defense …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

834 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