where will u code file status ?

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


Please Help Members By Posting Answers For Below Questions

What is static and dynamic call in cobol?

677


Mention the guidelines to write a structured cobol program?

704


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

6887


how to refer the data field?

1902


IF I mention stop run in CICS what happens?

1986






What is the compute verb? How is it used?

749


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

897


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

874


What are the different rules for performing sort operation?

851


How do u write test cases?

1717


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

844


How to print 10 to 1 if the input have only 10 digit number?

918


What is Pic 9v99 Indicates in COBOL?

837


How to traceback if I am getting SOC7 or SOC4 abend? List down the steps

4950


how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)

2022