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



Mike wrote:

Is this documentation correct?
http://wiki.midrange.com/index.php/Program_Status_Data_Structure#Here_is_a_Sample_Program_Status_Data_Structure_in_RPG_IV_Style
:

I am not getting expected results in the User field. It has a number instead
of my username.


For any data structure where the exact position is important, I would
never depend on getting the exact size of filler fields correct.  I
would use a length notation and OVERLAY(psds:pos) to define every
subfield explicitly with exactly the same information that is in the
documentation.

     Dpsds            sds                  
     D pgmname                       10a     overlay(psds:1)   
     D pgmsts                         5s 0   overlay(psds:11)
     D pgmprvsts                      5s 0   overlay(psds:16)
     D pgmsrcstmt                     8a     overlay(psds:21)
     etc


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.