View previous topic :: View next topic |
Author |
Message |
tibanglander Beginner
Joined: 09 Mar 2004 Posts: 3 Topics: 1
|
Posted: Tue Mar 09, 2004 9:08 pm Post subject: Question about 88 level variable |
|
|
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 |
|
|
Maton_Man Beginner
Joined: 30 Jan 2004 Posts: 123 Topics: 0
|
Posted: Tue Mar 09, 2004 9:16 pm Post subject: |
|
|
Why don't you whip up a quick program and find out for yourself? _________________ My opinions are exactly that. |
|
Back to top |
|
|
tibanglander Beginner
Joined: 09 Mar 2004 Posts: 3 Topics: 1
|
Posted: Tue Mar 09, 2004 9:23 pm Post subject: |
|
|
errr... i could. but it's usually faster to ask a question. |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12369 Topics: 75 Location: San Jose
|
Posted: Tue Mar 09, 2004 10:13 pm Post subject: |
|
|
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 |
|
|
tibanglander Beginner
Joined: 09 Mar 2004 Posts: 3 Topics: 1
|
Posted: Tue Mar 09, 2004 10:50 pm Post subject: |
|
|
thanks! will be more specific next time. |
|
Back to top |
|
|
|
|