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

Why did you choose to work with ibm mainframe cobol programming?

631


I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue

1931


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

684


Whats the difference between search & search ALL?

5264


What is amode(31)

724






which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1024


How can you get the ksds file records into your cobol program?

644


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

932


What is cobol?

744


) How do u handle errors in BMS macro?

1427


What is a SSRANGE and NOSSRANGE?

820


how do you reference the variable block file formats from cobol programs

686


What is the difference between comp and comp-3?

700


What is the difference between Global and External Variables?

666


What is link edit in cobol?

772