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



Unicenter CA-Easytrieve Plus Report Generator: CA's information retrieval and data management tool

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

Postby rakesh086 » Tue Jan 31, 2012 4:26 pm

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.
rakesh086
 
Posts: 13
Joined: Fri Jan 06, 2012 9:21 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby BillyBoyo » Tue Jan 31, 2012 8:46 pm

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?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

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

Postby rakesh086 » Wed Feb 01, 2012 10:36 am

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.
rakesh086
 
Posts: 13
Joined: Fri Jan 06, 2012 9:21 pm
Has thanked: 0 time
Been thanked: 0 time

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

Postby BillyBoyo » Wed Feb 01, 2012 12:58 pm

How do you want to convert them? What to?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

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

Postby steve-myers » Thu Feb 02, 2012 10:58 am

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.
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

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

Postby BillyBoyo » Thu Feb 02, 2012 1:08 pm

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...
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times


Return to CA-Easytrieve

 


  • Related topics
    Replies
    Views
    Last post