IBM MAINFRAME HELP & SUPPORT FORUMS
Technical Forums for IBM Mainframe Applications like COBOL, JCL, CICS, DB2, FileAid, DFSORT, Endevor, Xpediter, CoolGen, CA-7&11, AbendAid, IMS, IDMS, PL/I, MqSeries, SyncSort, Assembler, ChangeMan, Easytrieve, InterTest, REXX, CLIST etc...
 

Syslog Backup Problem

THIS IS AN ARCHIVE FORUM: CLICK HERE TO GO TO THE ORIGINAL TOPIC

 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> PL/I & ASSEMBLER
View previous topic :: View next topic  
Author Message
Thiru Chandira Moorthi



Joined: 20 Jun 2007
Posts: 29
Location: chennai

Posted: Fri Jul 18, 2008 5:15 pm    Post subject: Syslog Backup Problem  

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



Joined: 14 Mar 2007
Posts: 3082
Location: italy

Posted: Fri Jul 18, 2008 5:23 pm    Post subject: Reply to: Syslog Backup Problem  

You should also remember the operator command "WRITELOG L" to spin off the active log to sysout class L.
Back to top  
Bill Dennis



Joined: 17 Aug 2007
Posts: 311
Location: Iowa, USA

Posted: Fri Jul 18, 2008 7:11 pm    Post subject:  

Also, be sure the spun log in output class=L is not on hold.
Back to top  
Thiru Chandira Moorthi



Joined: 20 Jun 2007
Posts: 29
Location: chennai

Posted: Sun Jul 20, 2008 12:04 pm    Post subject: Reply to: Syslog Backup Problem  

IT IS WORKING FINE. THANK YOU.

can we issue this from the procedure itself?
Back to top  
Bill Dennis



Joined: 17 Aug 2007
Posts: 311
Location: Iowa, USA

Posted: Mon Jul 21, 2008 6:54 pm    Post subject:  

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



Joined: 20 Jun 2007
Posts: 29
Location: chennai

Posted: Mon Jul 21, 2008 7:14 pm    Post subject: Reply to: Syslog Backup Problem  

Thank you.
Back to top  
 
       IBMMAINFRAMES.com - IBM Mainframe Support Forums Index -> PL/I & ASSEMBLER
Page 1 of 1
THIS IS AN ARCIVE FORUM IN READ ONLY MODE. IF YOU WANT TO ASK YOUR DOUBTS USE THE ACTUAL FORUM