Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

88 level condition

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: 88 level condition
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts Joinkeys with condition scdinesh DFSORT/ICETOOL 10 Tue Feb 14, 2017 12:20 am
This topic is locked: you cannot edit posts or make replies. How to pass the previous month date i... Suganya87 DFSORT/ICETOOL 5 Mon Oct 31, 2016 4:13 pm
No new posts INCLUDE condition questions van bui DFSORT/ICETOOL 1 Thu Jun 30, 2016 9:52 am
No new posts 2 vsam file compare and update a fiel... ABINAYATHULASI DFSORT/ICETOOL 6 Sun May 29, 2016 11:15 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us