How should COBOL programs handle DB2 BINARY columns?

OS/VS COBOL, COBOL II, Enterprise COBOL for z/OS. OpenCOBOL and OOCobol.
arguttypype
New Member
Posts: 1
Joined: Sun Aug 25, 2013 1:49 am

How should COBOL programs handle DB2 BINARY columns?

Post by arguttypype »

When working with DB2 tables that include BINARY columns what is the safe way to define and move data in COBOL without truncation or misinterpretation?
 
User avatar
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 855
Joined: Wed Sep 11, 2013 3:57 pm

Re: How should COBOL programs handle DB2 BINARY columns?

Post by enrico-sorichetti »

run the DCLGEN db2 utility that will produce the cobol declarations corresponding to the db2 table
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Post Reply Previous topicNext topic

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “IBM COBOL, GnuCOBOL (OpenCOBOL), OOCobol.”