Delete data files on the AS400

5 pts.
Tags:
AS/400
AS/400 database
AS/400 storage
I have a client that wants to remove all company data from an old AS400. Is there an easy way to do this, a single command or procedure?

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi,

There’s not a really easy way to do this. You could initialize your disks through dedicated service tools, but then your machine will be completely empty (no operating system). I guess it depends what’s going to happen with the machine.

Regards,

Martin Gilbert.

Hi Martin I wnted to know how to intialise disk through dedicated service tool.. Please provide if any screen shots available.. Thanks in Advance

I found the easiest way is to perform a D-IPL process using the LIC CD I_BASE_01. When the Install LIC Code screen comes up take option 1. Install LIC, then option 2. Install LIC and Initialize system.

Bruce

=======================================================

It doesn’t really matter since all you need to do is switch a couple disks in their slots and reload the OS (and LIC). Switching the disk positions invalidates disk pointers all over the place due to the “scatter loading” method of spreading individual objects over multiple disks. Reloading the OS/LIC will require reformatting everything due to the messed up disk links.

For most purposes, you can simply run DLTLIB for user libraries with the list from WRKLIB *ALLUSR. The process of reconstructing any useful data after that is formidable. If the disks could be used on any other platform, that wouldn’t be so true; but they require low-level formatting due to the 528-byte sector size. And other AS/400s don’t have significant exposed functions to do it.

Tom

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • djac
    Check here: http://www.code400.com/forum/showthread.php?p=31326
    900 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following