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

Can we access the a[0] in the array ?

6 Answers   DCL, IBM,


is it possible to declare index in cobol program? if it is not why its tell me pls

3 Answers  


In which area will you utilize 88 level items in cobol?

0 Answers  


What is "Call by content" and "call by reference"?

4 Answers   ADP, Syntel,


study the following 01 A PIC 99V0 VALUE 5 01 B PIC 9V9 VALUE 6 01 C PIC 99V9 VALUE 2.5 01 D PIC 99 VALUE 3 COMPUTE A ROUNDED B C = A+B*C/D ON SIZE ERROR PERFORM PRINT-ERROR the comments of A.B.C after execution of the above statement are a.A=10 B=0 C=10 b.A=10 B=9.9 C=9.9 c.A=10 B=0 C=9.9 d.A=10 B=6 C=10

4 Answers   TCS,


What is the difference between static call & Dynamic call?

2 Answers   CSC, TCS,


How many bytes S(8) comp field occupy and its maximum value?

0 Answers  


what will happen if pass values more than 100 using PARM parameter?

1 Answers  


I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.

10 Answers   Mascon,


What is IMPACT analysis?

2 Answers   IBM,


How to define variable 9(20) in COBOL, because compiler does not allow us to declare variables with Pic 9(18). Can anyone please let me know the answer... I know one answer to this question which is to use Compiler option Arith (Extend) during Compilation. It extends the maximum limit to 9(32)..Just wanted to know if there is any other way to extend this?

4 Answers   CSC, TCS,


What does EXIT do ?

3 Answers   Deloitte,


Categories