How can you add a particular field/coloumn in copybook?
Answer Posted / dinesh rathod
You need to modify the underlying data file to match your file definition in COBOL. One way to do so would be to define a line of output exactly like what lines of your data look like now, but with an extra Pic x(10) on the end of it. You would then read in your data line by line, and output it to a new location
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
how can i see junk values in dclgen or in hostvariable of comp ?
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
What is a report item?
Discuss about changing dataset name in proc.
what is search and searchall?what is the diffrence between them?give an best example?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How to fetch 1000 error records from VSAM file(Eg: 1000000 records present) while getting SOC7 abend ?
Difference between array and sub-script ?
What are literals?
Define static linking and dynamic linking.
What is amode(31)
How do we get current date from system with century in COBOL?
Can we change the password using ALTER? anyone tried and changed?
Which mode is used to operate the sequential file?