Changing code page settings

Use the Codepage Support option to view the list of codes that the adapter supports.

Before you begin

The adapter must be running.

About this task

Run the following command to view the code page information:
agentCfg -agent adapterAGNT -codepages

Procedure

  1. Access the Agent Main Configuration Menu.
  2. At the Main menu prompt, type I.

    The Code Page Support Menu for the adapter is displayed.

    Codepage Support Menu            
    -------------------------------------------
    * Configured codepage: IBM-1047-s390                        
    -------------------------------------------
    *                                                      
    *******************************************
    * Restart Agent After Configuring Codepages            
    *******************************************
                                                                      
    A.  Codepage Configure.                                                              
    
    X.  Done                                           
    
    Select menu option:
                     
  3. Type A to configure a code page.
  4. After you select a code page, restart the adapter.
    The following screen is a sample session with agentCfg, altering the default code page, from US EBCDIC (IBM-1047) to Spanish EBCDIC (IBM-1145).
    IBMUSER:/u/ibmuser: >agentCfg -ag adapterAGNT
    
    Enter configuration key for Agent 'adapterAGNT':
    
            Agent Main Configuration Menu
            -------------------------------------------
    
            A.  Configuration Settings.
            B.  Protocol Configuration.
            C.  Event Notification.
            D.  Change Configuration Key.
            E.  Activity Logging.
            F.  Registry Settings.
            G.  Advanced Settings.
            H.  Statistics.
            I.  Codepage Support.
    
            X.  Done
    
            Select menu option:i
    
            Codepage Support Menu
            -------------------------------------------
            * Configured codepage: IBM-1047-s390
            ------------------------------------------- 
            *
            ******************************************* 
            * Restart Agent After Configuring Codepages 
            ******************************************* 
    
            A.  Codepage Configure.
    
            X.  Done
    
            Select menu option:a
    
            Enter Codepage: ibm-1145
    
            Codepage Support Menu
            ------------------------------------------- 
            * Configured codepage: ibm-1145
            ------------------------------------------- 
            *
            ******************************************* 
            * Restart Agent After Configuring Codepages 
            ******************************************* 
    
            A.  Codepage Configure.
    
            X.  Done
    
            Select menu option:x
  5. Type X to return to the Main Configuration Menu.