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
How do you reference the fixed block file formats from cobol programs
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
Why did you choose to work with ibm mainframe cobol programming?
What is length is cobol?
Which Search verb is equivalent to PERFORM…VARYING?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
What is the difference between PIC 9.99 and PIC9v99?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Can we change the password using ALTER? anyone tried and changed?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is an in line perform? When would you use it? Anything else you wish to say about it.
How do define dynamic array in cobol.