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
What is a SSRANGE and NOSSRANGE?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
What is the difference between comp and comp-3 usage?
Define cobol?
Can a Search can be done on a table with or without Index?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is amode(24)?
Explain how you can characterize tables in cobol?
Explain how to differentiate call by context by comparing it to other calls?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
Why occurs cannot be used in 01 level in COBOL?
example for sub strings ? and refernce modifications whit output pls
How do u write test cases?