IBM Support

PM18693: Cannot invoke iSeries Service program in QSYS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • User is trying to retrieve journal entries  on System i using EG
    L.
    interface QJOURNAL
    
    function QjoRetrieveJournalEntries(
      output *char*(1024) out,
      input1 *bin*(4) in,
      input2 *char*(20) in,
      input3 *char*(8) *in*);
    end
    
    program TEST type BasicProgram {}
             \u0007Page 4 of 52
     function main()
      output *char*(1024);
      input1 *bin*(4);
      input2 *char*(20);
      input3 *char(8);
      srv QJOURNAL {@bindService};
      srv.QjoRetrieveJournalEntries(output, input1, input2, input3);
     end
    end
    
    Deployment descriptor:
    ??_xml_ version='1.0' encoding='UTF-8'??
    ?egl:deployment xmlns:egl='http://www.ibm.com/xmlns/egl/deployme
    nt/7.0'
    ?
    
    ?bindings?
      ?nativeBinding name='QJOURNAL'?
       ?egl:protocol.java400 conversionTable='CSOE037' library='' lo
    cation=' \u0007Page 5 of 52
    as400' password='***' userID='***'/?
      ?/nativeBinding?
    ?/bindings?
    ?/egl:deployment?
    
    The following error is received:
    
    EGL1631E: EGL1631E An error occurred while trying to invoke func
    tion:
    QjoRetrieveJournalEntries on iSeries Service:QJOURNAL. Error Cod
    e:
    EGL0089E, Message:EGL0089E An class com.ibm.as400.access.
    IllegalPathNameException AS400Toolbox execution error occurred w
    hile
    calling the QJOURNAL program on the nidxtst system. Error:
    *LIBL/QJOURNAL.SRVPGM: Object not in QSYS file system.
    EGL0002I The error occurred in TEST processing the main function
    .
    
    
    If the binding is changed so that the library is QSYS, then
    the parameters gets converted to /QSYS.LIB/QSYS.LIB/QJOURNAL.SRV
    PGM
    which is also invalid.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If the library name is QSYS EGL generated the wrong code.
    

Problem conclusion

  • don't duplicate QSYS.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM18693

  • Reported component name

    RBD EGL FOR COB

  • Reported component ID

    5724S5001

  • Reported release

    751

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-07-19

  • Closed date

    2010-10-13

  • Last modified date

    2010-10-13

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    RBD EGL FOR COB

  • Fixed component ID

    5724S5001

Applicable component levels

  • R751 PSN

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.5.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
13 October 2010