Writing to DVD
IFS is IFS is IFS.
WRKLNK '/QOPT' will show you the volume id of the DVD in the drive. Drill down.
- An Example
- Record some source from a PC file to a DVD using a DVD writer.
- WRKLNK '/QOPT' to see the file structure of the DVD
- Create a temporary file CRTPF QTEMP/TEMP RCDLEN(128)
- Copy from the DVD
- CPYFRMSTMF FROMSTMF('/QOPT/VOL_20080602163524/TMPSRC.TXT') TOMBR('/QSYS.LIB/QTEMP.LIB/TEMP.FILE/TEMP.MBR') MBROPT(*REPLACE)
Then use SEU or whatever to put the data where you want.