Can one execute a PROC within an Endevor processor.
search cancel

Can one execute a PROC within an Endevor processor.

book

Article ID: 44418

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

 

Can one execute a PROC within an Endevor processor.

 

 

Resolution

Proc's can not be executed from an Endevor Processor.  However, one can use IEBGENER to execute the PROC. The only draw back is that it will be execute outside of Endevor and the results will not be available to the processor. 

Example:

000714 //ACT1     EXEC PGM=IEBGENER
000715 //SYSPRINT  DD    SYSOUT=*
000716 //SYSUT2    DD    DSN=xxxxxx.PXXX.REXXLIB(PXXXREX),DISP=OLD
000717 //SYSUT1    DD  *
000718   /* REXX */
000720 CALL 'PXXXPGM'
000721 PUSH END;
000722 EXIT
000723 //SYSIN    DD  DUMMY