home *** CD-ROM | disk | FTP | other *** search
/ Hall of Fame / HallofFameCDROM.cdr / 3x400 / dltobs.lzh / DLTOBS.TXT < prev   
Text File  |  1988-06-06  |  3KB  |  199 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.             Featured Program
  9.  
  10.             Delete Program Observability
  11.  
  12.  
  13.             by Bob Cozzi
  14.  
  15.  
  16.             Each month, Featured Program presents a full-function
  17.  
  18.             command or routine that provides the System/38 user with a
  19.  
  20.             useful tool.  Keep in mind that the Featured Program may not
  21.  
  22.             be appropriate for all installations; you must decide
  23.  
  24.             whether it suits your particular needs.  Source code found
  25.  
  26.             in the Featured Program can be downloaded via the Q38-IBBS
  27.  
  28.             by dialing (312) 790-5037.  Q38-IBBS is available 24 hours
  29.  
  30.             each day, Monday through Friday.  The Q38-IBBS is free of
  31.  
  32.             charge to Q38 Technical Journal subscribers.
  33.  
  34.  
  35.             Most users know the standard solution when they're faced
  36.  
  37.             with a critical disk space shortage:  "Buy more DASD!"  Well
  38.  
  39.             for years now, a few System/38 users have been retrieving
  40.  
  41.             some of that expensive DASD with a unique feature of the
  42.  
  43.             System/38 MI Assembly Language: DELPGMOBS (Delete Program
  44.  
  45.             Observability.)
  46.  
  47.  
  48.             The technical description of the DELPGMOBS instruction can
  49.  
  50.             be found in the System/38 Function Concepts Manual:
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.             The [DELPGMOBS] instruction eliminates the capability to
  75.  
  76.             materialize the components, other than the control
  77.  
  78.             information component, of the program template associated
  79.  
  80.             with the program.  After deleting observability, only the
  81.  
  82.             control information component of the program template can be
  83.  
  84.             materialized.
  85.  
  86.  
  87.             In general, the instruction causes the amount of storage
  88.  
  89.             used by the program to be decreased.  The amount of storage
  90.  
  91.             released is equal to the size of the program template and
  92.  
  93.             all of its components.
  94.  
  95.  
  96.             In more common terms, DELPGMOBS is a single MI instruction
  97.  
  98.             that removes the a program's debug template.  The numbers
  99.  
  100.             I've seen indicate a reduction in program size of up to 60%.
  101.  
  102.             And, contrary to some advertising claims, programs will not
  103.  
  104.             execute faster.
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.             Who uses DELPGMOBS?  Software developers that want to
  141.  
  142.             protect their software from disassembling.  There are
  143.  
  144.             software services available that rebuild the high-level
  145.  
  146.             language code from the object.  If a program has its
  147.  
  148.             observability deleted, those services cannot be performed.
  149.  
  150.             In addition, the program cannot be debugged, formatted dumps
  151.  
  152.             are not produced, and the program cannot be materialized.
  153.  
  154.             Consequently, if you plan on converting to the System/3x
  155.  
  156.             follow-on, and observability has been deleted from a
  157.  
  158.             program, you will not be able to restore that program onto
  159.  
  160.             the new machine.  That is, System/3x follow-on is
  161.  
  162.             object-code compatible, but only if observability has not
  163.  
  164.             been deleted.  (You will still, however, be able to restore
  165.  
  166.             source code onto System/3x follow-on.)
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.