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

Are you comfortable in cobol or jcl?

0 Answers  


What do you understand by passing by reference and passing by content?

1 Answers  


What is the difference between a binary search and a sequential search what are the pertinent cobol?

0 Answers  


What are decleratives in COBOL ?

1 Answers   Xansa,


The disposition parameter in the jcl is share ( DISP+SHR ) and the program opens file in extend mode what will happen?

6 Answers   Cognizant,


What is the difference between PIC 9.99 and 9v99 in COBOL?

0 Answers   SwanSoft Technologies,


write a program to eliminate duplicate records in a input file and send them to output file.

2 Answers   IBM,


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,


What is XDC ?

3 Answers   Cap Gemini, IBM,


Why do we use COMP-3 variables for computation, when we know that they are non displayable fields and require additional MOVE to numeric field before we populate it in output Reports?

1 Answers   Accenture,


How to read records from flat file in reverse order through COBOL program?

14 Answers   Accenture, Broadridge, IBM, MAT, Polaris, SPIC, Syntel, TCS, Wipro,


How do u debug a S0C7 abend? (aswered till we get the field which caused that) After knowing the field which caused that how do u know the record which caused that if it is in production env? (dumb) Ok let us assume that we got to know that 100th record caused that and I wanted to skip only 100th record from the file and process from 101th. How to do that in JCL using SORT? (tried with STOPAFT but ended up dumb when he said smthing else is ther)

3 Answers   IBM,


Categories