I have a small snipet where in i need to capture the log with respect to the ISFDATE parameter. I'm not able to use this special variable. Everytime i run this script without this variable i'm able to get the expected result. When i give ISFDATE = XXXXXXXX i'm not able to get it. Here is the snipet I use a very small one. I tried get it from the Manual but i was not able to get the correct one. I dont think i was giving the wrong syntax. Still i'm getting RC 8.
/*rexx*/
rc_isf = ISFCALLS("ON")
isfdate = 04132012
isflinelim = 100
Address tso
"Alloc da ('xxxxxx.log(login1)') f(isfin) shr reu"
"Alloc da ('xxxxxx.log(logout1)') f(isfout) shr reu"
Address sdsf "Isflog read type(Syslog)"
say rc
Do ix=1 TO isfmsg2.0
say isfmsg2.ix
end
Do ix=1 to isfline.0
"Execio * diskw isfout (stem isfline.finis"
end
c=isfcalls("off")
rc_isf = ISFCALLS("ON")
isfdate = 04132012
isflinelim = 100
Address tso
"Alloc da ('xxxxxx.log(login1)') f(isfin) shr reu"
"Alloc da ('xxxxxx.log(logout1)') f(isfout) shr reu"
Address sdsf "Isflog read type(Syslog)"
say rc
Do ix=1 TO isfmsg2.0
say isfmsg2.ix
end
Do ix=1 to isfline.0
"Execio * diskw isfout (stem isfline.finis"
end
c=isfcalls("off")
8
ISF741E Error processing command 'SET DATE 04202012' associated with variable I
SFDATE, reason: PARM INVALID.
ISF741E Error processing command 'SET DATE 04202012' associated with variable I
SFDATE, reason: PARM INVALID.
Regards,
Viswa