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

88 level condition


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

New User


Joined: 23 May 2005
Posts: 27

PostPosted: Wed May 03, 2006 3:05 pm
Reply with quote

I have one doubt please clarify me ASAP

Code:
01 WS-CHECK-PT              PIC X(3) VALUE 'NO'
     88 WS-CHECK-PT-NO   VALUE 'NO'
     88 WS-CHECK-PT-YES  VALUE 'YES'


Some where i am i have given like

SET WS-CHECK-PT TO TRUE Means what is the value of both 88 level variables ?

and SET WS-CHECK-PT-NO TO TRUE Means what is the value of

WS-CHECK-PT-NO ?
Back to top
View user's profile Send private message
yogesh

New User


Joined: 27 May 2005
Posts: 21

PostPosted: Wed May 03, 2006 3:23 pm
Reply with quote

When u say,

SET WS-CHECK-PT is the name of variable which is at 01 level,
so set statement is not applicable to it,
u can use the set to true statement for 88 level.
Like when u say set WS-CHECK-PT-NO to true.
the value of WS-CHECK-PT is changed to 'NO'
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 How to give complex condition in JCL . CLIST & REXX 30
No new posts selectively copy based on condition DFSORT/ICETOOL 3
No new posts JPM Reports for each DB2 V12 Function... DB2 0
Search our Forums:

Back to Top