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 |
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.
How to pass return codes from cobol to jcl?
What are the differences between COBOL and COBOL II?
Explain about different table spaces.
if we have a 10 steps how to override the 4th step in jcl?
How can i write a comp-3 variable into a sequential file should i declara the field in the file description as comp- 3?
What is cobol?
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.
what is the use of outrecord?
What guidelines should be followed to write a structured Cobol program?
What will happen if we move SPACES to numeric field and ZEROES to alphabetic field?
how to transfer the file from pc to mainframe??