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

Why did you choose to work with ibm mainframe cobol programming?

621


Write a program to enter and display the names of students in a class using the occurs clause.

640


how do you reference the ksds vsam file formats from cobol programs

645


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2713


What is the use of intialize verb?

735






How do we get current date from system with century in COBOL?

792


HOw can I get the negative sign while deduct high value from low value

1779


What is rmode(24)

671


how do you reference the fixed unblock file formats from cobol programs

698


Explain how to differentiate call by context by comparing it to other calls?

677


What kind of error is trapped by on size error option?

730


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

762


Are you comfortable in cobol or jcl?

633


what is the use of outrecord?

1761


What is rmode(any) ?

676