1834407 Members
1473 Online
110067 Solutions
New Discussion

cobol to c++ datatypes

 
faropolo
New Member

cobol to c++ datatypes

how can i convert datatypes from cobol to c++? Of course i look for on the net but i just found some types and specialy comp-3 there isn't any explication about convert this type to a type from c++. Thx about any advise!!!
1 REPLY 1
Vicente Sanchez_3
Respected Contributor

Re: cobol to c++ datatypes

Hi,

I'm watching in a manual the following conversion types:

S9-comp/S9(4)-comp to short int

S9(5)-comp/S9(9)-comp to int

Picture X to char
Picture X(n) to char(n)

HTH, Vicente.