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:
 
  1. On the iSeries, create the virtual image of the writeable CD or DVD:
    1. Create a virtual device description:

      CRTDEVOPT DEVD(OPTVRT01) RSRCNAME(*VRT) 

    2. Vary on the device description:

      VRYCFG CFGOBJ(OPTVRT01) CFGTYPE(*DEV) STATUS(*ON) 

    3. 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) 

    4. 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)

    5. Load the image catalog on the virtual device:

      LODIMGCLG IMGCLG(MASTERS) DEV(OPTVRT01) 

    6. To see what media is in the device, run:

      WRKOPTVOL DEV(OPTVRT01) CSI(*NONE)

      A blank 650 MB CD displays.

  2. Prepare the media image for transfer:
    1. Initialize the virtual media volume:

      INZOPT VOL(*MOUNTED) NEWVOL(FirstMasterVolume) DEV(OPTVRT01) 

    2. 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.
  3. To transfer the image to a PC, either:
    • Use FTP to transfer the file to the workstation in binary mode.

      In the example above, you would transfer: /DISTRIBUTION/FirstMaster

    • Map the iSeries root as a network drive on the PC with iSeries NetServer, and then drag and drop the file onto the PC.
  4. On the PC, premaster and write the CD or DVD the way you normally do.

Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: December 10, 2016