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
Can we change the password using ALTER? anyone tried and changed?
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.
How arrays can be defined in COBOL?
What the difference is between continue and next sentence?
What is the difference between PIC 9.99 and 9v99 in COBOL?
What is the use of intialize verb?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
how to access the file from prodution from changeman tool and to submit a file to production
What is the difference between comp and comp-3 usage?
What is amode(24), amode(31), rmode(24) and rmode(any) (applicable to only mvsesa enterprise server) ?
What are the rules of the move verb?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
EXPLAIN MAIN FRAME TESTING PROCESS...HOW TO FIX THE MAINFRAME BUGS?
How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?