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 |
Is it possible to mutliply a comp variable with an comp-3 variable. Will there be any error if i do it?
How is sign stored in a COMP field ?
In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference
WT R TECHNICAL MAINFRAME QUESTION ASKED IIN ANJANASOFTEARE??
Syntax for JCLLIB & JOBLIB???
I have a PS file and I would like to manually insert the binary values (like a COMP format) into the file. How can i do that? the way do in COMP-3 format.. suppose i want to insert -12345 in to file in comp-3 format. simply we can open a file in edit mode and do HEX-ON and insert the value . SEE BELOW-- 135 24D in 3 bytes - this will be COMP-3 presenatation of -12345.
what is search and searchall?what is the diffrence between them?give an best example?
wht is the diff b/w if and evaluate stmts ?
How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp
Mention the guidelines to write a structured cobol program?
What are the different data types in cobol?
there is a file whose ORGANISATION is INDEXED.you want to read the records from the file in RANDOM fashion as well as sequentially.then which of the access mode would you specify? a.SEQUENTIAL b.RANDOM c.DYNAMIC D.ACCESS MODE has nothing to do with it