Suppose i want to declare a binary comp fild of 7 byte .how
to write?
Answer Posted / suv
If your question is like this:::
Suppose i want to declare a binary COMP field of storage 7
bytes .how
to write?
Answer is:
PIC S9(14) COMP.
storage byte required by COMP field will = half of the
digit specified in the PIC clause.
Just an info....
storage byte required by COMP3 field will = ( half of the
digit specified in the PIC clause)+1
Please correct me if I am wrong.
| Is This Answer Correct ? | 6 Yes | 6 No |
Post New Answer View All Answers
How to remove 2 duplicate records and copy only one using job control language?
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
What is amode(31)
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
What is static and dynamic call in cobol?
how to refer the data field?
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.
How can you get the ksds file records into your cobol program?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
How to print 10 to 1 if the input have only 10 digit number?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Give some examples of command terminators?
Write down the divisions of cobol program?
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.
Which is not true about evaluate statement