CADZSAPn SAPI task not started - Seeing CADD702E and CADD317I messages
search cancel

CADZSAPn SAPI task not started - Seeing CADD702E and CADD317I messages

book

Article ID: 248437

calendar_today

Updated On:

Products

Dispatch Output Mgmt

Issue/Introduction

Usually, the CADZSAPn SAPI task is automatically started whenever the CADZSPLn task is started. However today, we are seeing the following messages during task startup:

Error seen in our CASZSPLn tasks startup messages:

 CADD110I SPL1 Operator=S ALL,SAPI
 CADD702E SPL1 Invalid syntax at offset 0010

Error seen in our CADZSAPn SAPI tasks startup messages:

CADD317I SAP1 no current active SAPI task

Environment

Release : 11.7

Component : Dispatch

Cause

The cause of these errors is two fold.

- The CADZSPLn tasks DDSPL1 startup member contained invalid data.

- A start command for the CADZSAPn SAPI task was being issued from the console.

Resolution

1. Regarding the error seen in your CASZSPL1 tasks startup messages for the start SAPI command...

-   CADD702E SPL1 Invalid syntax at offset 0010

* Receipt of the above message is why the CADZSAPn SAPI task(s) are not being automatically started.

This is the result of having some type of garbage or invalid data in your (DDSPL1) startup member. You should access this member, turn HEX ON, and after the "S ALL,SAPI" command characters, all you should have are x'40's. If you see anything than x'40's after the last command character, this would be the garbage/invalid data that needs to be removed in order to prevent the error.

   

2. Regarding the error seen in your CADZSAP1 task...

-   CADD317I SAP1 no current active SAPI task

* This is the result of issuing an actual START command for the CADZSAPn task from the console (i.e. /S CADZSAP1). This is NOT a valid way to start the SAPI task.

Once you resolve the problem with the (DDSPL1) startup member, recycle the CADZSPLn task itself, and when the S ALL,SAPI command is executed SUCCESSFULLY the CADZSAPn SAPI task(s) will automatically be started.

Additional Information

For more information see the Dispatch System Programmers Guide -> CADDSPL Operator Commands -> START Command