What is the difference between comp and comp-3 usage?
Explain other COBOL usage?s.
Answer Posted / sultana
Usage Clause :COMP
Binary representation of data item.
PIC clause can contain S and 9 only.
S9(01) – S9(04) Half word.
S9(05) – S9(09) Full word.
S9(10) - S9(18) Double word.
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What are the different rules for performing sort operation?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
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
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the difference between perform … with test after and perform … with test before?
Explain how to differentiate call by context by comparing it to other calls?
Define static linking and dynamic linking.
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
State the various causes of s0c1, s0c5 and s0c7.
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
What is report-item in COBOL?
What is the difference between comp and comp-3?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Write a program to enter and display the names of students in a class using the occurs clause.
What is the usage of comp fields in cobol?