What is the need of using comp field in COBOL

Questions by shrikant.gadag

Showing Answers 1 - 6 of 6 Answers

Avinash Sharma

  • Apr 10th, 2007
 

We  use comp field in cobol because when we want to store the data in binary form we use comp and the sign is placed in rightmost bit. c is used for +ve sign and d is used for -ve sign.

  Was this answer useful?  Yes

mf.vannan

  • Dec 22nd, 2009
 

1. When we want to store the datas in BINARY format.
2. When we are receving the datas from the JCL.

Regds,
Rasipuram ManiVannan M

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions