PDA

View Full Version : 10/17/00, Duplicating a 3570 cartridge - avaiable CL commands.



Guest.Visitor
01-01-1995, 02:00 AM
Hello All, I am working with an As/400 620 running OS/400 V4R3. This system uses an attached IBM Magstar MP 3570 media device for backups. I would like to duplicate 3 month-end backups from 6/99, 12/99, and 6/00. Is there an equivalent command in CL that performs like the DOS 'DISKCOPY' command ?????? That is, a command that will let you put in the first cartridge, and then, will ask you for a second cartridge, in which case, it will then write back the data from the first cartridge, to the second cartridge. We do not have 2 drives, (TAP01 and TAP02, which is what I believe the 'DUPTAP' CL command needs), only device description TAP01. Is it possible to use the single IBM Magstar MP 3570 cartridge drive to dupicate 2 cartridges from the single drive ?????? I have never seen anyone perform that function with that type of drive before. If there is not a CL command tha twill act like the DOS 'DISKCOPY' command, my next possible solution is to use the RSTLIB, and SAVLIB CL commands, or, restore to the DASD, and then, save the data back to a new cartridge. Is this approach good ?????? Would there be any better alternatives ?????? Any advice would be extremly welcome !!!!!! Also, when using the IBM Magstar MP 3570 cartridge drive, (attempting to display a cartridge, initialize a cartridge, save to a cartridge, or restore from a cartridge), I am getting this error message - Message ID - CPI5922 - Device description TAP01 is not usable at this time. I did IPL the system twice, (Restart *yes and Restart *no), and still had the same error message. I worked through the ANZPRB, which was suggesting a possible problem with the Magstar MP media device. In this case, would another possible solution be to delete the TAP01 device description, and then re-create it, (using DLTDEVD DEV(TAP01), and CRTDEVD DEV(TAP01)). Has anyone seen this problem before ?????? Again, any advice would be greatly appreciated !!!!!! Thanks In Advance. Robert.

Guest.Visitor
10-18-2000, 07:50 AM
Robert, Regarding the duplication of a tape with only 1 drive: If you have enough disk, you could write a Command/CL combination to do something like this: <pre> RstLib the specified library to a temporary "holding" library. RstLib SavLib(&libtosav) Dev(&dev) EndOpt(*Leave) RstLib(DeleteMe) SavLib the holding library to a savefile with the specified name. SavLib Lib(DeleteMe) Dev(*SavF) SavF(&savflib/&savf) Clear the holding library. ClrLib Lib(DeleteMe) </pre> Then - Save each of the savefiles to the new tape. Bill

Guest.Visitor
10-18-2000, 08:32 AM
While in PDM if you press F18 the programming session defaults will be shown. By default the job description is Qbatch which uses the Qbatch subsystem and jobq. If you change this to QGPMR then your jobs will submit to qpgmr. I state qpgmr but you can use whatever job description that is valid. Also you can state whether or not to submit to batch. HTH Dan

Guest.Visitor
10-18-2000, 09:10 AM
Dan: Thanks.

David Abramowitz
10-18-2000, 11:26 AM
The SBMJOB command uses the *JOBQ specified in your *USRPRF job description (*JOBD) as a default. Option 14 in PDM has QBATCH specified. Dave