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 are 77 levels used for?
Explain how you can characterize tables in cobol?
What is report-item in COBOL?
Difference between array and sub-script ?
HOw can I get the negative sign while deduct high value from low value
What is the difference between comp and comp-3?
Differentiate between structured cobol programming and object-oriented cobol programming.
What is the difference between PIC 9.99 and PIC9v99?
In COBOL, what is the different between index and subscript?
Mention the guidelines to write a structured cobol program?
Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.
what is search and searchall?what is the diffrence between them?give an best example?
Give some examples of command terminators?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Write some characteristics of cobol as means of business language.