GDT Tips and Tricks. GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July 11 - 14  Tucson, Arizona GDT Tips.

Slides:



Advertisements
Similar presentations
Web Servers and The Common Gateway Interface. Presentation Title Here Presenters Name Here GDT 2007 International User Conference: Evolving the Legacy.
Advertisements

USING REVOLVE TO IMPROVE GDT PROGRAM MAINTENANCE.
Introduction to HT-IDE3000 Micro-C development System Department.
The Way to Success … Sta rt Sta rt Ak Technologies Mo | Visit.
© Paradigm Publishing, Inc Excel 2013 Level 2 Unit 2Managing and Integrating Data and the Excel Environment Chapter 7Automating Repetitive Tasks.
Introduction to MVC Adding a View Page NTPCUG Tom Perkins, Ph.D.
CPIT 102 CPIT 102 CHAPTER 1 COLLABORATING on DOCUMENTS.
Georgia Institute of Technology DrJava Appendix A Barb Ericson Georgia Institute of Technology May 2006.
Web Servers and “The Common Gateway Interface”. Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas,
Micro Focus Studio Micro Focus Studio Doug Evans GDT 2006 International User Conference: Evolving the Legacy – Revolutions June  Palm Springs,
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
The IDE (Integrated Development Environment) provides a DEBUGGER for locating and correcting errors in program logic (logic errors not syntax errors) The.
Guide To UNIX Using Linux Third Edition
C Copyright © 2009, Oracle. All rights reserved. Using Diagnosis and Debugging Techniques.
A First Program Using C#
Chapter 4 Code Editor Goals and Objectives Program more efficiently? How can you speed up your development process? Do you want to learn useful shortcuts.
Thrive Installation.
Creating Data Marts from COBOL Files (ISAM to RDBMS)
1 Guide to Novell NetWare 6.0 Network Administration Chapter 11.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Purpose  This training course describes how to configure the the C/C++ compiler options.
Micro Focus Net Express / Server Express in GDT Update.
For Version 6.0 and later Lattice3D Reporter Tutorial For Version 6.0 and later LATTICE TECHNOLOGY, INC.
Converting COBOL Data to SQL Data: GDT-ETL Part 1.
GDT V5 Web Services. GDT V5 Web Services Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT.
PROGRAMMING IN VISUAL BASIC.NET VISUAL BASIC BUILDING BLOCKS Bilal Munir Mughal 1 Chapter-5.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Shell Scripting Introduction. Agenda What is Shell Scripting? Why use Shell Scripting? Writing and Running a Shell Script Basic Commands -ECHO - REM.
LLRP GUI Client User Guide
Fall 2011 Nassau Community College ITE153 – Operating Systems Session 23 Shared Folders 1.
Tutorial 111 The Visual Studio.NET Environment The major differences between Visual Basic 6.0 and Visual Basic.NET are the latter’s support for true object-oriented.
GDT Development Tutorial. GDT Development Tutorial Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas,
In the next step you will enter some data records into the table. This can be done easily using the ‘Data Browser’. The data browser can be accessed via.
6 th Annual Focus Users’ Conference Manage Integrations Presented by: Mike Morris.
CPSC1301 Computer Science 1 Overview of Dr. Java.
GDT V5 – New Tools of the Trade. Doug Evans and Detlef Lexut GDT 2008 International User Conference August 10 – 13  Lake Las Vegas, Nevada GDT V5 – New.
Session Objectives • Login to PeopleSoft Test Framework(PTF)
CUG Request from 2010 and 2011 User Group Meetings Cortex User Group Meeting Portland, OR – 2012.
Active-HDL Interfaces Debugging C Code Course 10.
® IBM Software Group © 2011 IBM Corporation RDz Workbench – Debugging z/OS COBOL Applications Batch COBOL Debugging Workshop Jon Sayles, Rational System.
What’s New and Future Enhancements with GDT. Doug Evans GDT 2007 International User Conference: Evolving the Legacy July 29 – August 1  Lake Las Vegas,
ENCOMPASS Voucher Build Process
Automated Scheduling and Operations for Legacy Applications.
Topics Sending an Multipart message Storing images Getting confirmation Session tracking using PHP Graphics Input Validators Cookies.
Visual Basic.NET Comprehensive Concepts and Techniques Chapter 8 Debugging, Creating Executable Files, and Distributing a Windows Application.
A Baker's Dozen Tricks in a Button Thirteen Tricks of the SIR Trade Rolled into a Single Useful Application © Tom Shriver, DataVisor 2002.
Debugging Ensemble Productions CAMTA Meeting 11 th November 2010 John Murray.
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.
Welcome! Welcome! Agenda - Wednesday  Introduction  Installation Tips  New Client Features  New Application Design Features  Installing Chart Director.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
Debugging tools in Flash CIS 126. Debugging Flash provides several tools for testing ActionScript in your SWF files. –The Debugger, lets you find errors.
SMART Tip Sheets Maryland February 2008 IGSR Technical Support: Client Referral Consent Referral Accepting Referrals This tip sheet focuses.
Quick Test Professional 9.2. Testing Process Preparing to Record Recording Enhancing a Test Debugging Running the Test and Analyzing the Results Reporting.
Optimizing your GDT Environment. Optimizing Your GDT Environment Doug Evans GDT 2004 International User Conference – Evolving the Legacy July
Perfecto Mobile Automation
Interactions & Automations
IE 411/511: Visual Programming for Industrial Applications Lecture Notes #2 Introduction to the Visual Basic Express 2010 Integrated Development Environment.
Editing and Debugging Mumps with VistA and the Eclipse IDE Joel L. Ivey, Ph.D. Dept. of Veteran Affairs OI&T, Veterans Health IT Infrastructure & Security.
How to Add a Printer & Printer Retention Training.
This tip sheet focuses on how to share client records and make client referrals using SMART. Total Pages: 6 Client Consent and Referral Consent Referral.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
SSIS 2012: The Quiet Revolution Presented by Bryan Cafferky Business Intelligence Consultant BPC Global Solutions LLC
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Chapter 2: The Visual Studio .NET Development Environment
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Deploying and Configuring SSIS Packages
CENG2400 Tutorial 1 Keil IDE CENG2400 tutorial 1 v.7a.
Configuration Of A Pull Network.
Chapter 9: Managing Groups, Folders, Files, and Object Security
Workshop for Programming And Systems Management Teachers
Presentation transcript:

