My pgm look like this... ====≠==
main para.
open input files initialize ip files perform process para
close files ====≠ In process para
if eof2 =n process peform para endif
if flagy perform write op1 else wrie op2 endif
read file1
≠=========== perform para.
if in1=in2 set flagy if in2>in1 read file 2 until eof2 or in2>= in1 if in1= in2 set flagy else set flag n ≠===========
i dont know what i am missing its not reading properly..pls help ..
Thanks in advance!!
Anonymous
You seem to have CSS turned off. Please don't fill out this field.
The most obvious is :
if eof2 =n
should be eof2 = "n" and your code should have produced a error msg.
I suggest you provide :
and register as a user on SF as your post may get held up waiting for one of the moderators to vet your posts.
My pgm look like this...
====≠==
main para.
open input files
initialize ip files
perform process para
close files
====≠
In process para
if eof2 =n
process peform para
endif
if flagy
perform write op1
else
wrie op2
endif
read file1
≠===========
perform para.
if in1=in2
set flagy
if in2>in1
read file 2 until eof2 or in2>= in1
if in1= in2
set flagy
else
set flag n
≠===========
i dont know what i am missing its not reading properly..pls help ..
Thanks in advance!!
The most obvious is :
if eof2 =n
should be eof2 = "n"
and your code should have produced a error msg.
I suggest you provide :
and register as a user on SF as your post may get held up waiting for one of the moderators to vet your posts.