What are different file OPEN modes available in COBOL?
Answers were Sorted based on User's Feedback
In Sequential File Organization, File Opening Modes are
Output,I-O, input,extend.
In Indexed File Orgainsation, File Opening Modes are
Output,I-O, input
Is This Answer Correct ? | 13 Yes | 4 No |
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
If my file contains 100,000 records and job abended at 55,000th records processing then how can i restart job from that record onward by ignoring that record. I can not edit the file as file size is big and it is getting browse substituted?
how can i see junk values in dclgen or in hostvariable of comp ?
Please let me know how the Eject verb works for page break.. I want to know the code, how it is used.
Can we move X(9) to 9(9). If yes what are the ways for doing this?
i have the following varibles in the working storage 05 ws-A PIC X(30) VALUE 'ABCDEFGHIJKLMNOPQRESTUVWXYZ ' 05 WS-B REDEFINES WS-A 10 WS-B1 PIC X(10). 10 WS-B2 PIC 9(10). 10 WS-B3 PIC X(10). If I Display B1, B2 and B3 respectively, what is the value displayed in B2
in cobol main pgm is calling sub pgm but sub pgm does not exists , what abend i get if submit the job?
I have one column say 'X' defined as VARCHAR Can anyone tell me What are the different ways to update this column thru COBOL-DB2 program?
What is R-mode and A-mode?
Hi All, Can anyone tell me how we can MOVE value of a X(19) variable to a S9(17) COMP-3 variable? Answer with an Example will be of great help.
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 a program to concert an Indexed file into Sequential file?