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

How to pass return codes from cobol to jcl?

5 Answers  


What should be the sorting order for SEARCH ALL?

5 Answers  


What will happen if you code GO BACK instead of STOP RUN in a stand-alone COBOL program i.e. a program which is not calling any other program ?

3 Answers  


which one is the best of com and com-3.using of real time ?

7 Answers   Cap Gemini,


What is diff betn PS and ESDS file? What is the diffrent compiler options in cobol and there discription? What is retrive nth maximum salary from salary DB2 table. Can we redefine COM-3 variable with varchar variable?

4 Answers  


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

0 Answers  


What are decleratives in COBOL ?

1 Answers   Xansa,


what is srange and nosrange pls reply to ths question ?

2 Answers   L&T,


after udatingg first 110 rows, my job abends. now how do i change my cobol program so that when i restart the Job it will start updating from 111th row ( i.e in next run I di=ont want to update those 110 rows which are already been updated in the first run before job abend)

7 Answers   Allianz, Wipro,


What is a scope terminator? Give examples.

2 Answers  


Can 88 level variable be declared in FD section..?

1 Answers   Infosys,


What is the size of s9(19)comp3? explain

8 Answers  


Categories