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



consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will..

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

consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will..

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

consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will..

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

consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will..

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

consider the fallowing 77 stat pic 9. 88 male value 1,2,3. 88 female value 4 through7. what will..

Answer / nag(igate)

yes, the madhu answer is right..........

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More COBOL Interview Questions

I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.

2 Answers   L&T,


How to pass return codes from cobol to jcl?

5 Answers  


What are the differences between COBOL and COBOL II?

1 Answers   CSC,


Explain about different table spaces.

0 Answers  


if we have a 10 steps how to override the 4th step in jcl?

2 Answers   Hewitt,






How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?

1 Answers  


What is cobol?

0 Answers  


Hi................... I have records like this aaaa cccc bbbb And i want output like this bbbb cccc aaaa How can it possible ?. Note:Please make sure records are in unsorted order. somebody plzzz help me.

1 Answers  


what is the use of outrecord?

0 Answers  


What guidelines should be followed to write a structured Cobol program?

1 Answers  


What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?

2 Answers  


how to transfer the file from pc to mainframe??

3 Answers  


Categories