wdmtoolbox.wdmtoolbox.copydsnlabel

wdmtoolbox.wdmtoolbox.copydsnlabel(inwdmpath, indsn, outwdmpath, outdsn, overwrite=False)

Make a copy of a DSN label (no data).

Parameters:
  • inwdmpath (str) – Path and WDM filename of the input WDM file.

  • indsn (int) – Source DSN.

  • outwdmpath (str) – Path and WDM filename of the output WDM file.

  • outdsn (int) – Target DSN.

  • overwrite (bool) – Whether to overwrite the target DSN if it exists.