Clarification on ISFLOG



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

Clarification on ISFLOG

Postby Viswanathchandru » Wed Sep 28, 2011 6:01 pm

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
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: Clarification on ISFLOG

Postby enrico-sorichetti » Wed Sep 28, 2011 6:40 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Clarification on ISFLOG

Postby Viswanathchandru » Wed Sep 28, 2011 6:52 pm

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
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time

Re: Clarification on ISFLOG

Postby enrico-sorichetti » Wed Sep 28, 2011 6:58 pm

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
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: Clarification on ISFLOG

Postby Viswanathchandru » Thu Sep 29, 2011 10:02 am

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
Viswanathchandru
 
Posts: 271
Joined: Mon Oct 25, 2010 2:24 pm
Has thanked: 25 times
Been thanked: 0 time


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post