what is the use of comp2 ? where can we use it with example ?
Answer Posted / srinivas yadav
It is used to reduce the Momery space.
comp2:
1)The data stored in the form of Hexa-decimal format.
2)The no. of bytes stored as s9(1)to s9(18)is 8 bytes of
memory.
3)It takes more precession values.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How do we get current date from system with century in COBOL?
What is perform what is varying?
Can a Search can be done on a table with or without Index?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Difference between array and sub-script ?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
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.
What is rmode(any) ?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Write a program to enter and display the names of students in a class using the occurs clause.
What is a SSRANGE and NOSSRANGE?
How do get the result of your program directly on your pc?
Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.