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 do you reference the printer file formats from cobol programs
can we read records in a file from botom to top. if possible how can we read
what will happen if i give program name and member name as different? program runs successful or w'll abend?
what is a zoned decimal data type and how it will be stored?
What is amode(31)
what are the isolation levels and where we use it in the db2 program
Hi all, I have a following requirement to write the cobol program. I have to load the 129 variables from input sequential file which are in excel sheet to the cobol inernal table. and after loading into table i have to compare this data with the business file. here compare means controlling the data whether the format(numeric,alpha) is same in the business file and in the table??? i have the same data in input and business file. could anyone please give me any idea of the logic?// i have all the 129 different variables(129rows,1 column)is there .
I have a File that has duplicate records. I need only those records that occur more than thrice.?
What is IMPACT analysis?
should I use Go back in the main program ? Yes we can use Go back in main program as well.
Which of the following files can be OPENed in all the 4 modes? The four modes are INPUT, I-O, OUTPUT and EXTEND. (a) INDEXED (b) RELATIVE (c) SEQUENTIAL (d) All of the above
How to display the index.(displacement from an array)