Previous Topic: Example 4: Copying a DatabaseNext Topic: Example 6: Sequential Copy of the Index


Example 5: Deleting a Database

In this example, database VIEW.OLDSYS1 is no longer being used and is deleted.

//EXAMPLE5 JOB ACCOUNT,PROGRAMMER
//STEP1    EXEC PGM=SARDBASE
//STEPLIB  DD DSN=CAI.CVDELOAD,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
NAME VIEW.OLDSYS1
DELETE
/*