I added RC=ISFCALLS('OFF') before the last DO-END and it worked fine.
I am at z/os 1.12

On Wed, Aug 22, 2012 at 6:35 AM, Henri Kuiper <[email protected]>wrote:

> Hello,
>
> Just curious if anyone can guide me towards a solution to the following:
>
> 1. I am running z/OS 1.11 (from the z1090 distribution)
> 2. I want to use ISFLOG to read data from SYSLOG
> 3. Rexx Code I'm using looks like this
>
> /* REXX */
>
> RC=ISFCALLS('ON')
> ISFLINELIM="10"
> ADDRESS SDSF "ISFLOG READ TYPE(SYSLOG)"
> DO I = 1 TO ISFMSG2.0
>   SAY ISFMSG2.I
> END
> DO I = 1 TO ISFLINE.0
>   SAY ISFLINE.I
> END
>
> 4. When executing :
>
> ISF302E "UNQUOTED-STRING" was seen in command position 1 where one of the
> follo
> wing was expected: END-OF-STMT, ISFACT, ISFEXEC, ISFGET, ISFSLASH.
> ISF767I Request completed.
>
>
> Somehow making me think ISFLOG is not ' available ' ?
>
> The books say : 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<
> http://publib.boulder.ibm.com/infocenter/zos/v1r12/topic/com.ibm.zos.r12.isfa500/genhindx.htm#genhindx
> >
> .
>
> Are there any other things I need to implement before this ISFLOG works?
>
> Thanks in advance
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
"Men will never be free until the last king is strangled with the entrails
of the last priest." Denis Diderot

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to