consider the fallowing
77 stat pic 9.
88 male value 1,2,3.
88 female value 4 through7.
what will be the value of stat
a) set male to true.
b) set female to true.
Answers were Sorted based on User's Feedback
Answer / nitin nelson
i think that the answer for
a) is 1
b) is 4
only the first values will be taken..
plz check and varify
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / ramu
I Think none of the above was correct. because 77 was
independent level number,can't be associated with any other
level numbers.
Correct me if i am wrong
Is This Answer Correct ? | 4 Yes | 1 No |
Answer / madhu
both the statements cannot be true when 88 level no is
used.so may be the 1st or the second might be true.if male
is set to be true then value of stat is between 1-3 else 4-7
Is This Answer Correct ? | 2 Yes | 1 No |
Answer / kingmanish
Ramu has put me in serious doubt.
Can someone clarify this 77 lvel thing??
Otherwise I think if male is set to true stat will have any
value between 1-3. most probably 3 as it is the last value.
Similarly for female set to true Stat should take value of 7
Is This Answer Correct ? | 0 Yes | 0 No |
how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0
Mention the guidelines to write a structured cobol program?
What do you do to resolve SOC-7 error?
What compiler option would you use for dynamic linking?
what is s013u000 for?
What is link edit in cobol?
What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?
How to recover a deleted source physical file from library?
wht is the use of evalute verb ? how do u declare recfm in cobol and jcl ?
what are the isolation levels and where we use it in the db2 program
What are the different data types in cobol?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?