Hi,
I am executing a REXX programe through JCL. But getting an error message as below:
RetCode=RXSUBCOM( 'ADD','DSNREXX', 'DSNREXX')
Error running FCHKPRIC, line 83: Routine not found
I am using below JCL:
//STEP01 EXEC PGM=IKJEFT01,REGION=0m,TIME=1440,PARM='FCHKPRIC'
//SYSEXEC DD DSN='rexx library containing rexx program FCHKPRIC',DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSIN DD DUMMY
/*
NOTE: No error is faced while executing the REXX program directly using EX command. But when executing it via JCL it gives the error message in bold.
I am adding the below TSO libraries before executing the REXX programs.
ALLOC FILE(REXX) DATASET('xxxA.SDSNLOAD','xxxA.SDSNEXIT') SHR REUSE
TSOLIB ACTIVATE FILE(REXX)