AS400 Agent jobs ending immediately

Hello,

We have installed LPAR2RRD agent on AS400, installation was successfull with no error but when we start the agent on  AS400, jobs RTV_SYSSTS and SND_SYSSTS are ending immediately with no error.

what could be the reason for this?

Comments

  • Hello,

    no any error or any visible reason?
    What is your version of operating system?
    Is affected just one lpar?
  • Hello Pavel,

    Please find my comments below.

    no any error or any visible reason? >>No Error
    What is your version of operating system?>> V6R1
    Is affected just one lpar? >>Yes, it is affected to one lpar only, we have installed on other lpars as well but no issue.

  • hello,

    please, after unsuccesfull start lpar2rrd agent enter command: 

    WRKSBMJOB

    Opt  Job                       User                 Type  
      5     RTV_SYSSTS   LPAR2RRD    BATCH 
      5      SND_SYSSTS  LPAR2RRD    BATCH  ..

    Opt.

    5=Work with

    4. Work with spooled files  ... info ...



  • Hi Pavel,

    I have attached the logs.

    Please check.

  • At the end of your log you see

     

    Job 732273/LPAR2RRD/RTV_SYSSTS started on 23/11/16 at  10:28:36 in subsystem LPAR2RRD in LPAR2RRD. Job entered system on 23/11/16 at 10:28:36.     
        
    Job 732273/LPAR2RRD/RTV_SYSSTS ended on 23/11/16 at 10:28:36; 0,010 seconds used; end code 0       

    Job 732274/LPAR2RRD/SND_SYSSTS started on 23/11/16 at 10:28:37 in subsystem LPAR2RRD in LPAR2RRD. Job entered system on 23/11/16 at 10:28:37.                                                              

    Job 732274/LPAR2RRD/SND_SYSSTS ended on 23/11/16 at 10:28:37; 0,009 seconds used; end code 0 

     

    Please, start these command and send us all spool files.

     

    wrkjob 732273/LPAR2RRD/RTV_SYSSTS

    wrkjob 732274/LPAR2RRD/SND_SYSSTS

     

    4. Work with spooled files

     

    and send me all spool files.




  • Hi Pavel,

    Please find the attached spool files

  • Hi,

    Description:

    For both programs the  problem is the same. Programs are not possible to retrieve pointer to user space PH_USRSPC *LIBL  by QUSPTRUS API.

     

    1/ Check this user space as a object  and check authority of LPAR2RRD user profile to this object.

    have a look to QAUDJRN  autit journal T AF entry to this object

     

    2/ Check WRKSYSVAL  QALWUSRDMN

     

    Note:If the allow user domain (QALWUSRDMN) system value contains only the QTEMP library, you can use only the user space APIs to create and manipulate user domain spaces in library QTEMP. You cannot use the Retrieve Pointer to User Space API.

     

    If the shipped value is not  *ALL read description of this Value and correct it to be suitable for your system and LPAR2RRD agent could by started.



Sign In or Register to comment.