Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is SET TO TRUE all about, anyway?

Answers were Sorted based on User's Feedback



What is SET TO TRUE all about, anyway?..

Answer / srivatsa

Set to True is used for 88 level condition data names.

Is This Answer Correct ?    6 Yes 0 No

What is SET TO TRUE all about, anyway?..

Answer / mahathiaz

In COBOL II the 88 levels can be set rather than moving
their associated values to the related data item.

Is This Answer Correct ?    5 Yes 0 No

What is SET TO TRUE all about, anyway?..

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

What is SET TO TRUE all about, anyway?..

Answer / sroul4

in addition to #3

Set to true means the value is of the variable is 1 and 0
if false.

Is This Answer Correct ?    3 Yes 0 No

What is SET TO TRUE all about, anyway?..

Answer / azharuddinsyed

'SET TO TRUE' is used to set the value of 88 level data items.

Example
-----------
05 ws-paper pic x(1).
88 ws-hindu value 'y'.
88 ws-toi value 'n'.

if set ws-hindu to true, then ws-paper contains value 'y'
This is same as move 'y' to ws-paper
if set ws-toi to true, then ws-paper contains value 'n'
This is same as move 'n' to ws-paper

Please correct me if i am wrong.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More COBOL Interview Questions

if you code move high-values to variable,can you move it into numeric variable or alphanumeric variable?

1 Answers   Patni,


What compiler option would you use for dynamic linking?

2 Answers  


Difference between file status codes 02 and 22.... since both are for duplicate key detection.

1 Answers  


How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length

3 Answers   TCS,


Under which scenario you would go for a static call as opposed to dynamic call?

5 Answers   TCS,


soc-7 is a bad data,invalid data. when ever we are moving the alphabets in the position of numeric then we got this abend. so my question is if o1 ws-data pic 9(1) value passing the alphabet some x. then we got soc-7 or not? i want clarification ?

7 Answers   CitiGroup, IBM,


SIGN TRAILING SEPARATE field occupy ?

3 Answers  


When would you use in-line perform?

2 Answers  


State the various causes of s0c1, s0c5 and s0c7.

0 Answers  


I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?

5 Answers  


I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?

1 Answers  


input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.

1 Answers  


Categories