Page 1 of 1

Clarification on ISFLOG

PostPosted: Wed Sep 28, 2011 6:01 pm
by Viswanathchandru
Dear all,
I'm trying to capture the LOG data's of the current day with a small snipet but it fails with some errors. Here is the code
/* REXX */
RC=ISFCALLS('ON')
ISFLINELIM="1000"
ADDRESS SDSF "ISFEXEC ISFLOG READ TYPE(SYSLOG)"
SAY RC
DO IX=1 TO ISFMSG2.0
SAY ISFMSG2.IX
END
DO IX=1 TO ISFLINE.0
SAY ISFLINE.IX
END
ISFCALLS('OFF')
and the response that i got.

Result:
12
ISF302E "ILLEGAL_CHAR" was seen in command position 8 where one of the followin
g was expected: /, QUOTED-STRING, UNQUOTED-STRING.
. In this which one states the command position 8 and how to proceed. Can anyone guide me on this. Apologies if i'm wrong.

Thanks
Viswa

Re: Clarification on ISFLOG

PostPosted: Wed Sep 28, 2011 6:40 pm
by enrico-sorichetti
what zOS version/release are You running ... from the manual
You access the SYSLOG using the ISFLOG host environment command.
The ISFLOG command processes the logical log, which requires that the JES level be at least z/OS® V1R11.
For more information, refer to SYSLOG

Re: Clarification on ISFLOG

PostPosted: Wed Sep 28, 2011 6:52 pm
by Viswanathchandru
Thanks a lot enrico for addressing the post and for your time!
That was a pin pointed reply. The z OS version is 1.09 and i comfortably done some experiments with this server since its a test system. I do have 1.11 in my shop. But thats a production environment :cry: I believe this script is just reading the LOG and displaying the contents(say). Don't know whether it can be tested with the Live system. :? too confused:?
Anyways thanks for your time.

Regards
Viswa

Re: Clarification on ISFLOG

PostPosted: Wed Sep 28, 2011 6:58 pm
by enrico-sorichetti
if You have access and the proper authorizations
SYSLOG viewing under SDSF is restricted in most environments I know

anyway the test does not seem dangerous to me, but I do not know the point of view of Your organization ;)
keep the number of lines pretty low for the initial test about 50 to see if the shebang works
after that expand according to the business need

Re: Clarification on ISFLOG

PostPosted: Thu Sep 29, 2011 10:02 am
by Viswanathchandru
Thanks enrico for your time and replies.
Yes it didn't do any harm and i was blessed enough to test with the production system. Did with just 10 lines. Thanks for your advice.

Thanks
Viswa