IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

88 level


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
prabhucs01
Warnings : 1

New User


Joined: 07 Mar 2005
Posts: 43

PostPosted: Thu May 05, 2005 7:04 pm
Reply with quote

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]
Back to top
View user's profile Send private message
kanak

Moderator


Joined: 12 Mar 2005
Posts: 252
Location: India

PostPosted: Thu May 05, 2005 7:17 pm
Reply with quote

ya you can certainly give...by default EOF-TBL36-NO will be true.
Back to top
View user's profile Send private message
notonly4u

New User


Joined: 26 Apr 2005
Posts: 87
Location: Hyderabad

PostPosted: Thu May 05, 2005 7:19 pm
Reply with quote

Please correct me if Iam wrong.....

If we don't have the value clause in the group item, then how we are going to check the condition. To be more clear,

I think you are going to check wheather the EOF TBL36 has been reached or not.

So while start reading the table it should contain the condition as EOF as false. So we use to give the false condition in the group item.

As I told earlier....Please correct me if Iam wrong.

Regards
Tanden.
Back to top
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Thu May 05, 2005 8:28 pm
Reply with quote

notonly4u

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.

Regds
-Som
Back to top
View user's profile Send private message
Rajen

New User


Joined: 05 May 2005
Posts: 61

PostPosted: Fri May 06, 2005 6:41 pm
Reply with quote

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.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How to load to DB2 with column level ... DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts JPM Reports for each DB2 V12 Function... DB2 0
No new posts Program level statistics CICS 6
No new posts Feild level validation to test first ... JCL & VSAM 10
Search our Forums:

Back to Top