Page 1 of 1

Clarification ISFLOG

PostPosted: Fri Feb 01, 2013 8:32 pm
by Viswanathchandru
Dear all,

I have a piece of code which address SDSF and uses ISFLOG to carry the syslog messages. But address command is as per manual

ADDRESS SDSF "ISFLOG READ TYPE(SYSLOG)"
and I got an error as Machine storage exhausted. I went through the Manual and there is one more option as

ADDRESS SDSF "ISFLOG ALLOC TYPE(SYSLOG)"
. But I'm not sure how to use this ALLOC. Is this same as the normal alloc command or? If yes I will be using this way.


ALLOC DA('dsname') f(ISFDDNAME) SHR REU
ADDRESS SDSF "ISFLOG ALLOC TYPE(SYSLOG)"

If I do this way will the records be going to ISFDDNAME. Apologize If my thoughts are wrong!


Regards,
Viswa

Re: Clarification ISFLOG

PostPosted: Sat Feb 02, 2013 2:42 am
by Viswanathchandru
I'm not sure how to use the this

ADDRESS SDSF "ISFLOG ALLOC TYPE(SYSLOG)"


Any help/suggestions would be helpful.

Regards,
Viswa

Re: Clarification ISFLOG

PostPosted: Sat Feb 02, 2013 2:54 am
by enrico-sorichetti
a quick and dirty googling with sdsf isflog alloc
returned

http://publib.boulder.ibm.com/infocente ... upport.pdf

pretty interesting

Re: Clarification ISFLOG

PostPosted: Sat Feb 02, 2013 3:05 am
by Viswanathchandru
Hi Enrico, Thanks for your time!

Thanks for the link. But I'm not able to understand this part.

although the syslog supports the allocate function (ISFLOG ALLOC TYPE(SYSLOG), this is not available with operlog
.

But where the output goes? I'm not able to see anything in the o/P. Any example would be helpful.

Regards,
Viswa

Re: Clarification ISFLOG

PostPosted: Sat Feb 02, 2013 3:16 am
by Viswanathchandru
Hi Enrico,

Or in other words what does this command does?

ISFLOG ALLOC TYPE(SYSLOG)
. I can understand that this command
ISFLOG READ TYPE(SYSLOG)
reads and puts everything in ISFLINE special variable. But there are chances my machine storage to be exhausted if in case I do a bulk read. Also, I can't find much explanation on ALLOC TYPE(SYSLOG) even i tried google it ends in the same syntax but no more explanation is given. Any help/ the way to invoke would be helpful.

Regards,
viswa