Display the value of level-88.

All sort of Mainframes Interview Questions.
Post Reply
Omi
Registered Member
Posts: 10
Joined: Sat Apr 26, 2014 5:46 pm

Display the value of level-88.

Post by Omi »

Hi,

How can we display the value of a variable defined at level-88? Please help, I could not reply this question in the interview.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1896
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: Display the value of level-88.

Post by Robert Sample »

You cannot display the value of a level 88 since it never, under any circumstances, has a value. You display the value of the variable the level 88 is associated with. Level 88 are called conditionals in the Language Reference manual since they are not true variables. A variable can be used in MOVE, COMPUTE, and other statements while a level 88 can only be tested with the IF statement, or be set by using the SET statement.
Omi
Registered Member
Posts: 10
Joined: Sat Apr 26, 2014 5:46 pm

Re: Display the value of level-88.

Post by Omi »

Thank you so much Robert. I have used this answer in my recent interview.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Interview Questions.”