Information Systems:Troubleshooting ASW Messages

From uniWIKI
Jump to navigation Jump to search

ASW Messages

When there is an error message in ASW, the easiest way to deal with it is to find where the error was issued, then work backwards to see what caused it.

The first thing is to find the program name and the error code. In this example, the error code does say what the problem is; but it doesn't always.

Every program shows the name of the display program on the top line. The name of the RPG program can be determined from this. There are several conventions used -

FSR82001         - This is display record 01 for RPG program FSR2001
CXRIQ100/LISTCTL - This is display record LISTCTL for RPG program CXRIQ100
ASGD7311         - This is display record 1 for RPG program ASGR731
GCFD40201        - This is display record 01 for RPG program GCRF402 

Mocha

*PL/480B*  Accounting period closing                 4/23/14 15:03:08 FSR82001 
-------------------------------------------------------------------------------
                                                                               
Period to be closed. 1411 DECEMBER                                             
                                                                               
F8=Execute                                                                     
Transactions (in SROBTR) that are not updated exist in period to close.        

Make note of the program name; in this example, FSR820.

Put your cursor over the message, and click 'Help' on the tool bar.

                        Additional Message Information                         
                                                                               
Message ID . . . . . . :   GF82012       Severity . . . . . . . :   00         
Message type . . . . . :   Information                                         
Date sent  . . . . . . :   04/23/14      Time sent  . . . . . . :   15:04:28   
                                                                               
Message . . . . :   Transactions (in SROBTR) that are not updated exist in     
  period to close.                                                             
                                                                               
Press Enter to continue.                                                       
                                                                               
F3=Exit   F6=Print   F9=Display message details                                
F10=Display messages in job log   F12=Cancel   F21=Select assistance level     
                                                                               

Make note of the message ID (GF82012).

Client Access

*PL/480B*  Accounting period closing                 4/23/14 15:03:08 FSR82001 
-------------------------------------------------------------------------------
                                                                               
Period to be closed. 1411 DECEMBER                                             
                                                                               
F8=Execute                                                                     
Transactions (in SROBTR) that are not updated exist in period to close.        

Make note of the program name; in this example, FSR820.

Put your cursor over the message, hold down ALT, and press F1.

                        Additional Message Information                         
                                                                               
Message ID . . . . . . :   GF82012       Severity . . . . . . . :   00         
Message type . . . . . :   Information                                         
Date sent  . . . . . . :   04/23/14      Time sent  . . . . . . :   15:04:28   
                                                                               
Message . . . . :   Transactions (in SROBTR) that are not updated exist in     
  period to close.                                                             
                                                                               
Press Enter to continue.                                                       
                                                                               
F3=Exit   F6=Print   F9=Display message details                                
F10=Display messages in job log   F12=Cancel   F21=Select assistance level     
                                                                               

Make note of the message ID (GF82012).

GUI

Problems-1.jpg

Make note of the program name; in this example, FSR820.

Click on the question mark to the right of the message.

Problems-2.jpg

Make note of the message number (GF82012).

Look Up Reason Message was Issued

Sign onto to ASW so that your library list is correct. On the command line, key in WRKOBJ and the program name; in this case FSR820, and press enter.

                              Work with Objects                                
                                                                               
Type options, press Enter.                                                     
  2=Edit authority        3=Copy   4=Delete   5=Display authority   7=Rename   
  8=Display description   13=Change description                                
                                                                               
Opt  Object      Type      Library     Attribute   Text                        
__   FSR820      *PGM      U480AP      RPGLE       G/L Close accounting period 
__   FSR820      *PGM      A454AP      RPGLE       G/L Close accounting period 
__   FSR820      *PGM      A453AP      RPGLE       G/L Close accounting period 
__   FSR820      *PGM      A450AP      RPGLE       G/L Close accounting period 
                                                                               
                                                                               
Parameters for options 5, 7 and 13 or command                                  
===> _______________________________________________                                                                          
F3=Exit   F4=Prompt   F5=Refresh   F9=Retrieve   F11=Display names and types   
F12=Cancel   F16=Repeat position to   F17=Position to   F24=More keys          
                                                                               

If the program is in more than one library, they are displayed in library list sequence. This program is in the libraries for ASW versions 4.50, 4.53, 4.54, and U.S. version 4.80. The one at the top of the list is the one that will be run.

Key in WRKMBRPDM and press F4 to prompt.

                    Work with Members Using PDM (WRKMBRPDM)                    
                                                                               
Type choices, press Enter.                                                     
                                                                               
