Dear all
You are right.It is security. I checked the SYSLOG and found the messages.
Thanks a lot!
Best Regards,
Jason Cai
发件人: Mary Anne Matyaz
发送时间: 2010-05-18 19:08:56
收件人: IBM-MAIN
抄送:
主题: Re: What is the difference between starting a cataloged procedure and
submitting a JCL
Jason,
My bet is it's security (Started task has a different security ID than your
batch job submit). Did you check the SYSLOG to see if there were any
messages around the time of your proc executing? When your proc starts,
Getting more output: Started tasks may have a different MSGCLASS
($DJOBCLASS(STC), then $DMSGCLASS(D) to see where the output is going.
In my case, it's:
$DJOBCLASS(STC),MSGCLASS
$HASP837 JOBCLASS(STC) MSGCLASS=D
$HASP842 OUTCLASS(D)
$HASP842 OUTCLASS(D) OUTPUT=PRINT,BLNKTRNC=YES,
$HASP842 OUTDISP=(PURGE,WRITE),TRKCELL=YES
The OUTDISP of PURGE,WRITE is what's causing the output to disappear.
You can do a couple of things to alter this. $TJOBCLASS(STC),MSGCLASS=X,
or some other class that isn't disp purge. You can also change your cataloged
proc to have sysprint=X instead of sysprint=*, but that will only get you the
iebgener messages, not the Jesmsglg.
Differences:
Security Do you see an IEF695i msg indicating the user assigned to your
started task?
WLM - STC's get classified differently and usually have different performance
goals
STC's may have a different default region size
See Chapter 7 of the MVS JCL Reference for more info
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html