× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Ola Peter,

are you sure a record was read?  if not, the data would be blanks (hex 40).

it's also a good idea to put an INZ keyword on the DS definition spec.
This will intialize the numerics in your ds to zero on pgm initialization,
so that you won't run into data decimal problems later in your pgm.

hth,

Rick

-----original message--------
Buenos días!

I have a situation ... and I know is so simple... well, here it goes.

I have a file:
FIMHistz5  IF   E           K DISK

And a data structure pointing to it:
DDS_Hist        e ds                  extname(imhistz5)

I do access the file:
C     IM_Key        setll     IMHistz5
C                   Dou       *In80
C     IM_Key        Reade     IMHistz5

After I read the file, I try to display DS_Hist but instead of having data,
I
have garbage, like:



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.