File . . . . . . . . . . . . . . > QRPGLESRC     *PRV, name                    
  Library  . . . . . . . . . . . >   U480AP      *PRV, name, *LIBL, *CURLIB    
Member . . . . . . . . . . . . . > FSR820        *ALL, name, *generic*...      
Member type  . . . . . . . . . .   *ALL          *ALL, type, *generic*...      
                                                                               
F3=Exit   F4=Prompt   F5=Refresh   F12=Cancel   F13=How to use this display    
F24=More keys                                                                  
     

Fill in the file, library, and member, then press enter.

                          Work with Members Using PDM                 BART     
                                                                               
File  . . . . . .   QRPGLESRC                                                  
  Library . . . .     U480AP               Position to  . . . . .              
                                                                               
Type options, press Enter.                                                     
 2=Edit         3=Copy  4=Delete 5=Display       6=Print     7=Rename          
 8=Display description  9=Save  13=Change text  14=Compile  15=Create module...
                                                                               
Opt  Member      Type        Text                                              
5    FSR820      RPGLE       G/L Close accounting period                       
                                                                               
Parameters or command                                                          
===> _______________________________________________                                                                          
F3=Exit          F4=Prompt             F5=Refresh            F6=Create         
F9=Retrieve      F10=Command entry     F23=More options      F24=More keys     
This is a subsetted list.                                                    +

Key 5 to display in front of the program, and press enter.

Columns . . . :    6 100                    Browse                   U480AP/QRPGLESRC 
SEU==> f gf82012                                                              FSR820 
FMT H  HKeywords++++++++++++++++++++++++++++++++++++++++++++++++++++++++++Comments++                           
       *************** Beginning of data ********************************************   
0001.00 H* Restructed program in release 4.00                                                               
0002.00 H/TITLE Close accounting period                                                                     
0003.00 F****************************************************************                                   
0004.00 F*    P R O G R A M  D E S C R I P T I O N                     **                                   
0005.00 F****************************************************************                                   
0006.00 F*                                                             **                                   
0007.00 F*    The program attempts to close the period after the last  **                                   
0008.00 F*    closed period as defined on the G/L control file.        **                                   
0009.00 F*                                                             **                                   
0010.00 F*    The last closed period for a voucher type is also        **                                   
0011.00 F*    update if less than the period being closed.             **                                   
0012.00 F*                                                             **                                   
0013.00 F*    For the final period close the balance for trade         **                                   
0014.00 F*    accounts will be checked.  If the balance is not zero    **                                   
0015.00 F*    the final period close can not be performed.             **                                   
0016.00 F*                                                             **                                   
0017.00 F****************************************************************                                   
0018.00 F* This program is written by IBS R&D                          **                                   
0019.00 F****************************************************************                                   

F3=Exit   F5=Refresh   F9=Retrieve   F10=Cursor   F11=Toggle F12=Cancel  
F16=Repeat find        F24=More keys 
    

On the top line, key in ‘F’ for find, space, and the message ID; in this case GF82012, and press F16. The line that issued this message will position to the top of the screen. Press Page Up to see the code leading up to this.

Columns . . . :    6 100              Browse                      U480AP/QRPGLESRC 
SEU==>                                                                      FSR820
FMT C  CL0N01Factor1+++++++Opcode&ExtFactor2+++++++Result++++++++Len++D+HiLoEq...... 
0612.00 C                   END                                           
0613.00 C*                                                                                    
0614.00 C                   ENDDO                                         
0615.00 C*                                                                                     
0616.00 C                   END                                            
0617.00 C*                                                                                     
0618.00 C                   READ      TRAA                                  92                
0619.00 C                   ENDDO                                         
0620.00 C*                                                                                     
0621.00 C* Transactions for closing period still exist in BTR                                  
0622.00 C*                                                                                     
0623.00 C                   MOVE      XXCLPE        KKPERI                                     
0624.00 C*                                                                                     
0625.00 C     KK3BTR        SETGT     SR3BTR                                                   
0626.00 C                   READP     SR3BTR                                92                
0627.00 C*                                                                                     
0628.00 C     *IN92         IFEQ      *OFF                                                     
0629.00 C                   MOVE      *ON           *IN01                                      
0630.00 C                   MOVE      'E'           XMSG51                                     
0631.00 C                   MOVE      'GF82012'     MSGID     
F3=Exit   F5=Refresh   F9=Retrieve   F10=Cursor   F11=Toggle   F12=Cancel  
F16=Repeat find        F24=More keys                                                                        

You can see by the comment), that the problem is that transactions exist in file SROBTR (most physical file names start with SRO). In this case, the message text told you that; but it usually doesn’t.