What are decleratives in COBOL ?
Answer / pavan
Declaratives provide special section that are executed when
an exceptional condition occurs. They must be grouped
together and coded at the beginning of procedure division
and the entire procedure division must be divided into
sections. The Declaratives start with a USE statement. The
entire group of declaratives is preceded by DECLARIVES and
followed by END DECLARITIVES in area A. The three types of
declaratives are Exception (when error occurs during file
handling), Debugging (to debug lines with 'D' coded in w-s
section) and Label (for EOF or beginning...) declaratives.
| Is This Answer Correct ? | 14 Yes | 3 No |
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
What does the IS NUMERIC clause establish ?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What is the maximum length of a field you can define using COMP-3?
4 Answers Complex System, Infosys,
What is the difference between a binary search and a sequential search what are the pertinent cobol?
What is ASKTIME, SUSPEND
what happens of we dont give time stamp in precompilation process
How to code fscode 10 in cobol program? Where yoy code in your pgm?give ans for the question.
I have a field with data type X(10). I want to perform arithmetic operation on this field? I tried doing it by moving the value into a numeric field. but it didn't work out. I am getting a S0C7 abend. Pls let me know if there is any way of getting this done?
Can we change the password using ALTER? anyone tried and changed?
What rules are to be followed while using the corresponding options?
can we write paragraph in area B .....