Kerwin,
IMHO, that's doing it the hard way ...?
Why not just use the SAVSAVFDTA command to copy the data from the save file to a tape?
Just saying ...
Mark S. Waterbury
On Monday, June 15, 2020, 12:21:15 PM EDT, K Crawford <kscx3ksc@xxxxxxxxx> wrote:
I am needing a better understanding of the CRTIMGCLG command.
What I want to do is create a temp location to save some work objects to.
In the past I would just save them to a save file. But it might become a
requirement to put on a tape. So my thought was to use the DUPTAP command
of a virtual tape drive attached to an image catalog. Then the restore, if
needed, would be one step not two. The other part of this if it goes to
tape it will need to be encrypted. We currently use BRMS to do this. So
the thought is to use BRMS for the save command.
My thought is to create a virtual tape device.
CRTDEVTAP DEVD(TAPVRTtst) RSRCNAME(*VRT) ONLINE(*YES) TEXT('Test
Backup')
Create an image catalog attached to this drive.
Then save to it this virtual tape device.
SAVOBJBRM OBJ(TESTOBJ) LIB(TSTLIBRARY) DEV(TAPVRTTST) OBJTYPE(*ALL)
My questions are related to the CRTIMGCLG command. This is the command I
am thinking of using.
CRTIMGCLG IMGCLG(tstCATALOG) DIR('/Test_Backup') CRTDIR(*no)
ADDVRTVOL(*none) PREFIX(tst) IMGSIZ(*mgclgtype) alcstg(*min) TEXT('Test
Backup') TYPE(*TAP)
I do not have a good understanding of these values.
ADDVRTVOL(*none) PREFIX(tst) IMGSIZ(*mgclgtype)
Can anyone shed some light on them?
Thanks
As an Amazon Associate we earn from qualifying purchases.