I am calling an ISPF edit macro in a rexx program and it works fine in online mode.
However when I try to run it in batch mode using ISPSTART, I think my rexx program doesn't run as there are no displays in Spool/Flasher which however comes when I run the program in online mode. However JCL runs without error, MAXCC=0.
Below is the JCL which I am using:
//TSOBATCH EXEC PGM=IKJEFT1B
//SYSEXEC DD DSN=MATE16.REXX.TOOLSS,DISP=SHR
// DD DSN=ISP.SISPEXEC,DISP=SHR
//ISPPLIB DD DSN=ISP.SISPPENU,DISP=SHR
//ISPMLIB DD DSN=ISP.SISPMENU,DISP=SHR
//ISPSLIB DD DSN=ISP.SISPSENU,DISP=SHR
// DD DSN=ISP.SISPSLIB,DISP=SHR
//ISPTLIB DD DSN=ISP.SISPTENU,DISP=SHR
//ISPLLIB DD DSN=DSN910.SDSNLOAD,DISP=SHR
//ISPLOG DD SYSOUT=*
//RPTDD DD DSN=&SYSUID..REXX.DSN.REPORT,
// DISP=(MOD,CATLG,DELETE),
// SPACE=(TRK,(10,10),RLSE),
// UNIT=SYSDA,
// DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=800)
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
PROFILE PREFIX(MATE16)
ISPSTART CMD(%STRSRCH P1 P2)
/*
//SYSEXEC DD DSN=MATE16.REXX.TOOLSS,DISP=SHR
// DD DSN=ISP.SISPEXEC,DISP=SHR
//ISPPLIB DD DSN=ISP.SISPPENU,DISP=SHR
//ISPMLIB DD DSN=ISP.SISPMENU,DISP=SHR
//ISPSLIB DD DSN=ISP.SISPSENU,DISP=SHR
// DD DSN=ISP.SISPSLIB,DISP=SHR
//ISPTLIB DD DSN=ISP.SISPTENU,DISP=SHR
//ISPLLIB DD DSN=DSN910.SDSNLOAD,DISP=SHR
//ISPLOG DD SYSOUT=*
//RPTDD DD DSN=&SYSUID..REXX.DSN.REPORT,
// DISP=(MOD,CATLG,DELETE),
// SPACE=(TRK,(10,10),RLSE),
// UNIT=SYSDA,
// DCB=(DSORG=PS,RECFM=FB,LRECL=80,BLKSIZE=800)
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD DUMMY
PROFILE PREFIX(MATE16)
ISPSTART CMD(%STRSRCH P1 P2)
/*
In this STRSRCH is my rexx program which in turns call an ISPF macro, P1 & P2 are the two arguments passed to the rexx program.
I am not able to figure out the problem. Any help?