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 |
What rules are to be followed while using the corresponding options?
Can we move X(9) to 9(9). If yes what are the ways for doing this?
wht do u mean by (*,intrdr) wht is * used for ?
What is the maximum length of a field you can define using COMP-3 in COBOL?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.
If we use GO BACK instead of STOP RUN in cobol?
what is linkcard in cobol?
) How do u handle errors in BMS macro
can u plz expain me how to declare dynamic array? what is the meaning of depending on clause in dynamic array?
can we use reference modification an arry.
I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?