Ze'ev Atlas wrote:

>Obviously, I know that and I realized that the issue is integral boundaries!
>So I resolved it by adding a dummy two bytes variable in the end of each pair:

>10 A PIC 9(9) COMP-5.

What are you doing to ensure that A starts on a full word? In other words, what 
is declared before it and ending of course in a full word boundary?

>10 B PIC 9(4) COMP-5.
>10 FILLER PIC XX.    <=== compensating for the integral boundary of the next 
>pair

Hmmm, I need to compile a sample program and see for myself the layout.

> ... but COBOL and C communicate like a pair of newlyweds once this was 
> resolved.

Good analogy, just be careful of a divorce during honeymoon! ;-)

I'm glad you solved your problem. Does that means all your questions in two 
threads this month are now resolved?

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to