Page 1 of 1

Varchar equivalent in cobol code

PostPosted: Mon Jun 22, 2009 7:24 pm
by Nary
Hi,

I know that the VARCHAR equivalent in COBOL is splitted into length and text fields.
I wanted to know whether the two fields has to be declared only in 49 level or can i use any other level number?
If only 49, Please provide the explanation.


Thank you.
Nary

Re: Varchar equivalent in cobol code

PostPosted: Mon Jun 22, 2009 11:25 pm
by dick scherrer
Hello and welcome to the forum,

If only 49, Please provide the explanation.
As far as i'm aware it must be 49.

The reason is because that is what the developers chose. Similar to why 77s are 77 and nothing else. . . Just rules we have to live with. . . :|

Re: Varchar equivalent in cobol code

PostPosted: Wed Jun 24, 2009 11:06 am
by Nary
Ok.
Thanks a lot.