How many divisions we have in Cobol ?
Answers were Sorted based on User's Feedback
Answer / g.naveen
There are 4 divisions in Cobol.
1) IDENTIFICATION DIVISION.
2) ENVIRONMENT DIVISION.
3) DATA DIVISION.
4) PROCEDURE DIVISION.
| Is This Answer Correct ? | 18 Yes | 0 No |
Answer / guest
there are four divisions in cobol
identification division
environment division
data division
procedure division
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / jagan
THEY ARE FOUR DIVISIONS IN COBOL.
IDENTIFICATION DIVISION(OR)ID DIVISION.
ENVIRONMENT DIVISION.
DATA DIVISION.
PROCEDURE DIVISION.
EVERY DIVISION FURTHER DIVIDED INTO SECTIONS.
EACH SECTION FURTHER DIVIDED INTO PARAGRAPHS.
EACH PARAGRAPH FURTHER DIVIDED INTO SENTENCES.
EACH SENTENCE FURTHER DIVIDED INTO STATEMENTS/COMMANDS/VERBS
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / chinmay
There are 4 divisions in cobol
1. Identification division
2. Environment division
3. data division
4. procedure divisiion
| Is This Answer Correct ? | 0 Yes | 0 No |
how do u indetify files succesfully executed or not ?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...
2 Answers ITC Indian Tobacco Company, PNP, TCS,
I have a seq file with different fields one field is address with pic x(50) as input in a cobol program. In address there is 'PUNE' at any different positions in the address field ( form 1 t0 50) . My requirement is select the fields with address 'PUNE' by using cobol. Please suggest
How do we get current date from system with century?
How do u debug a S0C7 abend? (aswered till we get the field which caused that) After knowing the field which caused that how do u know the record which caused that if it is in production env? (dumb) Ok let us assume that we got to know that 100th record caused that and I wanted to skip only 100th record from the file and process from 101th. How to do that in JCL using SORT? (tried with STOPAFT but ended up dumb when he said smthing else is ther)
I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please
in cobol main pgm is calling sub pgm but sub pgm does not exists , what abend i get if submit the job?
Describe the cobol database components?
u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?
What is comp-1 and comp-2?
What is level 66 used for ?
Can the OCCURS clause be at the 01 level?