Answer Posted / rahul
ENVIRONMENT DIVISION.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT file-name ASSIGN TO dd-name.
FILE STATUS IS ws-file-status1.
ws-file-status1 need to define in WORKING STORAGE SECTION
with
PIC X(02)- For QSAM files
PIC X(03) for VSAM files.
| Is This Answer Correct ? | 10 Yes | 0 No |
Post New Answer View All Answers
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
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.
what are decleratives in cobol?
Explain about different table spaces.
What do you understand by psb and acb?
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
What are the pertinent COBOL commands?
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What is the local-storage section?
What is the compute verb? How is it used?
How can you get the ksds file records into your cobol program?
HOw can I get the negative sign while deduct high value from low value
what happens if parmparameter passes zero bytes to the program