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 Posted / 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 |
Post New Answer View All Answers
how do you reference the printer file formats from cobol programs
What is the use of intialize verb?
how to move the records from file to array table. give with code example
what are decleratives in cobol?
Explain the configuration section of a cobol program with examples of syntax.
Which is not true about evaluate statement
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is a scope terminator give example?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
Explain how you can characterize tables in cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
Discuss about changing dataset name in proc.
What is inspect in cobol ?