I'm using the below JCL to run a command via a job so that we can automate it.
//BPXBATCH EXEC PGM=BPXBATCH
//STDOUT DD PATH='/home/zmdrdp/stdout',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),PATHMODE=SIRWXU
//STDERR DD PATH='/home/zmdrdp/stderr',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),PATHMODE=SIRWXU
//*STDIN DD DISP=SHR,DSN=TECH.ZMSEDC.JCL(EDTST)
//STDPARM DD DISP=SHR,DSN=ZMDRDP.TSOLIB.CNTL(SAPCL)
//STDOUT DD PATH='/home/zmdrdp/stdout',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),PATHMODE=SIRWXU
//STDERR DD PATH='/home/zmdrdp/stderr',
// PATHOPTS=(OWRONLY,OCREAT,OTRUNC),PATHMODE=SIRWXU
//*STDIN DD DISP=SHR,DSN=TECH.ZMSEDC.JCL(EDTST)
//STDPARM DD DISP=SHR,DSN=ZMDRDP.TSOLIB.CNTL(SAPCL)
The STDPARM contains...
SH cd /sap/saposcol;
SAPCAR -xvf SAPDB2CL_9-20005238.SAR
SAPCAR -xvf SAPDB2CL_9-20005238.SAR
The STDERR file reads,
"SAPCAR: FSUM9225 no memory: EDC5132I Not enough memory."
I have REGION=OM coded in the jobcard. What am I doing wrong here..?
Regards
v1gnesh