× 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.



I have this program that prints three columns of data with notes at the bottom after all column data has been printed.  The notes need to come out in sequence by date/time....Problem is that due to the way I have to load and process the DS in order to make the columns come out right, the notes get out of sequence (ie - a note for col. 1 may print then one for column 2 then another for column 1 and so on).  What I need to do is sort the DS by date/time before printing the notes.  I'm having trouble with this. (probably has something to do with lack of sleep!)

Any suggestions?  BTW - this DS is loaded with a fetch (embedded SQL).  Here's a snippet of the DS.

Thanks for any help.  ( currently on V5R4)

d s7Data          ds                  Occurs(1000)        
d  s7MIFLAG                           Like(IOV3MIFLAG )   
d  s7Date                                  Like(IOV3EDATE  )   
d  s7Time                                 Like(IOV3ETIMEN )   
d  s7HSDATE                          Like(IOV3HSDATE )   
d  s7HSTIMEN                        Like(IOV3HSTIMEN)   
d  s7Seq                                  Like(IOV3SEQ    )   
d  s7Code                                Like(IOV3CODE   )   
d  s7Value                               Like(IOV3VALUE  )   
d  s7Note                                Like(IOV3CHDRCMT)   
d  s7iNote                               Like(IOV3DTLCMT )   
d  s7MIREAS                         Like(IOV3MIREAS )   
d  s7MICOMM                       Like(IOV3MICOMM )   
d  s7RscCd                            Like(IOV3EUSER  )   
d  s7EUSER                           Like(IOV3EUSER  )   
d  s7MIDATE                         Like(IOV3MIDATE )   
d  s7MITIME                         Like(IOV3MITIME )   
 
 
Warmest Regards,

Richard Reeve

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.