|
Mark,
Welcome to the group.
Try just:
RSTLIB SAVLIB(TAPEDUMP) DEV(TAP01)
If that does not work, do a display tape command DSPTAP TAP01 OUTPUT(*PRINT) and send the results back here.
HTH,
John
John W. Cirocco
Director, Information Technology
Pierce & Stevens Corp.
710 Ohio Street
Buffalo, NY 14203
John_Cirocco@PierceStevens.com
Phone 716-856-4910 Ext. 201
Pager 1-800-670-7039
or 6707039@pagemci.com
>> -----Original Message-----
>> From: Mark Davies [mailto:MIDRANGE-L@midrange.com]
>> Sent: Tuesday, March 21, 2000 9:41 AM
>> To: John Cirocco; MIDRANGE-L
>> Subject: New AS\400 user
>>
>>
>>
>> Hello all.
>>
>> Just like to introduce myself as a new member to this group,
>> and maybe
>> get a few questions answered.
>>
>> I have a 9402 E04 CISC model, OS/400 V3R1M0 I'm just getting
>> (trying) to
>> know my way around this system, even though I have had it for a year
>> now, I lost interest and now I'm back in there. This time round I've
>> found I can do a lot more with it (even though 9 / 10 times
>> whatever I
>> try fails, but I'm sure that will change).
>>
>> Anyhow, my latest quest: to copy files from a tape into a lib that I
>> have created.
>>
>> The lib is TAPEDUMP
>> Tape dev is TAP01
>> The Volume label is 001
>> The first file is QTEMP
>>
>> Here is what I have tried:
>>
>> CHGCURLIB TAPEDUMP
>>
>> RSTLIB SAVLIB(CURLIB) DEV(TAP01) VOL(001) LABEL(*ALL)
>> RSTLIB SAVLIB(TAPEDUMP) DEV(TAP01) VOL(001) LABEL(QTEMP)
>> RSTLIB SAVLIB(TAPEDUMP) DEV(TAP01) VOL(001) LABEL(*)
>> RSTLIB SAVLIB(TAPEDUMP) DEV(TAP01) VOL(001) LABEL(*ALL)
>> RSTLIB SAVLIB(TAPEDUMP) DEV(TAP01) VOL(001)
>>
>> Always failes with something like File QTEMP not selected. File label
>> mismatch.
>>
>> Hay, I think I've found the answer, CPYFRMTAP.
>>
>> I take it then, that the RSTLIB will only Restore file that
>> exist in the
>> Library?
>>
>> Oh well, I'll get there. Anyway once again Hi
>> Regards
>> Mark Davies
>> SGI
>> SUN
>> AS/400
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.