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 "Call by content" and "call by reference"?
How is sign stored in Packed Decimal fields and Zoned Decimal fields?
01 text-data pic x(100). move 'xyzdbfrjjg u' to text-data. how to find the value of last index of text-data?
How to print 10 to 1 if the input have only 10 digit number?
How to resolve the soc4 and soc7 errors?
What are differences between COBOL and java ? why we are giving more preference to COBOL ?
What will happen if we generate GDG (+2) version without generating (+1) version?
how to transfer the file from pc to mainframe??
What are all the divisions of a COBOL program?
What is SDSF?
we can use set true for condition names.. similarly can we code set to false in cobol pgm? will it work?
Why we should use cursor ?