mf_learner Beginner
Joined: 04 May 2006 Posts: 11 Topics: 4
|
Posted: Wed May 24, 2006 3:37 am Post subject: Erroring out while invoking AOPPRINT for mailing |
|
|
Hi,
I am using AOPPRINT as in the below JCL for emailing a file to users defined instream in the JCL itself.
Code: |
//STEP0100 EXEC AOPPRINT,PRINTER='mail',
// OPTIONS='attributes=//DD:MYATTR'
//SYSIN DD DSN=SCNP.TP.COUNTS.TEST01,DISP=SHR
//MYATTR DD *
mail-to-addresses=('X.Y@z.com')
mail-cc-addresses=('X.Y@z.com')
mail-from-name="abcd1234"
mail-reply-address='X.Y@z.com'
mail-file-name="Counts Report"
title-text="My Report"
/*
//*
|
where, abcd1234 is the userid by which I am submitting the job.
I am getting the following error in the syserr of the job -
Code: |
lp: AOP003E /etc/Printsrv/aopd.conf: EDC5129I No such file or directory.
|
The proc AOPPRINT is resolving and executing the program AOPBATCH in turn (I checked this out in the Jes Spool) like below -
Code: |
//STEP0100 EXEC AOPPRINT,PRINTER='mail',
// OPTIONS='attributes=//DD:MYATTR'
XX*-------------------------------------------------------------------
XX* AOPPRINT - OS/390 Print Server batch print procedure
XX*-------------------------------------------------------------------
XXAOPPRINT PROC PRINTER='p1',OPTIONS=,OUTCLASS='*',ERRCLASS='*'
XXLP EXEC PGM=AOPBATCH,
XX PARM='/lp -d &PRINTER -o "&OPTIONS" //DD:SYSIN'
IEFC653I SUBSTITUTION JCL - PGM=AOPBATCH,PARM='/lp -d mail -o "attribu
XXSTDOUT DD SYSOUT=&OUTCLASS
IEFC653I SUBSTITUTION JCL - SYSOUT=*
XXSTDERR DD SYSOUT=&ERRCLASS
XX* STDENV may point to a dataset containing environment variables.
XX* Builtin values will work for the default installation.
XX*STDENV DD DSN=USERID.JCL(ENVVARS),DISP=SHR
IEFC653I SUBSTITUTION JCL - SYSOUT=*
//SYSIN DD DSN=m.n.repfile,DISP=SHR
//MYATTR DD *
//*
|
Could anyone please throw some light on this and how to fix this ? _________________ Thanks |
|