This article shows you how to create a writeable virtual device on the iSeries and transfer it to PC to distribute on physical CDs or DVDs.
Note:
- The media format is UDF.
- For burning CDs, the image size must be 650 MB.
To transfer media from the iSeries to a CD or DVD:
- On the iSeries, create the virtual image of the writeable CD or DVD:
- Create a virtual device description:
CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT)
- Vary on the device description:
VRYCFG CFGOBJ(OPTVRT01) CFGTYPE(*DEV) STATUS(*ON)
- Create an image catalog and an IFS directory to store the image, substituting your IFS directory for /DISTRIBUTION:
CRTIMGCLG IMGCLG(MASTERS) DIR('/DISTRIBUTION') CRTDIR(*YES)
- Create a new media image, substituting your IFS file name for FirstMaster, your IFS directory for /DISTRIBUTION, and your media for *CD650:
Note: *CD650 creates the image of a blank 650 MB CD.
ADDIMGCLGE IMGCLG(MASTERS) FROMFILE(*NEW) TOFILE(FirstMaster) IMGSIZ(*CD650)
- Load the image catalog on the virtual device:
LODIMGCLG IMGCLG(MASTERS) DEV(OPTVRT01)
- To see what media is in the device, run:
WRKOPTVOL DEV(OPTVRT01) CSI(*NONE)
A blank 650 MB CD displays.
- Prepare the media image for transfer:
- Initialize the virtual media volume:
INZOPT VOL(*MOUNTED) NEWVOL(FirstMasterVolume) DEV(OPTVRT01)
- Add the files to the volume to put on the physical CD or DVD. Use the SAVLIB and SAVOBJ commands. If saving requires multiple volumes, spanning disks is automatic.
- To transfer the image to a PC, either:
- On the PC, premaster and write the CD or DVD the way you normally do.
Last Modified On:
No, open a new Support Case