Skip to Content
Custom Search

Why VARCHAR item in COBOL must be defined at 49 level?

1 reply [Last post]
Anonymous

 

I have noticed that to use a varchar data in a cobol db2 program the length and text part of varchar must be defined at level 49.
 
But I really could not understand why we have this limitation? 
 
Seeking for an explanation
"; ; ; ;
Sponsored Listing
Anonymous
The Level 49 structure

The Level 49 structure contains two fields. 
one to contain the data, and one to contain the length of the data

If not declared in 49 then it can issues

This is the rule for converting varchar in Cobol

Click the +1 button  below to share it with your friends and colleagues

 

Share this if you liked it!

 

Disclaimer



Who's online

There are currently 0 users and 18 guests online.
Dr. Radut | forum