Hi Subburaj,
We do not have support for the ARFP command in the REST API currently. I did a search in our techdocs and found the associated SPO6-16 message which confirms what you are seeing. You'll need to do the 'cancel' outside of your application/Rest API for now.
We have this requirement in our backlog and are gathering input on the next set of priority needs for the Rest API based on feedback such as yours. If you get an opportunity, please also log this requirement on the CA 7 Ideas section of the community.
Regards,
Kathy
Original Message:
Sent: Apr 12, 2023 01:37 AM
From: Subburaj Thangavel
Subject: CA7 API - ARFP command
We need to CANCEL a mainframe Job from CA7 Request Queue with has active ARF.
We are using CA7 Workload Automation RESTful Web Services - V12.1.04
Error: response status is 400 Response bodyDownload { "timestamp": 1681277645036, "status": 400, "error": "Bad Request", "message": "CA 7 Exception: - 23102 013404 CANCEL,JOB=2696,FORCE=YES,REASON=PER TEST SUPPORT;SPO6-16 UNABLE TO CANCEL, ARF RECOVERY IN PROGRESS", "path": "/ca7services/api/v1/commands/cancel"}
Could you please suggest any other alternate way to cancel job with active ARF?
|