Showing results for 
Search instead for 
Did you mean: 

COBOL comp-3 equivalent field

New Member

COBOL comp-3 equivalent field


I trigger an outbound transaction from mainframe to API gateway. In my COBOL I have a variable defined as comp-3 however there is no equal field definition in the swagger. Available options are float (comp-1), double (comp-2), integer (comp-5). But I don't find a decimal (comp-3) in below link. Can you advice if there is any equivalent for decimal (comp-3) format in API swagger definition?

Re: COBOL comp-3 equivalent field

OpenAPI does not have a built-in data type for "decimal", but some implementations handle decimal values as

type: number
format: decimal

See also:

Helen Kosova
SmartBear Documentation Team Lead
Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
New Here?
Join us and watch the welcome video: