05 END-OF-TB36UNLD-FILE-SW PIC S9(01) COMP-3 VALUE 0.
88 EOF-TBL36-NO VALUE +0.
88 EOF-TBL36 VALUE +1
now in this statement i have given vlaue clause in the 05 level.can we give the value clause in the group level if we are going to handle condition statement[b](88).[/b]
It's not mandatory to specify a value in the group item. But you need to set EOF-TBL36-NO to TRUE OR Move 0 to END-OF-TB36UNLD-FILE-SW before start reading the table. When it reaches the end of table set EOF-TBL36 to TRUE.
I think we can give value clause for switches.
So Prabhu you can give but the only thing is by default the switch will have that value specified by you and you need to handle that condition.