View previous topic :: View next topic
|
Author |
Message |
Thiru Chandira Moorthi
New User
Joined: 20 Jun 2007 Posts: 29 Location: chennai
|
|
|
|
I am using STARTED task to backup the syslog.
here, the procedure:
//WRTSLG PROC
//IEFPROC EXEC PGM=IASXWR00,PARM='PL'
//IEFRDER DD DSN=SYS1T.SLGWRTST,DISP=(MOD,KEEP),
It is executing fine but i am not getting the output in sequential file(SYS1T.SLGWRTST). It is looking empty.
$HASP373 WRTSLG STARTED
IEF403I WRTSLG - STARTED - TIME=17.03.17
IEF176I WTR D336 WAITING FOR WORK, CLASS=L, DEST=LOCAL
STOP D336
IEF301I D336 WTR CLOSED
IEF404I WRTSLG - ENDED - TIME=17.04.17
$HASP395 WRTSLG ENDED
please give me the root cause and solution for this problem. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
You should also remember the operator command "WRITELOG L" to spin off the active log to sysout class L. |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Also, be sure the spun log in output class=L is not on hold. |
|
Back to top |
|
|
Thiru Chandira Moorthi
New User
Joined: 20 Jun 2007 Posts: 29 Location: chennai
|
|
|
|
IT IS WORKING FINE. THANK YOU.
can we issue this from the procedure itself? |
|
Back to top |
|
|
Bill Dennis
Active Member
Joined: 17 Aug 2007 Posts: 562 Location: Iowa, USA
|
|
|
|
Check out the COMMAND statement in JCL. The command gets issued when the job hits the INTRDR.
Code: |
//name COMMAND 'WRITELOG L' |
You may be able to put it right in the procedure itself. |
|
Back to top |
|
|
Thiru Chandira Moorthi
New User
Joined: 20 Jun 2007 Posts: 29 Location: chennai
|
|
|
|
Thank you. |
|
Back to top |
|
|
|