1 / 69

Micro Focus Net Express IDE

Micro Focus Net Express IDE. Net Express 4.0 IDE. Create / Incorporate Custom tools in the IDE Using the Type Library Assistant Browse and Go Browse Quick Browse Remote Debugging Using Revolve Point of Interest files with Net Express IDE

garth
Download Presentation

Micro Focus Net Express IDE

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Micro Focus Net Express IDE

  2. Net Express 4.0 IDE • Create / Incorporate Custom tools in the IDE • Using the Type Library Assistant • Browse and Go • Browse • Quick Browse • Remote Debugging • Using Revolve Point of Interest files with Net Express IDE • User Defined Extensions – if you are using your own extensions for Source, Copybooks, or Datafiles • Setup a GDT COBOL project and practice these functions and much more at the Hands on Lab at 3:15pm today!

  3. Create Custom Tools • Demonstration • Incorporate a tool to the Net Express 4.0 IDE that will be used to add a line number to a program and also add a comment in column 73-80. • Components • RESEQNID.CBL – source of the Tool to be used within the IDE • COBOLPGM.CBL – Cobol Skeleton program • BUILDTOOL.BAT – Batch script to create an exe for the tool • TOOL.APP – Net Express Project

  4. Create an .exe for ReseqnID.cbl We will first open up the Net Express Command Prompt

  5. Create an .exe for ReseqnID.cbl Location of the .bat script and COBOL programs

  6. Create an .exe for ReseqnID.cbl Inside the script that builds the .exe

  7. Create an .exe for ReseqnID.cbl The Build script is run

  8. Open the TOOL project

  9. Customize the IDE From the Options menu select Customize IDE

  10. Customize the IDE Under the Tools tab we will press the New Tool button

  11. Customize the IDE Use the Program button to locate the ReseqnID.exe Enter the Tool name

  12. Customize the IDE

  13. Customize the IDE Press Apply to add the tool to the IDE

  14. Customize the IDE The tool ReseqnID is now available.

  15. Look at the original program

  16. Run the ReseqnID tool

  17. Using the Type Library Assistant • The question: Can anyone point me to a good source for information about the methods that excel supports? I need to build a COBOL program that builds an excel spreadsheet, loads it to an excel chart and populates a word document with the excel chart • Basically we need to use Net Express to create a COBOL application that creates a chart in Excel and copies and pastes the chart into Word using OLE Automation. • If you want to see how to code the methods in COBOL then from the Net Express IDE select Tools->Type Library Assistant and scroll through the list of available COM servers until you find "Microsoft Excel ?.0 Object Library".

  18. Type Library Assistant • Basic Definitions: • COM (Communication Object Module) – is the umbrella term that encompasses the OLE, OLE Automation, Activex as well as other technologies. • OLE (Object Linking and Embedding) - is a distributed object system and protocol • OLE Automation - It provides an infrastructure whereby applications called automation controllers can access and manipulate (i.e. set properties of or call methods on) shared automation objects that are exported by other applications. • Use the Type Library Assistant to interrogate COM type libraries and generate COBOL copyfiles for inclusion in your programs.

  19. The Type Library Assistant

  20. The Type Library Assistant Select the Library

  21. The Type Library Assistant Generate the Copybook that can be used in the COBOL source

  22. The Type Library Assistant The GENERATED copybook

  23. The Type Library Assistant The EXCEL Library Copybook member

  24. Examine the COBOL programusing OLE Automation

  25. Examine the COBOL programusing OLE Automation

  26. Examine the COBOL programusing OLE Automation

  27. Examine the COBOL programusing OLE Automation

  28. Examine the COBOL programusing OLE Automation

  29. Examine the COBOL programusing OLE Automation

  30. Execute the program via GDTBATCH

  31. Execute the program via GDTBATCH

  32. Execute the program via GDTBATCH

  33. Execute the program via GDTBATCH

  34. Execute the program via GDTBATCH

  35. Execute the program via GDTBATCH

  36. Execute the program via GDTBATCH

  37. Execute the program via GDTBATCH

  38. Execute the program via GDTBATCH

  39. Execute the program via GDTBATCH

  40. Browse and Go

  41. Browse and Go Compilation Complete

  42. Browse and Go Select the Browse Function

  43. Browse and Go Just by pressing enter without search criteria and the Section Button pressed, all program sections are displayed.

  44. Browse and Go Selection of search result Reveals actual source code in Results window Selection in Results window results in highlighting of source in the program editor

  45. Browse and Go Highlighting the references in the Source program

  46. Browse and Go

  47. Browse and Go From: is the Execution of line Defn: is the Definition line

  48. Browse and Go Including Data Names in the browse search

  49. Quick Browse

  50. Quick Browse Using the Suggest Option

More Related