Why we are using comp and comp-3 in real time projects?
Answers were Sorted based on User's Feedback
Answer / harsha
Mostly COMP is used for counter fields or for Subscripts.
COMP-3 is mostly used in all sort of arithmatic
calculations.
| Is This Answer Correct ? | 9 Yes | 1 No |
How to concatenation one or more string?
How many divisions we have in Cobol ?
comp-3 field occupy?
Which mode is used to operate the sequential file?
what is the advantage of using redefines instead of delaring the variables ?
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?
What is perform what is varying?
what is jcl approach for programming?
I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Difference between next and continue clause