IBM i Global

IBM i 

A space for professionals working with IBM’s integrated OS for Power systems to exchange ideas, ask questions, and share expertise on topics like RPG and COBOL development, application modernization, open source integration, system administration, and business continuity.


#Power


#IBMi
#Power
 View Only
  • 1.  Debug an IWS job

    Posted 24 days ago

    Hi, 

    I normally can identify from the joblog which QZRCSRVS is handling my request and use a service job to debug but in this case none are showing this error: 

    I tried to change the logging level on the http server as well but I'm not getting much more information. How do I debug this? 

    Invocation of program failed.
    CEE9901: Application error.  RNX9001 unmonitored by MyPGM at statement *N, instruction X'0000'.



    ------------------------------
    Michael Cramer
    ------------------------------


  • 2.  RE: Debug an IWS job

    Posted 24 days ago

    While this may be old - wonder if it would help. Page 143 is about debugging IWS programs/jobs
    Integrated Web Services Server



    ------------------------------
    Rich Malloy
    Principal Systems Engineer - IBMi
    Cox Automotive
    Draper UT
    ------------------------------



  • 3.  RE: Debug an IWS job

    Posted 24 days ago

    the job ends before I can issue a strsrvjob. 



    ------------------------------
    Michael Cramer
    ------------------------------



  • 4.  RE: Debug an IWS job

    Posted 24 days ago
    Edited by Satid S 24 days ago

    Dear Michael

    Why not just initiate a connection from your IWS client to QZRCSRVS job in IBM i but do not proceed to run any thing yet.  This way you can check for your Current User in WRKACTJOB (it would help to use a very unique user profile at that moment) to identify which job you will run STRSVRJOB against. 

     

    If you cannot connect and pause, you can just kill or hold ALL BUT ONE QZRCSRVS job and then connect.  But this may not be convenient in production workload. 



    ------------------------------
    Satid S
    ------------------------------



  • 5.  RE: Debug an IWS job

    Posted 24 days ago
    Is it a specific program or service program procedure, that you want to debug? If yes, have you tried to set a matching service entry point (SEP)?

    HTH
    Daniel




  • 6.  RE: Debug an IWS job

    Posted 24 days ago

    Debugging this green screen can be a challenge (especially in a production environment with lots of activity) but with IBM RDi or VSCode this is so easy as you can just set a debug on a (service)program no matter where it runs in the system.



    ------------------------------
    Paul Nicolay
    Architect
    Cegeka
    ------------------------------



  • 7.  RE: Debug an IWS job

    Posted 22 days ago

    ok, that's the best option. Thanks everyone. 



    ------------------------------
    Michael Cramer
    ------------------------------



  • 8.  RE: Debug an IWS job

    Posted 23 days ago

    Maybe a toolbox trace will show you something?  



    ------------------------------
    Nadir K Amra
    ------------------------------