What is SET TO TRUE all about, anyway?

Answer Posted / mujib khan

condition name condition is one of the condition statement..
others are
relative,sign,class,compound.

88 level no can be used as condition name
eg:
01 a pic x(1).
88 std pic value 'a' 'b' 'c'.

here in procedure division if we code

set std to true.

means every time it will return a thts the true value.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

HOw can I get the negative sign while deduct high value from low value

1779


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

812


What are the various section in data division and briefly explain them.

683


Name the divisions, which are available in a cobol program?

675


EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?

2048






How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

687


What is length is cobol?

639


In COBOL programming, what is PERFORM? What is VARYING?

665


how do you reference the printer file formats from cobol programs

647


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

1796


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

5663


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2091


How do you differentiate between cobol and cobol-ii?

646


What is comp-1 and comp-2?

754


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

666