MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Question about 88 level variable

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
tibanglander
Beginner


Joined: 09 Mar 2004
Posts: 3
Topics: 1

PostPosted: Tue Mar 09, 2004 9:08 pm    Post subject: Question about 88 level variable Reply with quote

hi guys. i'm new to these boards. i'm a programmer in the philippines. i have been using cobol for 4 years now and have experience in CICS, IMS, DB2, JCL and a host of other stuff related to mvs.

i have a question and i can't seem to find an adequate response. if i declared a lvl 88 variable like below...
Code:

05 WS-WHO-CARES-SW       PIC X(01).
     88 WS-I-DO                                   VALUE '1'.
     88 WS-YOU-DO                              VALUE '1'.
     88 WS-HE-DOES                            VALUE '2'.
     88 WS-SHE-DOES                           VALUE '1'.

... if i move 1 to WS-WHO-CARES-SW, will WS-I-DO, WS-YOU-DO, and WS-SHE-DOES all be set to true? thanks.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Maton_Man
Beginner


Joined: 30 Jan 2004
Posts: 123
Topics: 0

PostPosted: Tue Mar 09, 2004 9:16 pm    Post subject: Reply with quote

Why don't you whip up a quick program and find out for yourself?
_________________
My opinions are exactly that.
Back to top
View user's profile Send private message
tibanglander
Beginner


Joined: 09 Mar 2004
Posts: 3
Topics: 1

PostPosted: Tue Mar 09, 2004 9:23 pm    Post subject: Reply with quote

errr... i could. but it's usually faster to ask a question.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12369
Topics: 75
Location: San Jose

PostPosted: Tue Mar 09, 2004 10:13 pm    Post subject: Reply with quote

tibanglander,

Welcome to mvsforums. Please be more descriptive with your topic title.a title such as "hi I am new! question.." would mean nothing. A more approriate title would be "question about 88 level variable".

Now coming to your question, WS-I-DO, WS-YOU-DO, and WS-SHE-DOES will all be set to TRUE.

Hope this helps...

Cheers

Kolusu

PS: I have edited the title.
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
tibanglander
Beginner


Joined: 09 Mar 2004
Posts: 3
Topics: 1

PostPosted: Tue Mar 09, 2004 10:50 pm    Post subject: Reply with quote

thanks! will be more specific next time.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group