Solved

cpytotap,  cpyfrmtap

Posted on 2000-05-04
5
456 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 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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

746 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now