CA 7 Workload Automation

 View Only
  • 1.  CA7 API - ARFP command

    Posted Apr 12, 2023 11:42 AM

    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 body
      "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?


  • 2.  RE: CA7 API - ARFP command

    Broadcom Employee
    Posted Apr 13, 2023 12:40 PM

    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. 


  • 3.  RE: CA7 API - ARFP command

    Broadcom Employee
    Posted Apr 13, 2023 01:36 PM


    In order to cancel a job that is using an active ARF resource issue the following command:
    ARFP,JOB=job number of job in CA 7 request queue,FORCE=YES 

  • 4.  RE: CA7 API - ARFP command

    Broadcom Employee
    Posted Mar 18, 2024 01:36 PM

    Hi Subburaj,

    We have added ARF Purge as an API endpoint in the CA 7 REST API 12.1.06 release specifically to meet your request.
    Please read the announcement details here and let me know if you have any questions.
    Praveen Verma