Have written an Endevor API program in REXX and getting allocation errors when invoking the Generate processor. Why?
search cancel

Have written an Endevor API program in REXX and getting allocation errors when invoking the Generate processor. Why?

book

Article ID: 7204

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

Have written an Endevor Application Program Interface (API) program in REXX and getting the following allocation errors when the Generate processor is executed:

C1A0010E ALLOCATION ERROR RC=0410-0000, DDNAME=SYSEXEC 
C1A0011E IKJ56246I DATA SET iprfx.iqual.ADMIN.REXX NOT ALLOCATED, FILE IN USE 
C1A0010E ALLOCATION ERROR RC=0410-0000, DDNAME=SYSTSPRT 
C1A0011E IKJ56246I SYSOUT DATA SET NOT ALLOCATED, FILE IN USE 
C1A0010E ALLOCATION ERROR RC=0410-0000, DDNAME=SYSTSIN 
C1A0011E IKJ56246I FILE SYSTSIN NOT ALLOCATED, FILE IN USE 

Environment

Release:
Component: ENDBAS

Cause

The Generate processor contains a step that executes a REXX routine. The data sets required by REXX have already been opened and allocated to the API calling REXX routine and cannot subsequently be allocated by the REXX step in the processor. 

Resolution

REXX cannot be used as the API programming language if any of the processors execute REXX routines.  

The API program needs to be rewritten in Assembler or an LE-compliant language to eliminate the allocation errors. 

Additional Information

Go to the CA Endevor DocOps site ---    

•  Logon using your email address and CA Support Online password

•  In the Select Product drop down box, search for Endevor and select the appropriate version

•  In the Table of Contents on the right, go to :

+ API and User Exits Reference 

>> API Reference