how many divisions are there in cobol
Answers were Sorted based on User's Feedback
Answer / snehatechm
IDENTIFICATION DIVISION,ENVIRONMENT DIVISION,DATA
DIVISION,PROCEDURE DIVISION
Is This Answer Correct ? | 15 Yes | 0 No |
Answer / bhaskar r
IDENTIFICATION DIVISION
ENVIRONMENT DIVISION
DATA DIVISION
PROCEDURE DIVISION
Is This Answer Correct ? | 6 Yes | 1 No |
Answer / guest
four division are there .
1.identification division
2.environment division
3.data division
4.procedure division
Is This Answer Correct ? | 4 Yes | 0 No |
whats the difference between search and search all?
What are subroutines ? and how do we pass data to the sub routines?
How do you submit JCL via a Cobol program?
What are the ways you can generate a copybook?
what is the basic concept of mainframe? what knowledge is needed for learn this mainframe?
How to solve SOC7. I have the cobol coded as below 01 A PIC 9(4). 01 AIN REDEFINES A. 05 AIN1 PIC S9(4) 01 B PIC 9(4)V99. 01 BIN REDEFINES B. 05 BIN1 PIC S9(4)V99. PROCEDURE DIVISION. START-PARA. INITIALIZE A AIN B BIN. ACCEPT A B. DISPLAY 'VALUE OF A=' A. DISPLAY 'VALUE OF B=' B. DISPLAY 'VALUE OF BIN1=' BIN1. DISPLAY 'VALUE OF AIN1=' AIN1. COMPUTE AIN1 = BIN1 - AIN1. DISPLAY 'VALUE OF AIN1=' AIN1. When i'm executing this code i'm getting SOC7 for A = 12 & B=34. Can someone explain SDSF OUTPUT DISPLAY TCOM058R JOB05458 DSID 102 LINE 0 COLUMNS 02- 81 COMMAND INPUT ===> SCROLL ===> CSR ********************************* TOP OF DATA ********************************** VALUE OF A=12 VALUE OF B=34 VALUE OF BIN1=34 VALUE OF AIN1=12 CEE3207S The system detected a data exception (System Completion Code=0C7). From compile unit PROG1 at entry point PROG1 at statement 29 at compile +000004CE at address 00007ECE. Please address how to solve this issue Thanks in advance.
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Can anyone explain me CALL procedure in COBOL.Does it carries similarities like call by reference in C.
i declare a Table as OCCURS 2000 TIMES.If the input file has more than 2000 records will the COBOL program fail?
How many divisions we have in Cobol ?
How to retain the Duplicates in the one records?
what is a zoned decimal data type and how it will be stored?