GDT Tips and Tricks

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips and Tricks  Dynamic File Assignments (a GCOS7 feature)  Handled by Micro Focus or the GDT Preprocessor?  Debug a program quickly  Just-In-Time Debugging  GDT’s Global Editing with a Find and Replace Utility  Easily locate files with the GDTWHERE utility  Creating an Environment on Developers machine to test a Production Thin Client issue quickly!

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips and Tricks

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips and Tricks Dynamic File Assignments  No Assign Statement in the JCL for the Report n Below is the JCL before commenting out the Assign Statement

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips and Tricks Dynamic File Assignments  No Assign Statement in the JCL for the Report n Below shows the commented out Assign for the report

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips and Tricks Dynamic File Assignments  The program Select statement for this file will state that the file is in Queued Sequential Format

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips and Tricks Dynamic File Assignments  At runtime, the ASG statement in the Procedure Division, will create the file dynamically

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips and Tricks Dynamic File Assignments  The Batch Process is Initiated

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips and Tricks Dynamic File Assignments  We will look at the process via the Animator n After the ASSIGN statement is processed, the RPT- NAME contains the appropriate name and path

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips and Tricks Dynamic File Assignments  Here we are viewing the Status of the PRINT- FILE after the open

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips and Tricks Dynamic File Assignments  The Job Completes

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT Tips and Tricks Dynamic File Assignments  The Report is Generated dynamically!

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Handled by Micro Focus or the GDT Pre-processor?  The Pre-processor via GDT handles the special GCOS7 feature statements

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Handled by Micro Focus or the GDT Pre-processor?  How do I find out when a GCOS related COBOL statement is being handled internally via GDT and not Micro Focus? n Set the TRACE parameter in your PPGCOS.DIR file. l This creates a PPGCOS.OUT file and traces each line of COBOL code as it is being compiled. l It also shows how GDT captures these GCOS specific statements and processes them via special GDT calls to GDT internal programs. n Compile your program. n Review the PPGCOS.OUT file.

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Handled by Micro Focus or the GDT Pre-processor?  Set the trace directive in PPGCOS directives file  Compile the program

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Handled by Micro Focus or the GDT Pre-processor?

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Handled by Micro Focus or the GDT Pre-processor?

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Debug a program quickly  CALL “CBL_DEBUGBREAK” n This call-by-name routine will raise a simple Dialog when the program is executed. n You can then select Animation of the program or just run the program without Animation n If you select Animation l IDE will be started l Animator will come up and show the source code l You can now step through the code l When finished you shut down the IDE

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Debug a program quickly  Setup n Modify the compiler.bat file to add 2 more parameters at the end of the compile statement l CONSTANT parameter – this allows you to pass a constant as the next parameter l DEBUGBREAK ‘YES’ or ‘NO’ parameter l The 2 parameters will give you flexibility in leaving the CALL “CBL_DEBUGBREAK” in your source code even when you do not want to run the DEBUGBREAK.

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Debug a program quickly  Setup (continued) n Modify the source code l Add “$ IF statement” to determine if DEBUGBREAK is set to YES when compiling. n Compile the source program l COMPIL source program CONSTANT DEBUGBREAK ‘YES’ or ‘NO’

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Debug a program quickly  Add %7 and %8 to compile statement in COMPIL.BAT.  This will capture the CONSTANT and DEBUGBREAK parameters passed via the command line

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Debug a program quickly  Add appropriate code in source to check if DEBUGBREAK was requested via the COMPIL statement  This piece of code can be setup as a copybook and used in all programs  Compile the program accordingly

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Just-In-Time Debugging  A way to automatically trigger the Net Express Animator when an application that is executed outside the IDE fails. n Start Net Express n Click on Options drop down list and select Animate n Select “Just-In-Time Debugging” from the drop down list in Error Handling n Click the OK button n Close out of Net Express

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Just-In-Time Debugging  For test n CBLRTN program will make a CALL to routine not defined n CBLRTN is compiled for animate mode

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Just-In-Time Debugging  For Test n GDTBATCH \INFOSOL\PROD\JCL\CBLRTN.JCL

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Just-In-Time Debugging  Animator is automatically invoked n Error is defined on first dialog message box n Animator places you right on the line causing the problem!

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Just-In-Time Debugging  MAKE SURE to change back to “DEFAULT” debugging option once done with Just-In-Time debugging n In production environment, Just-In-Time debugging can stop production use of transactions! n Just-In-Time programming will disable any error trapping for GDT. Only MicroFocus error trapping will be done

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona GDT’s Global Editing with a Find and Replace Utility  Format n GDTRPL01 SearchExp, SearchStr, NewStr, Param n Parameter /UC to use case insensitive search  Definition n Searches for all files in Search Expression, for the string defined in the New String expression (case sensitive or case insensitive

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Easily locate files with the GDTWHERE utility

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Easily locate files with the GDTWHERE utility  The GDTWHERE utility in action!  Locate all locations of a file n Based on your Local Directory n Based on environment variables set

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Creating an Environment on Developers machine to test a Production Thin Client issue quickly!

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Creating an Environment on Developers machine to test a Production Thin Client issue quickly!  The Setup n Create a directory on Developer’s Machine to contain: (C:\CUSTOMER for this example) l Cobol programs from production l Cobol.dir and Ppgcos.dir l GDTMONR.PAR modified to make sure the FLOW, DISP and SWAPL settings point to C:\CUSTOMER l GDTSRV03.BAT modified to run a work environment.bat file from the C:\CUSTOMER file and RUNMW GDTSRV03 /S 4/ P 3334 (where port 3334 is a different port than what is used on production server for it’s transaction servers). l CCITCP2 should be running on Developers Machine

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Creating an Environment on Developers machine to test a Production Thin Client issue quickly!  The Setup n C:\CUSTOMER Contents Continued : l The work environment.bat file should be modified  Add c:\customer to COBDIR setting  COBOL setting should be set to c:\customer  c:\customer needs to be added to PATH setting  All references to Net Express folders should point to Developers machine installation of Net Express  All other mappings should point to Production Server folders l GDTMONFH.JCL and GDTMONFH.GNT from production  Modify GDTMONFH.JCL M W GTWFILE $$fileshare\GTWFILE1 l.ASP file in \INETPUB\WWWROOT  Make sure Config_ServerAddr = 3334 or port used in GDTSRV03.BAT runmw statement

GDT Tips and Tricks Doug Evans GDT 2004 International User Conference – Evolving the Legacy July  Tucson, Arizona Creating an Environment on Developers machine to test a Production Thin Client issue quickly!  To Startup the Test Environment n Start ccitcp2 on developers machine n From c:\customer, type in GDTSRV03 and press enter to start the GDTTXMonitor and transaction servers on the developer’s machine n Add the CBL_DEBUGBREAK for any programs you wish to animate n Run TEST.BAT via c:\customer folder to set the environment and start the thin client session