Answer Posted / rama
we will code file status in file-control of environment
division.
file-control.
SELECT infile ASSIGN TO ws-dd-name
FILE STATUS IS ws-fs-code.
and ws-fs-code has to coded in working-storage section.
if i'm wrong plz let me know...
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
How do you reference the following file formats from cobol programs?
How do we get current date from system with century in COBOL?
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
Name some of the examples of COBOl 11?
What is static and dynamic call in cobol?
Have you used comp and comp-3 in your project? And how?
what happens if parmparameter passes zero bytes to the program
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.
Define cobol?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Why occurs cannot be used in 01 level in COBOL?
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.