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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Why occurs cannot be used in 01 level in COBOL?

719


Write some characteristics of cobol as means of business language.

620


What are the different types of condition in cobol and write their forms.

659


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

1615


What are the different rules to perform a Search?

619






What are the cobol coding sheets?

665


how to access the file from prodution from changeman tool and to submit a file to production

6686


There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.

934


What is the difference between structured cobol programming and object alternativelyiented cobol?

756


What rules are followed by the search verb.

638


How many sections are there in data division in COBOL?

679


how to move the records from file to array table. give with code example

2221


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

717


What is the difference between PIC 9.99 and PIC9v99?

782


how do you reference the variable block file formats from cobol programs

688