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
When is inspect verb is used in cobol?
What is rmode(any) ?
What is the local-storage section?
how can i see junk values in dclgen or in hostvariable of comp ?
What are the access modes of START statement?
What is the difference between external and global variables in COBOL?
What is the usage of comp fields in cobol?
What is the difference between Global and External Variables?
input 1 input2 ouput1 output2 output 3 1 re 300 1 re 200 1 re 300 3 rc 500 1 re 200 2 rr 400 1 re 300 2 rr 400 1 rc 400 3 rc 500 1 rc 400 2 rr 700 2 rr 700 5 tt 900 5 tt 900 2 inputs r in flat file and output 1 is matched records,ouptput2 is unmatched of input1,output3 is unmatched of input2! how vl u get the output files using sequential order and to check with each and every records! let me know the procedure division ?
In COBOL programming, what is PERFORM? What is VARYING?
Can a Search can be done on a table with or without Index?
For rewrite, why is it mandatory that file needs to be opened?
how do you reference the ksds vsam file formats from cobol programs
what are decleratives in cobol?
example for sub strings ? and refernce modifications whit output pls