The following examples show how to use WRITE_NOS to create a manifest file.
After creating objects on external object storage WRITE_NOS can create a manifest file with the names of the objects created. If there is a system outage, abnormal termination, or error while writing objects, the manifest file is not created.
- The first example shows how to create the manifest file if a WRITE_NOS operation aborts before all the objects have been written out.
- The second example shows how to overwrite a manifest file.
- The third example shows how to create a manifest file using READ_NOS with RETURNTYPE('NOSREAD_KEYS') as input to writing the manifest file.
In these examples only the manifest file is written, not the actual objects the manifest file identifies.