Debug Libraries for Animating

Debug Libraries for Animating

Release Date: 12/7/2023
Versions: Elliott V8.5 and Up

Rationale

On occasion, the Netcellent developer will want to test a new version of a COBOL program without disturbing other users or developers sharing the same environment.  With this update, the developer can compile a program and load the .INT or .GNT into a new EL850D.LBR or RU850D.LBR (same principle applies for 8.6 with EL860D.LBR or RU860D.LBR) and, when the program is Animated, that new version of the program will be used instead of any other versions.  Anyone else running Elliott in the same environment, as long as they are not Animating, will continue to use the normal version of the program.

Using the "D" Library During Development

  1. Compile the program and load the .CBL, .INT and .IDY files into a new EL850D.LBR.
  2. At the Elliott Control Center, select the File menu and check the Animate (V8.5) or Debug (V8.6) sub menu.  Then when you launch the program, it will start ANIMATEW.Exe to debug the program.  The "D" version of the .LBR files, if found, will be loaded last and will override any other versions of the program.

Using the "D" Library at a Client Site

  1. Compile the program and load the .CBL, .INT and .IDY files into a new EL850D.LBR.
  2. Transfer the "D" library to the production Bin86 directory at the client site.  Because most customers use the RunLocal setup, you have to put the "D" library in the master Bin86 directory, so it will get copied to the local directory when Elliott first launches.
  3. Transfer H:\www.elliott.com\Animate.Zip to the client directory and unzip it in the Bin86 directory.
  4. In order for the user to choose the "Animate" option in Elliott Control Center, the user either needs to have (a) an Elliott Developer License flag; or (b) registry settings to be turned on the "Animate" option as in the next point.
  5. If the user does not have an Elliott Developer License, start RegEdit.Exe and add or update the following value: Computer\HKEY_CURRENT_USER\Software\NETcellent\Elliott\8.0\Debug\Animate-EL850P=Yes.  (Of course, set Animate-EL860P=Yes for Elliott v8.6.)
  6.  At the Elliott Control Center, select the File menu and check the Animate (V8.5) or Debug (V8.6) sub menu. Then when you launch the program, it will start ANIMATEW.Exe to debug the program. The "D" version of the .LBR files, if found, will be loaded last and will override any other versions of the program.
  7. When finished debugging, delete the "D" library file from the Bin85 or Bin86 folder.
Note:  The presence of a "D" library will not be a problem to other users because it is only used when a task is being Animated -- not when it is being run normally.

Modified Programs:

CALLRUN.PL, LOADLBRX.PL, NWSMRG.CBL, NWSMRGP.CBL, NWSMSTRT.CBL, NWSMTASK.CBL SPOOLPRT.CBL,
EL850CC.CBL, EL850DP.CBL, EL850EV.CBL, EL850GE.CBL, EL850ME.CBL, EL850P.CBL, EL850RP.CBL, EL850TSK.CBL, EL850TK.CBL, EL850US.CBL, EL860CC.CBL, EL860DP.CBL, EL860EV.CBL, EL860GE.CBL, EL860ME.CBL, EL860P.CBL, EL860RP.CBL, EL860TK.CBL, EL860US.CBL



JEG


    • Related Articles

    • Animating COBOL Code in Elliott V8.5

      Preparation This documentation is intended for Netcellent or Netcellent's developers. It use Netcellent's own environment as an example of how to perform certain tasks. Our preferred method to test or debug a user's special custom mod is to make a ...
    • Solving the Inability to Debug Elliott on a New Server

      Release Date: 5/23/20 Version: 8.5 and higher After migrating the Micro Focus COBOL environment onto a new server, it may be that you can run EL850CC.Exe, but you cannot debug EL850CC. The actual problem appears to be that a project built in C++ ...
    • How to Use DebugLogLevel Registry Value to Debug Report Desk Issues

      Release Date: TBA Version 8.6 Since Report Desk is a brand new feature of Elliott V8.5, you may encounter a problem with it. If you do, a Netcellent support representative may ask you to turn on the debugging of Report Desk so a log file can be ...
    • How to Debug Elliott Installation with a Log File When It Fails

      Q - When I install the Elliott update package to a network share like M:\Elliott7, it always ends up with a message asking me to reboot my machine. If I reboot my workstation per the instructions in the installation package, it doesn't update all ...
    • COBOL to VB Interface Programs

      Background In order for a Micro Focus COBOL program to interface to a .NET program, two intervening programs must be written. For example, if a COBOL program wants to call a VB program named ELPDFGEN, it must instead call an unmanaged C++ program ...