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.

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2727


IF I mention stop run in CICS what happens?

1891


Which Search verb is equivalent to PERFORM…VARYING?

679


Which is not true about evaluate statement

1567


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17026






How are the next sentence and continue different from each other?

760


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

1949


How arrays can be defined in COBOL?

661


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2718


how do you define single dimensional array and multidimensional array in your cobol?

667


what is the use of outrecord?

1768


What is inspect in cobol ?

797


What is cobol?

740


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

639


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5370