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
Why occurs cannot be used in 01 level in COBOL?
Write some characteristics of cobol as means of business language.
What are the different types of condition in cobol and write their forms.
1.give the details about WHEN OTHER. 2. how many form are available in evaluate.
What are the different rules to perform a Search?
What are the cobol coding sheets?
how to access the file from prodution from changeman tool and to submit a file to production
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.
What is the difference between structured cobol programming and object alternativelyiented cobol?
What rules are followed by the search verb.
How many sections are there in data division in COBOL?
how to move the records from file to array table. give with code example
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
What is the difference between PIC 9.99 and PIC9v99?
how do you reference the variable block file formats from cobol programs