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



Look inside the source of any standard DSPF in the JBA package and you should
find a section of code that looks like this:
0032.00 %%%A%A* Following record format ID added by ADDDSPFRID command
951018
0033.00 %%%A%A                                  2  2'*++AI001'
951018
0034.00 %%%A%A                                      DSPATR(ND)
951018

The '*++AI001' bit is the "magic number"...

It is a field in each screen format that is non-displayed.  The purpose of the
field is to make the display format uniquely identifiable within the 5250
emulation data stream.

This concept was introduced into the JBA package back in the mid 1990s to allow
for the use of screen designer type gui applications where you could customize
the appearance of particular screens on your own PC...

The way the PC gui application recognized that there was a custom copy of a
screen that it should display was when the magic number in the 5250 emulation
data stream was detected and it matched a modified screen on that PC...  The
custom screen would be displayed instead of the standard screen...  So you see -
every screen display format had to have its own unique identifier...

JBA undertook a massive project to add display file record IDs to every DSPF and
in the process developed the command ADDDSPFRID.  Which can still be foound
today in the IPGAGP3 or IPGCFP4 library...

And that's just about all I know about the "magic numbers" in JBA...

For the most part if you don't do any gui screen mods with screen designer you
can pretty much ignore the magic numbers...
Just know that they are there, usually in position 2,2 of every screen and if
you're making a mod to a screen you might bump into one...

Hope that helps...








Brian.True@trelleborg.com on 05/21/2002 02:39:34 PM

Please respond to jbausers-l@midrange.com



  To:          jbausers-l@midrange.com

  cc:          (bcc: Jeff Klipa/Harvard)



  Subject      SYS21 -  Magic Numbers
  :







We are getting ready to install SP4 and  I have been going through the
documentation.  "MAGIC" numbers references keep popping up. For my own
curiosity, what are they talking about?

Thanks

Brian True
Trelleborg Automotive
Software Support Technician
South Haven, MI
(616) 639-4249


_______________________________________________
This is the GEAC/JBA System 21 Users (JBAUSERS-L) mailing list
To post a message email: JBAUSERS-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/jbausers-l
or email: JBAUSERS-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/jbausers-l.






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.