What are declaratives and what are their uses in cobol?



What are declaratives and what are their uses in cobol?..

Answer / Nilesh Kumar Pandey

In COBOL, declaratives are statements that define the characteristics of variables, files, and other program elements. They provide information about how data is stored, organized, and processed during program execution. Some common declarative statements include WORKING-STORAGE SECTION, 01, 88, and REDEFINES. Declaratives are used to define the structure of data, specify file organization, and manage program variables.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is the point of the REPLACING option of a copy statement?

3 Answers  


What is an explicit scope terminator?

3 Answers  


how to know that the file has 300 records how to acess it?

0 Answers   Hewitt, TCS,


hi dudes.....can any one help me..... what is SET TO TRUE all about,anyway?

1 Answers  


I have a files containing both duplicate and non-duplicate records.The file is already sorted by a key.I want to determine those records that are duplicate and records that are non-duplicate.If duplicate the record is move to a duplicate file and if non-duplicate that will be move to valid file.thank you

1 Answers  


can any one help -s806

6 Answers  


what is label record is standard or omitted in file description of data division?

3 Answers   IBM, TCS,


How do u initialize an array?

2 Answers   CTS,


how we rectify soc7 and soc4 errors in project?

1 Answers   Anaxis, TCS,


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1 Answers  


How do u sort the table for Search ALL? Is it only using ASCENDING KEY IS statement in occurs clause? If the data is input in non ascending order, will the ASC KEY IS automatically sort the data? or will it throw compile time error?

1 Answers   CTS,


which certifications r 4 cobol,jcl,db2,cics what is format of xam n what is importance of these certifications... plz post answer only if u r sure... thanks

1 Answers  


Categories