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 |
What is the default value of DISP for temp datasets
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
i have mainprogram and subgram...if i compile mainprogram without stop run..what will u get in compilation time?
01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?
how will u pass dadta to cobol+db2 program...?
HOW TO MOVE REDEFINES CLAUSE FROM INPUT TO OUTPUT ?
What are the two search techniques ?
what is ASRA, AEY9?
The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above
We are using the searching a table which is indexed, once the key is found, how can we get the occurance at which the key was found.
record length in spool?
IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.