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 to remove 2 duplicate records and copy only one using job control language?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
How do get the result of your program directly on your pc?
How many sections are there in data division in COBOL?
what is the use of outrecord?
Write the code to count the sum of n natural numbers.
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
What is the difference between comp and comp-3?
What are the pertinent COBOL commands?
Difference between array and sub-script ?
What is the difference between PIC 9.99 and 9v99 in COBOL?
how do you define single dimensional array and multidimensional array in your cobol?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
Name the sections present in data division.
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.