Presentation is loading. Please wait.

Presentation is loading. Please wait.

Micro Focus Net Express IDE. Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Net Express.

Similar presentations


Presentation on theme: "Micro Focus Net Express IDE. Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Net Express."— Presentation transcript:

1 Micro Focus Net Express IDE

2 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Net Express 4.0 IDE  Create / Incorporate Custom tools in the IDE  Using the Type Library Assistant  Browse and Go n Browse n 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 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Create Custom Tools  Demonstration n 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. n Components l RESEQNID.CBL – source of the Tool to be used within the IDE l COBOLPGM.CBL – Cobol Skeleton program l BUILDTOOL.BAT – Batch script to create an exe for the tool l TOOL.APP – Net Express Project

4 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Create an.exe for ReseqnID.cbl We will first open up the Net Express Command Prompt

5 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Create an.exe for ReseqnID.cbl Location of the.bat script and COBOL programs

6 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Create an.exe for ReseqnID.cbl Inside the script that builds the.exe

7 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Create an.exe for ReseqnID.cbl The Build script is run

8 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Open the TOOL project

9 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Customize the IDE From the Options menu select Customize IDE

10 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Customize the IDE Under the Tools tab we will press the New Tool button

11 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Customize the IDE Enter the Tool name Use the Program button to locate the ReseqnID.exe

12 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Customize the IDE

13 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Customize the IDE Press Apply to add the tool to the IDE

14 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Customize the IDE The tool ReseqnID is now available.

15 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Look at the original program

16 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Run the ReseqnID tool

17 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada 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. l 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 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Type Library Assistant  Basic Definitions: n COM (Communication Object Module) – is the umbrella term that encompasses the OLE, OLE Automation, Activex as well as other technologies. n OLE (Object Linking and Embedding) - is a distributed object system and protocol n 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 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada The Type Library Assistant

20 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada The Type Library Assistant Select the Library

21 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada The Type Library Assistant Generate the Copybook that can be used in the COBOL source

22 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada The Type Library Assistant The GENERATED copybook

23 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada The Type Library Assistant The EXCEL Library Copybook member

24 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Examine the COBOL program using OLE Automation

25 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Examine the COBOL program using OLE Automation

26 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Examine the COBOL program using OLE Automation

27 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Examine the COBOL program using OLE Automation

28 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Examine the COBOL program using OLE Automation

29 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Examine the COBOL program using OLE Automation

30 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Execute the program via GDTBATCH

31 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Execute the program via GDTBATCH

32 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Execute the program via GDTBATCH

33 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Execute the program via GDTBATCH

34 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Execute the program via GDTBATCH

35 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Execute the program via GDTBATCH

36 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Execute the program via GDTBATCH

37 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Execute the program via GDTBATCH

38 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Execute the program via GDTBATCH

39 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Execute the program via GDTBATCH

40 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Browse and Go

41 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Browse and Go Compilation Complete

42 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Browse and Go Select the Browse Function

43 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Browse and Go Just by pressing enter without search criteria and the Section Button pressed, all program sections are displayed.

44 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada 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 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Browse and Go Highlighting the references in the Source program

46 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Browse and Go

47 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Browse and Go From: is the Execution of line Defn: is the Definition line

48 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Browse and Go Including Data Names in the browse search

49 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Quick Browse

50 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Quick Browse Using the Suggest Option

51 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Quick Browse Place cursor field Press Cursor button Source is highlighted Using the compress option to only view the necessary code

52 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Remote Debugging  You can debug programs that are running on a different computer from one on which you are using Net Express  The remote computer can be either a Windows system or a Unix system.  Remote machine n Must run ANIMSERV –port# before communication can be made from the local machine n Have GDT system up and running (Fileshare, TCS, Console, Fsys01)  Local machine n Requires access to the source files in the project on the Remote machine n Must have access to the dictionary (.idy) files in the project on the remote machine (usually in the \debug or \release subdirectory of the project on the remote machine.

53 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Remote Debugging The Local Machine  Map a drive to the Remote Machine drive where the Project resides n Example the R:\ drive on the Local Machine is mapped to the C:\ drive on the Remote Machine n Please note: on the Remote machine you must also setup a R:\ drive mapping to its own C:\ in the case shown  Start Micro Focus v4.0

54 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada On The Remote Machine  Start ANIMSERV

55 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada The Local Machine  Open the Project residing on the Remote machine

56 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada The Local Machine  Prepare the Remote Animation Settings

57 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada The Local Machine  Start the Remote Animation Process

58 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada The Local Machine & Remote Machine  Start Debugging on the Local Machine View the GDTBATCH process on the Remote Machine

59 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada The Local Machine & Remote Machine Debugging on the Local Machine

60 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada The Local Machine & Remote Machine Monitoring on the Remote Machine

61 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Revolve Point of Interest Files  Point of Interest files are created via Revolve to direct a developer under Revolve or Net Express to areas of the program source that are of interest during development, analysis or debugging of the code.  Using the browsing tools available under Revolve, a Revolve user can identify areas of code that need to be quickly identified via a Net Express user editing the actual source under the Net Express IDE.

62 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Revolve Point of Interest Files  Example, a Revolve user has identified areas of the program (LOGON.CBL) that use the field TERM-DATA-SIZE. This field will need to be expanded. This work is to be done in the near future. The fact that this field is a point of interest to someone should be made evident to other developers that may be reviewing, debugging the source via Net Express IDE.

63 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Revolve Point of Interest Files Via Revolve, capture the results of an analysis.

64 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Revolve Point of Interest Files Export to Point of Interest file Resulting Point of Interest File

65 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Revolve Point of Interest Files Point of Interest lines shown via the cross hairs icon in the prefix area. The above view is a compressed view of LOGON.CBL showing only points of interest

66 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Revolve Point of Interest Files Uncompressed view of the source showing points of interest.

67 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada User Defined Extensions Extensions give you the capability of assigning user defined extensions to the appropriate associated type.

68 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada User Defined Extensions Create a new association where.RCPY files are to be associated as a copybook

69 Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada User Defined Extensions Associated Types: Copybook, Program, Data File


Download ppt "Micro Focus Net Express IDE. Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas, Nevada Net Express."

Similar presentations


Ads by Google