3 6 1 Submit the Job to Delete a File Definition

LANSA for i

3.6.1 Submit the Job to Delete a File Definition

When the option to delete a file definition has been selected from the file control menu and the file is eligible for deletion a screen like that following will result.

The sample screen shown is for a file CUSMST that has 2 logical views named CUSMSTV1 and CUSMSTV2:

 

 DC@P200202            Delete a File from the System                   

                                                                       

 File :   CUSMST     QGPL       Customer master file                   

                                                                       

 Submit this job as described below  . . . . . . . . . YES   YES, NO   

 Using Job name  . . . . . . . . . . . . . . . . . . . XXXXXXXXXX      

       Job description . . . . . . . . . . . . . . . . *LIBL/QBATCH

       Job queue . . . . . . . . . . . . . . . . . . . *JOBD

       Output queue  . . . . . . . . . . . . . . . . . *LIBL/QPRINT

                                                                       

                                                                       

 Object   Lib  Type       Action to be taken / reason(s)              

 I@CUSMST QGPL I/O Delete I/O module in user library                  

                   User requested deletion of file definition and data

 CUSMSTV1 QGPL LGL Delete logical file in user library                

                   User requested deletion of file definition and data

 CUSMSTV2 QGPL LGL Delete logical file in user library                

                   User requested deletion of file definition and data

 CUSMST   QGPL PHY Delete physical file in user library               

                   User requested deletion of file definition and data

                                                                       

 WARNING : File definition and all data will be deleted                

 Fnn=Help  Fnn=Exit  Fnn=Cancel  Fnn=Messages                          

                                                                       

 

 

 

The lower half of the screen details the actions that will be taken by the batch job and the reasons that they will be taken. In this example it can be seen that:

  • The RPG program I@CUSMST which is the I/O module for file CUSMST will be deleted first.
  • Logical views CUSMSTV1 and CUSMSTV2, which are based on file CUSMST, will be deleted next.
  • Physical file CUSMST will be deleted last. Note that this step deletes ALL the DATA in CUSMST as well.

Input Options

Submit This Job

Job Name

Job Description

Job Queue

Output Queue