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
 

 

How to set value in 88 level condition?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
teji4

New User


Joined: 26 Oct 2007
Posts: 9
Location: bangalore

PostPosted: Tue Sep 23, 2008 1:28 pm    Post subject: How to set value in 88 level condition?
Reply with quote

How to set value in 88 level condition?
Back to top
View user's profile Send private message

Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Sep 23, 2008 1:45 pm    Post subject:
Reply with quote

No need to set the value it will get set automatically when you assign some value to variable for which 88 level is defined.
thats what 88 level is ment for.
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Sep 23, 2008 2:21 pm    Post subject: Reply to: How to set value in 88 level condition?
Reply with quote

Teji,

Quote:
How to set value in 88 level condition?


You can also use this

Code:
SET 88CONDITION-NAME TO TRUE
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Sep 23, 2008 2:30 pm    Post subject:
Reply with quote

Further to as posted by Aaru..

Variable will contain first value it satisfies from 88 condition
e.g.

Code:

01 CHECK88 PIC X.       
   88 VAL1 VALUE 'B' 'A'.
.
.
SET VAL1 TO TRUE.

CHECK88 will have value B

Code:

01 CHECK88 PIC X.       
   88 VAL1 VALUE 'A' 'B'.
.
.
SET VAL1 TO TRUE.

CHECK88 will have value A
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
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
No new posts Syncsort TPF Level Majid Hussain SYNCSORT 2 Wed Apr 13, 2016 2:22 am


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