Page 1 of 1

Can we convert Cobol S9(18)V COMP into a Ezt Binary field?

PostPosted: Tue Jan 31, 2012 4:26 pm
by rakesh086
Can we convert Cobol S9(18)V COMP into a Ezt Binary field?

please help me out from this. Can we convert Cobol S9(18)V COMP into a Ezt Binary field?
If yes then how and if No then why,….. because It is possible to convert every cobol data type into a equivalent Ezt data types.

Re: Can we convert Cobol S9(18)V COMP into a Ezt Binary fiel

PostPosted: Tue Jan 31, 2012 8:46 pm
by BillyBoyo
Why do you have such a huge binary field? Why specifcy it with a V?

You can't define it as a single Easytrieve field, as the limit in bytes for a binary field is four (4). Check your manual to verify that the limit of four is still correct.

What do you want to do with it in Easytrieve?

Re: Can we convert Cobol S9(18)V COMP into a Ezt Binary fiel

PostPosted: Wed Feb 01, 2012 10:36 am
by rakesh086
Thanks Billy,

I need to use use my easytrieve program for conversion of fields. and in my cobol layout 2 fields define with S9(18)V comp which creats problem while converting my layout into EZT format. all fields converted properly but these filds creating problem.

Re: Can we convert Cobol S9(18)V COMP into a Ezt Binary fiel

PostPosted: Wed Feb 01, 2012 12:58 pm
by BillyBoyo
How do you want to convert them? What to?

Re: Can we convert Cobol S9(18)V COMP into a Ezt Binary fiel

PostPosted: Thu Feb 02, 2012 10:58 am
by steve-myers
He seemed to say he want to convert them to fixed point binary, but unless their value is less than 2,147,483,647 he can't do the conversion because that's the limit for a 32 bit signed binary value. Now if Easytrieve has been updated to support 64-bit binary data (9,223,372,036,854,775,807 max), he might make it work.

Re: Can we convert Cobol S9(18)V COMP into a Ezt Binary fiel

PostPosted: Thu Feb 02, 2012 1:08 pm
by BillyBoyo
TS seems to be AWOL.

I was thinking if they just want to go from input record to output record, just define it as eight characters.

If "something" has to be done to it, it depends on what the "something" is, and then silence reigned...