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



If I want to convert this data structure from d-specs to free-form, which
of the examples, below, would be correct? I am having trouble with what
the Fixed Binary subfield should be; bindec() or int() and its length.

D FIDS01 DS
D STCSRP 370 371B 0
D SFPAGE 378 379B 0

==== Example #1 ====
dcl-ds FIDS01 ;
STCSRP bindec(4:0) pos(370) ;
SFPAGE bindec(4:0) pos(378) ;
end-ds;

==== Example #2 ====
dcl-ds FIDS01 ;
STCSRP bindec(9:0) pos(370) ;
SFPAGE bindec(9:0) pos(378) ;
end-ds;

==== Example #3 ====
dcl-ds FIDS01 ;
STCSRP int(10) pos(370) ;
SFPAGE int(10) pos(378) ;
end-ds;

Thank you

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.