sexta-feira, agosto 22, 2014

DIC2721 FILE IS LOCKED BY USER - Predict

Os arquivos ficam bloqueados pelo Predict enquanto as seguintes funções são executadas sobre eles:
  • Rename/Renumber File;
  • Copy File;
  • Resequence File;
  • Catalog elements of a file;
  • Generate DDM;
Estas funções emitem um ET intermediário (end of transaction) para evitar um estouro de fila de espera. Até que a função for concluída com sucesso, a descrição do arquivo estão em um estado inconsistente, então o Predict define em estado bloqueado. Após a execução bem-sucedida os arquivos são automaticamente desbloqueado.

Uma descrição do arquivo bloqueado deve ser recuperado antes que ele possa ser usado novamente (embora purging é sempre permitido). A função recovery destrava ele.

A tela recovery é invocado com código R no menu de Special Functions ou com o comando de SPECIAL RECOVERY.
DIC2721 FILE IS LOCKED BY USER ' AA99000 '.                                    
09:46:36             *****  P R E D I C T  4.4.1  *****              2008-06-10
Plan   0                     - Generate a DDM -                                
                                                                                
Current VM ............. HOME                                                  
File ID ...............* SIAFEM-APROPRIACAO-FIS-FIN                            
Contained in DA ........                                                      
                                            For Adabas                          
Overwrite option ....... Y  (Y,N)            Use Vista access-nr ....* N      
List generated code .... Y  (Y,N)          For SQL                            
Adabas version ........* I6                  Truncate creator ........ N (Y,N)
                                              NAT-l for long fields ... N (Y/N)
Field name prefix ......                   For IMS                            
Line comments .........* Y                   Generate UDFs ........... N (Y,N)
Abstract ............... 3  (0-16)           Replace modified UDFs ... N (Y,N)
General comments ....... Y  (Y,N)            List UDFs ............... N (Y,N)
                                              IMS field suffix ........ N (Y,N)
Generate verif. rules .. Y  (Y,N)          For Natural Subsystems              
Replace verif. rules ..* Y                   Generate security ....... Y (Y,N)
List verif. rules ...... Y  (Y,N)            Super Natural file opt .. N (Y,N)
                                                                                
Command ===>                                                                  
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
       Help  Next  Stop  Last  LnkEl Flip  Print Impl  AdmFi SelFi Prof  Main
Opção: S/DD
DIC2805 EXECUTION STOPPED WITH PF-KEY.                                        
09:46:53             *****  P R E D I C T  4.4.1  *****              2008-06-10
Plan   0                   - Function Main Menu -                Profile SYSTEM
                                                                                
        Documentation                      External objects                    
                                                                                
        A  Active retrieval                F  File implementation              
        M  Maintenance                     G  Generation                        
        R  Retrieval                       I  Incorporation                    
        X  List xref for 3GL               C  Comparison                        
                                           L  Administration                    
                                                                                
        DDA services                       Miscellaneous                        
                                                                                
        D  Defaults                        W  What is new ?                    
        S  Special functions               ?  Help system                      
                                           .  Leave Predict                    
                                                                                
Function ........ s                                                            
Object type ....* DD                  Menu type ....* F                        
                                                                                
Command ===>                                                                  
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
       Help  Next  Stop  Last  LnkEl Flip  Print Impl  AdmFi SelFi Prof  Main
Opção: R
09:46:58             *****  P R E D I C T  4.4.1  *****              2008-06-10
Plan   0             - DDA Services/Special Functions -                        
                                                                                
                     Function                                                  
                                                                                
                     A  Adabas device types                                    
                     D  Delete old sets                                        
                     H  Maintain Predict help texts                            
                     I  Reposition implementation data                          
                     M  Mass Grant                                              
                     N  Maintain NSC-Definitions                                
                     R  Recover                                                
                     S  Security for Adabas Online Services                    
                     P  Consistency of Predict                                  
                     X  Maintain Active References                              
                     Z  Maintain Standard fields                                
                     F  Refresh Coordinator FDIC                                
                     L  Mass delete of report listings                          
Function .......... r                                                          
                                                                                
Command ===>                                                                  
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
       Help  Next  Stop  Last  LnkEl Flip  Print Impl  AdmFi SelFi Prof  Main
Opção: R
09:47:04            *****  P R E D I C T  4.4.1  *****              2008-06-10
  Plan   0                        - Recover -                                  
                                                                                
     Some Predict functions issue intermediate 'ET's to prevent a hold queue    
  overflow. Until the functions finish successfully, their objects (always file
  descriptions) are in an inconsistent state so Predict sets them in locked    
  status.                                                                      
     A locked file description must be recovered before it can be used again    
  (although purging is always allowed); the recovery function unlocks is.      
                                                                                
                                                                                
                         Function                                              
                                                                                
                         R  Recover                                            
                         S  Select                                              
                                                                                
Function .............. r                                                      
                                                                                
File ID ............... SIAFEM-APROPRIACAO-FIS-FIN                            
                                                                                
Command ===>                                                                  
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
       Help  Next  Stop  Last  LnkEl Flip  Print Impl  AdmFi SelFi Prof  Main
File liberado
DIC2063 FILE HAS BEEN RECOVERED SUCCESSFULLY.                                  
  09:47:09            *****  P R E D I C T  4.4.1  *****              2008-06-10
  Plan   0                        - Recover -                                  
                                                                                
     Some Predict functions issue intermediate 'ET's to prevent a hold queue    
  overflow. Until the functions finish successfully, their objects (always file
  descriptions) are in an inconsistent state so Predict sets them in locked    
  status.                                                                      
     A locked file description must be recovered before it can be used again    
  (although purging is always allowed); the recovery function unlocks is.      
                                                                                
                                                                                
                         Function                                              
                                                                                
                         R  Recover                                            
                         S  Select                                              
                                                                                
Function ..............                                                        
                                                                                
File ID ............... SIAFEM-APROPRIACAO-FIS-FIN                            
                                                                                
Command ===>                                                                  
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
       Help  Next  Stop  Last  LnkEl Flip  Print Impl  AdmFi SelFi Prof  Main


0 comentários:

Enviar um comentário