Unable to export Views with wcc_monitor.sh
search cancel

Unable to export Views with wcc_monitor.sh

book

Article ID: 145876

calendar_today

Updated On:

Products

CA Workload Automation AE - Business Agents (AutoSys) CA Workload Automation AE - System Agent (AutoSys) CA Workload Automation AE - Scheduler (AutoSys) Workload Automation Agent CA Workload Automation AE

Issue/Introduction

We are unable to export wcc views with below command.

Database server connection

Host Name: host1234

Port: 1521

Database instance name: DWCCDV1B

Platform: oracle

User: wccdbadmin

Password: *****

 

Product Name:  CA Workload Control Center

Copyright:     Copyright (c) 2013 CA Inc. All rights reserved.

Level:         11.3.6

Service Pack:  0

Patch Number:  0

Build Number:  20131113-b507

Volume Label:  CA-WCC11.3.6-11-13

Platform:      linux

Currently Applied Patches

=========================

RO67561

RO77628

RO78114

 

./wcc_monitor.sh -u username -x wcc_views.txt

Workload Control Center Monitoring Batch Interface

 

Initialization.........Enter password: .........

 

Authenticating with EEM...................

Exporting.....II41007 No alert policies exported

..EE41020 Unexpected error. See log details.:

Internal Exception: java.sql.SQLException: [CA][Oracle JDBC Driver][Oracle]ORA-01795: maximum number of expressions in a list is 1000

 

Error Code: 1795

Call: SELECT "ID", "ACTIVE_FILTER_COUNT", "COLLECTION_COUNT", "DESCRIPTION", "EVENT_COLUMN", "FILTER_MODIFIED", "INACTIVE_FILTER_COUNT", "JOB_COLUMN", "JOB_COUNT", "MODIFIED_BY", "MODIFIED_TIME", "NAME", "RENDER_COLLECTION", "RENDER_FLOW", "RENDER_JOB", "STATUS_TIME", "UNBOUND_FILTER_COUNT", "UNCONFIRMED_ALERTS", "VERSION", "EVENT_SEVERITY_STATUS_ID", "SERVER_STATUS_ID", "STATUS_ID" FROM "MON_VIEW" WHERE ("NAME" IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?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IVE_FILTER_COUNT", "JOB_COLUMN", "JOB_COUNT", "MODIFIED_BY", "MODIFIED_TIME", "NAME", "RENDER_COLLECTION", "RENDER_FLOW", "RENDER_JOB", "STATUS_TIME", "UNBOUND_FILTER_COUNT", "UNCONFIRMED_ALERTS", "VERSION", "EVENT_SEVERITY_STATUS_ID", "SERVER_STATUS_ID", "STATUS_ID" FROM "MON_VIEW" WHERE ("NAME" IN ?)")

 

Environment

Release : 11.3.6

Component : CA Workload Automation AE (AutoSys)

Resolution

There is a limitation in the older WCC releases where the export feature from wcc_monitor would not work if there were more than 1000 views defined.  
That limitation is addressed in WCC 11.4 sp3 and above.

See the following:
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/intelligent-automation/workload-automation-ae-and-workload-control-center/11-3-6-SP8/release-notes/ca-wcc-release-notes/ca-wcc-release-11-4-sp3/fixed-issues-11-4-sp3.html
Problem # 399


A workaround can also be used:
Login to WCC > Monitoring tab > Views.
You can select one or many views there and right mouse click to see an export option.
Or in the Views - Filtered portlet you can filter the views based on the "Servers".
This way you could export from the UI all the views assoicated with one server at a time to limit them from exceeded 1000.