REXX compiler error messages:
EAGALT0300E Error 3 running compiled ?, line 0: Program is unreadable
EAGALT0304I The program cannot run with the Alternate Library
Sample JCL to compile a REXX program:
//REXXCOMP EXEC PGM=REXXCOMP,PARM='XREF'
//STEPLIB DD DSN=your.rexx.compiler.library,DISP=SHR
//SYSPRINT DD SYSOUT=A
//SYSTERM DD SYSOUT=A
//SYSDUMP DD DUMMY
//SYSPUNCH DD DUMMY
//SYSIN DD DSN=your.rexx.source.library(yourrexx),DISP=SHR
//SYSCEXEC DD DSN=your.rexx.compiled.library(yourrexx),DISP=SHR
Release: 12.0
Component: JCLCheck Workload Automation
Use REXX compiler options ALTERNATE and SLINE.
Example:
//REXXCOMP EXEC PGM=REXXCOMP,PARM='XREF ALTERNATE SLINE'
//STEPLIB DD DSN=your.rexx.compiler.library,DISP=SHR
//SYSPRINT DD SYSOUT=A
//SYSTERM DD SYSOUT=A
//SYSDUMP DD DUMMY
//SYSPUNCH DD DUMMY
//SYSIN DD DSN=your.rexx.source.library(yourrexx),DISP=SHR
//SYSCEXEC DD DSN=your.rexx.compiled.library(yourrexx),DISP=SHR
IBM Compiler and Library for REXX on zSeries V1R4 User's Guide and Reference