Read a flat file and write last but one (I have n records in a file I have to write n-1th) record in another flat file. Could you please provide me the code in COBOL?
Answer / mehak
open input file reversed
this will read file in reversed order
write 2 record
| Is This Answer Correct ? | 0 Yes | 0 No |
How many bytes S(8) comp field occupy and its maximum value?
In COBOL "BEFORE" advancing is there or not ?
How can you add a particular field/coloumn in copybook?
Write the code to count the sum of n natural numbers.
With in these three which one is the default one Call Reference, Call By Value, Call By Content.-Which one is default?
What is the LINKAGE SECTION used in COBOL?
study the following 01 A PIC 99V0 VALUE 5 01 B PIC 9V9 VALUE 6 01 C PIC 99V9 VALUE 2.5 01 D PIC 99 VALUE 3 COMPUTE A ROUNDED B C = A+B*C/D ON SIZE ERROR PERFORM PRINT-ERROR the comments of A.B.C after execution of the above statement are a.A=10 B=0 C=10 b.A=10 B=9.9 C=9.9 c.A=10 B=0 C=9.9 d.A=10 B=6 C=10
explain sorting techniques in cobol program?
give the examples for strings and unstrings in cobol
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
The order of precedence of arithmetic operators in an expression can be overridden with the use of (a) [] (b) () (c) {} (d) Any of the above
suppose a cobol programme A calling programme B,C and D. If C undergoes some change what if A,B,C,D need to be recompiled or only C nee to be recompliled.