How can i write a comp-3 variable into a sequential file
should i declara the field in the file description as comp-
3?
Answer / suresh kumar
Hi,
Define the field, which u r going to write, as Comp-3 in
the File description and write it to the output file.
Thanks,
Suresh
Is This Answer Correct ? | 5 Yes | 5 No |
What is the LINKAGE SECTION used in COBOL?
perform I from 0 by 1 until I=5?How maney times it will executes
wirte a pgm in using files in which we hav 10 ,20,30 40...100 records in inputfile and i want them to be send to outputfile in reverse order. PLZ HELP ME OUT .........THIS IS A RECENT QUESTION IN IGATE..
What is the meaning of 'Eject' verb in cobol?
How can you pass values from COBOL program to non-COBOL programs?
How to resolve the soc4 and soc7 errors?
What are the different types of condition in cobol and write their forms.
what is call by value and call by reference ?
3 Answers Infosys, ITC Indian Tobacco Company,
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
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
input:- 12233344445555566666... output:- 1=1,2=4,3=9... Here firstno i.e 1 should be displayed and after that the alikeno.s should be added n displayed.i.e 2+2=4 like tat it goeson.
)what is retrieve?