After applying the CUM#1 patch to CA Service Desk Manager (CA SDM) 12.9, when attempting to upload an attachment, an "AHD04622:Undefined arguments STYLE supplied to PDM_MACRO TABBANNER" error is received.

Document ID : KB000056555
Last Modified Date : 14/02/2018
Show Technical Document Details

Description

After applying the CUM#1 patch to CA Service Desk Manager (CA SDM) 12.9, when attempting to upload an attachment, the following error is received:

AHD04622:Undefined arguments STYLE supplied to PDM_MACRO TABBANNER startScrollbar(false, false) ; var new_attmnt_flag = 0; if (_dtl.edit && "" != "") { new_attmnt_flag = 1; html = "\n"; html += " New Attachments \n"; html += " \n"; html += " Repository \n"; html += " Document \n"; html += " Description \n"; html += " Attached On \n"; html += " Status \n"; html += "\n"; docWrite(html); } function att_tab_src() { var att_tab_url = "OP=SEARCH+FACTORY=attmnt+HTMPL=list_attmnt_sd.htmpl+KEEP.ticketFac=cr"; att_tab_url += "+QBE.EQ.requests.cr.persistent_id=cr:1289270"; if (new_attmnt_flag == 1) { att_tab_url += "+KEEP.forSavedAttmnts=1"; } return att_tab_url; } detailStartRow("CLASS=tab","0" ,""); createTabList("javascript:att_tab_src();", 1, "250", "", "no", ""); detailEndTable(); } // End - display = true

Solution

The "AHD04622:Undefined arguments STYLE supplied to PDM_MACRO TABBANNER" error usually occurs if the mandatory CUM#1 post install steps are not implemented.

Specifically, the following steps need to be implemented to address this error:


1.  Open a command prompt and navigate to the NX_ROOT\patches\cum1 directory.

2.  Backup the current usp_pdmMacro and usp_pdmMacroParam tables by running the following commands on the command prompt:

pdm_extract usp_pdmMacro > USRD_2601_2789_backup_macro.dat
pdm_extract usp_pdmMacroParam > USRD_2601_2789_backup_param.dat

3.  Verify that these files were successfully created.

4.  Update the usp_pdmMacro and usp_pdmMacroParam tables by running the following commands on the command prompt:

pdm_load -i -f data_USRD_2601_INSERT.dat
pdm_load -u -f data_USRD_2601_UPDATE.dat

pdm_load -i -f data_USRD_2789_INSERT.dat
pdm_load -u -f data_USRD_2789_UPDATE.dat

5.  Clear the cache of these tables by running the following commands on the command prompt:

pdm_cache_refresh -t usp_pdmMacro
pdm_cache_refresh -t usp_pdmMacroParam