CA Service Management

Expand all | Collapse all

CA Service Desk ZCAT file issue

  • 1.  CA Service Desk ZCAT file issue

    Posted Oct 01, 2018 09:35 AM

    Hello 

    We are using SD 17.1. When i have changed in "zcat _grp" and "zcat_grp_map" files and after changing in these file i have run these command "pdm_bounce -r spel" and "pdm_d_refresh" and its run successfully without any error message.

    When i run "pdm_status" command and i am getting this error "Method Engine (spel_srvr) Not Running".

     

    Any solution for this.

    Attachment(s)

    zip
    zcat_grp.spl.zip   3 KB 1 version
    zip
    zcat_grp_map.spl.zip   3 KB 1 version


  • 2.  Re: CA Service Desk ZCAT file issue

    Broadcom Employee
    Posted Oct 01, 2018 11:52 AM

    stdlog should have some info why the spel server can't start...most likely some syntax error in the files you changed.



  • 3.  Re: CA Service Desk ZCAT file issue

    Posted Oct 02, 2018 01:38 AM

    If you revert back the changes you did, does everything run OK?



  • 4.  Re: CA Service Desk ZCAT file issue

    Posted Oct 03, 2018 10:36 AM

    Hello Brian

    thanks for your reply brain and chi chen

    Everything run ok but spel_srvr is not running.

    while checking in stdlog we are getting this message.

     

    10/03 15:18:55.89 P**SDMTEST proctor_P****SDMTES 13816 SIGNIFICANT pdm_process.c 927 Process stopped (C:/PROGRA~2/CA/SERVIC~1/bin/spel_srvr -l spelsrvr -r rpc_srvr:PNBSDMTEST return: 999
    10/03 15:18:55.89P**SDMTEST proctor_P**SDMTEST 13816 SIGNIFICANT pdm_process.c 936 Stopped: C:/PROGRA~2/CA/SERVIC~1/bin/spel_srvr -l spelsrvr -r rpc_srvr:P**SDMTEST
    10/03 15:18:56.42 P**SDMTESTpdm_d_mgr 24260 ERROR daemon_obj.c 1990 Daemon spel_srvr died: restarting
    10/03 15:18:56.42 P**SDMTEST pdm_d_mgr 24260 SIGNIFICANT mgr_slump_if.c 1221 Starting: $NX_ROOT/bin/spel_srvr -l spelsrvr -r rpc_srvr:PNBSDMTEST
    10/03 15:18:56.45P**SDMTEST proctor_P**SDMTEST 13816 SIGNIFICANT pdm_process.c 575 Process Started (9432):C:/PROGRA~2/CA/SERVIC~1/bin/spel_srvr -l spelsrvr -r rpc_srvr:P**SDMTEST

     

    thanks

    manish



  • 5.  Re: CA Service Desk ZCAT file issue

    Broadcom Employee
    Posted Oct 03, 2018 01:12 PM

    manishkmr2480 

     

    Do you get any type of error message if you try to start SPEL_SRVR manually via a command prompt with the following command:

    spel_srvr -l spelsrvr -r rpc_srvr:PNBSDMTEST



  • 6.  Re: CA Service Desk ZCAT file issue

    Posted Oct 05, 2018 08:14 AM

    Hello Paul

     

    thanks for rply

    while running this command we are getting below mentioned error and how can we increase this memory.

     

    C:/PROGRA~2/CA/SERVIC~1/site/mods/majic/zcat_grp.spl (5) at ""CO_Karnal" (memory exhausted)
    C:/PROGRA~2/CA/SERVIC~1/site/mods/majic/zcat_grp_map.spl (5) at ""CO_Karnal" (memory exhausted)

    10/05 17:17:31.25 P****DMTEST spelsrvr 15228 FATAL spel_srvr.c 306 Could not parse file

    thanks

    manish



  • 7.  Re: CA Service Desk ZCAT file issue

    Broadcom Employee
    Posted Oct 05, 2018 09:11 AM

    I don't think it is a memory issue. The last message

    10/05 17:17:31.25 P****DMTEST spelsrvr 15228 FATAL spel_srvr.c 306 Could not parse file

    says spelsrvr can't parse your custom spel code. Maybe take another look at these spl files?



  • 8.  Re: CA Service Desk ZCAT file issue

    Broadcom Employee
    Posted Oct 05, 2018 09:49 AM

    manishkmr2480 

     

    If the following files are removed from the SITE\MODS\MAJIC directory, does SPELSRVR start successfully:

    zcat_grp.spl

    zcat_grp_map.spl



  • 9.  Re: CA Service Desk ZCAT file issue

    Posted Oct 05, 2018 10:21 AM

    Hello Paul

     

    Its working after removing these files but these files are required for call flow, also while entering some data it's working fine but after adding a few more lines in the spel code its gives an error of memory exhaust.

     

     

    regards

    manish



  • 10.  Re: CA Service Desk ZCAT file issue

    Broadcom Employee
    Posted Oct 05, 2018 10:25 AM

    manishkmr2480 

    Then these two (2) SPEL files need to be examined closely to determine the syntax errors.

     

    Perhaps you can attached the SPEL files to this post and someone else from the CA Service Management community that is better versed in SPEL coding can take a look.



  • 11.  Re: CA Service Desk ZCAT file issue

    Posted Oct 05, 2018 10:41 AM

    Hello 

     

    I have attached spel file which we are using our environment.

     

    thanks

    manish



  • 12.  Re: CA Service Desk ZCAT file issue

    Posted Oct 10, 2018 02:11 AM

    TMACUL

    Hello TMACUL,

    Kindly help for this problem.

    While i am changing in zcat file is not running. Can you help me how to create zcat file for service desk groups and how the function work.

     

    Thanks 

    Manish



  • 13.  Re: CA Service Desk ZCAT file issue

    Posted Oct 10, 2018 08:14 AM

    Hi,

    instead of having hardcoded constraints I suggest you to publish new attributes to use them as controlling switches, ex:

    pcat.z_access (int)
    cnt.z_access (int)

    then use constraint like:

    if ((category.z_access == 1) && ((group.z_access != 1) || (is_null(group.z_access))) {
        // your error message
    } else if ((category.z_access == 2) && ((group.z_access != 2) || (is_null(group.z_access))) {
        // another error message
    } // etc...

    Regards.



  • 14.  Re: CA Service Desk ZCAT file issue

    Posted Oct 12, 2018 02:16 AM

    Hello Cdtj,

     

    thanks for your reply.

    We are not using integer values. Can you help for string values. Like i have two file zcat_grp and zcat_grp_map and both files have this kind of values

    if((category.sym=="Digital Banking Division.ATM Monitoring" ||category.sym=="Digital Banking Division.ATM Monitoring.ATM Functionality/ Uptime/ FLM services"  ||category.sym=="Digital Banking Division.ATM Monitoring.ATM ID Creation/Deletion" || category.sym=="Digital Banking Division.ATM Monitoring.ATM Site/ Machine/ Infrastructure" || category.sym=="Digital Banking Division.ATM Monitoring.Cash Management at ATMs") && !is_null(group) && (group.last_name!="ATM-Monitoring") && (group.last_name!="ZO_Agra") && (group.last_name!="ZO_Bhopal") && (group.last_name!="ZO_Chandigarh") && (group.last_name!="ZO_Chennai") && (group.last_name!="ZO_Delhi") && (group.last_name!="ZO_Jaipur") && (group.last_name!="ZO_Kolkata") && (group.last_name!="ZO_Lucknow") && (group.last_name!="ZO_Ludhiana") && (group.last_name!="ZO_Meerut") && (group.last_name!="ZO_Mumbai") && (group.last_name!="ZO_Patna") && (group.last_name!="ZO_Shimla") && (group.last_name!="CO_Agra"))

     

    how can i call this values from controlling switch. Kindly suggest.

     

    Thanks

    Manish



  • 15.  Re: CA Service Desk ZCAT file issue

    Posted Oct 12, 2018 06:52 AM

    I meant to use new attribute instead of listed, because having a lot of hardcoded strings is hard to maintain and is not opmimal for service resources.



  • 16.  Re: CA Service Desk ZCAT file issue

    Broadcom Employee
    Posted Oct 10, 2018 02:36 AM

    Good Morning Manish.

    Please check on the following, somewhat formal kind of statement:
    This 'Community' functionality is meant for relatively simple questions&(quick)answers for CA Service Catalog.
    Looking into this one, it seems/appears that a 'quick answer' can not be made available within this community thread.
    More likely, 'investigation' and/or 'debugging' is needed to find a possible cause and solution for this.
    Therefor I need to ask you to consider to open a 'standard' case.
    Through which you can get 'standard' and 'full-service' follow-up by our Support Teams.

    Thanks in advance for your understanding and kind regards, Louis.



  • 17.  Re: CA Service Desk ZCAT file issue

    Posted Oct 10, 2018 05:40 AM

    thanks for reply louis.

     

    We have already open this case on ca support but they didn't support in any customization.

     

    Thanks

    Manish