How can you declare the file ?
Answer / g.naveen
ENVIRONMENT DIVISION.
FILE-CONTROL.
SELECT FILE1 ASSIGN TO DISK1.
| Is This Answer Correct ? | 12 Yes | 0 No |
If there are two files one with 100 records and other with 101 records. we have to find out the one record that is the odd man out . What are the steps to do it
Write the code to count the sum of n natural numbers.
What is the purpose of Identification Division?
In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference
What does the initialize statement do ?
When search all is used in cobol program without sorted input data?
6 Answers CGI, Principal Finance,
input:-AABBCCDDEFGHIIJ output:- ABCDEFGHIJ Here in input we hav the duplicate characters i.e repeating characters.SO we should eliminate the duplicate characters and should display the output in ascending order.
If by mistake we MOVE a working storage variable into LINKAGE area. What will happen??
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
Write a program to enter and display the names of students in a class using the occurs clause.
how do you reference the fixed unblock file formats from cobol programs
Size of a column has been changed in DB2 table (Suppose it was of 5 characters and later changed to 4 characters) and forgot to change the DCLGEN in COBOL program, what will happen during the execution of code? If the program Abends then what will be the error? If it doesn't abend then hpw the error can be catched?