Unload adabas files with userviews

I have a list of Predict Adabas files I need to unload but both Extract build and unload object type do not add the associated Userviews. Is there a way to do this or a way identify all the Userviews of an Adabas file to add to my list?

Graeme,

According to the documentation, the keyword ALL can take the value “U” to indicate you want the userviews (if there are files being unloaded). If you haven’t tried this already, I would give it go and see what happens.

Craig Soehnlin

Brilliant, thanks. Deciphering the manuals is an art form. I wrapped my list in unload commands and got the data I needed. I guess Extracts are not much use for large lists.

Natural’s Object Handler can unload all views of a specific file number.

UNLOAD * LIB library OBJTYPE D DDMFNR xxx WHERE TRANSFER

For Windows/Linux:

UNLOAD * LIB library OBJTYPE N NATTYPE V DDMFNR xxx WHERE TRANSFER