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...


hi dudes.....can any one help me.....
what is SET TO TRUE all about,anyway?



hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?..

Answer / sasa

Level 88 variables which are conditional variables, will
have values which will be either true or false.
Like if you have condition that at the end of file set a
flag to true then you can declare level 88 variable which
will be set to true or will have a value 'Y'(declared value
for the variable) as soon as the file does not have any more
records.

05 WS-FLAG
88 WS-END_OF_FIlE Value 'Y'
88 WS-NOT_END_OF_FILE Value 'N'

Here when you say set WS-FLAG to true then it will
automatically get value 'Y', which shows end of the file.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More COBOL Interview Questions

how many times PARA-A is performed : PERFORM PARA-A VARYING TIMES-COUNTER FROM 1 BY 1 UNTIL TIMES-COUNTER >0 PARA-A MOVE P TO Q MOVE H TO TIMES COUNTER a.10 b.1 c.11 d.0

4 Answers   TCS,


i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?

2 Answers  


where will we code call by content and call by reference dude pls reply soon ?

2 Answers  


level number 77 is used to define a)group data b)elementary data c)redefine d)none

8 Answers   TCS,


have in 100 records in a file i want to move only matched records to one output_file1 and nonmathed records are moved to another output_file2 ... any one can provide logic code

3 Answers  


How do u write test cases?

0 Answers   IBM,


how many bytes do SPPPP999 will store?

18 Answers  


we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?

1 Answers  


How can we pass data from cobol to JCl?

7 Answers   ADP, Amdocs, IBM,


I have a occurs for 100 times but it has executed 101 time what could be the reason?

4 Answers  


wht is packed decimal in cobol

2 Answers  


Can you please let me know the centre name of INS certification in Kolkata.

0 Answers  


Categories