Terri,

This is untested (don't have time to look it up) but in your C-specs I think
this should initialize the array (with packed elements):

C Z-ADD 0 Pac

Buzz

----------------------------------------------------------------------

message: 1
date: Thu, 2 Jun 2011 11:24:50 -0500
from: THarteau@xxxxxxxxxxxxxxxxxx
subject: Re: Array of Packed Blanks in Alpha Field

Hi,
I finally got it. I needed to define the arrays in the data
structure. This worked:
D Field 1098
D Alf 3 DIM(366)
D OVERLAY(Field:1)
D Pac 5P 2 DIM(366)
D OVERLAY(Field:1)

C EVAL Field = SCDLP
C EVAL X = 0
C*
C DOU X >= 366
C EVAL X = X + 1
C EVAL DLP(X) = Pac(X)
C ENDDO

<===================================================>

Terri Harteau
Felker Brothers Corporation
****************
"Do not follow where the path may lead. Go instead where there is no path
and leave a trail."
Ralph Waldo Emerson

****************








As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.