GDT Development Tutorial. GDT Development Tutorial. Creating a Net Express Project to run GDT Batch programs and GDT TDS programs Build a Net Express project Setting up Project Properties Loading the Source Pool Preparing programs for Debug Build and Animation Animating the program
Une image / un lien ci-dessous est fourni (tel quel) pour télécharger la présentation
Politique de téléchargement : le contenu du site vous est fourni TEL QUEL pour votre information et votre usage personnel ; il ne peut être vendu, concédé sous licence ni partagé sur d’autres sites sans l’accord de son auteur.Le contenu vous est fourni TEL QUEL, pour votre information et votre usage personnel uniquement.Téléchargez la présentation en cliquant sur ce lien.Lors du téléchargement, si vous ne parvenez pas à télécharger une présentation, l’éditeur a peut-être supprimé le fichier de son serveur.Pendant le téléchargement, si vous ne parvenez pas à obtenir une présentation, le fichier a peut-être été supprimé par l’éditeur.
GDT Development Tutorial • Creating a Net Express Project to run GDT Batch programs and GDT TDS programs • Build a Net Express project • Setting up Project Properties • Loading the Source Pool • Preparing programs for Debug Build and Animation • Animating the program • Preparing programs for Generic Release Build • Using Decision Tables to generate COBOL Source • GDTETAB Utility • Using GDT Utility to Generate Report Definition COBOL Source • GDTLGEN Utility • GDTPGEN Utility
Build a Net Express projectBatch / TDS From the DOS command prompt, set yourself to the folder where your batch programs are located. For TPR’s, you need to be located where the TPR programs are located (c:\infosol\prod\source\online) Set your environment ( In this case run GDTENV.BAT). If you do not want to use FILESHARE, you can also do a SET SRVRNAME= to the folder where your files are located.
Build a Net Express project Batch / TDS Now type in RUN MFNETX to start the NetExpress IDE. You will now have the necessary environment settings to load your project.
Build a Net Express project Batch / TDS Now you enter the name of the project (MyBatch) and the location of the project (C:\INFOSOL\PROD\SOURCE\BATCH). Press the Create button. Example for TPR’s (MyTpr) with location C:\INFOSOL\PROD\SOURCE\ONLINE.
Setting up Project Properties Batch / TDS First, set the Project Directory. You may use the Browse to select the directory or just manually type it in. (C:\INFOSOL\PROD\SOURCE\BATCH). or (C:\INFOSOL\PROD\SOURCE\ONLINE). Next we need to add a couple of directives in the Project Directives Window. They are: USE(COBOL.DIR) NOCOBOLDIR CONFIRM. Now you need to press the IDE button (Integrated Development Environment settings).
Setting up Project Properties Batch / TDS Since we already have set our environment variables before opening the IDE, all we need to do is Import these settings. Press the Import button.
Setting up Project Properties Batch / TDS Just press the Import button again. It is shown that the Current environment will be brought in. (This is the Environment from the GDTENV.BAT done at the DOS Command prompt).
Setting up Project Properties Batch / TDS Press OK again to set the IDE environment variables. This screen can also be used to add new variables or change the existing ones.
Setting up Project Properties Batch / TDS After pressing the APPLICATION button on the main window you are then given a screen to import the APPLICATION environment as well. Press the Import button.
Setting up Project Properties Batch / TDS You can now set Error Handling features. Have a view to the remaining tabs for additional application environment settings that can be done.
Types of Build Setting Batch / TDS Now we need to setup the Types of Build settings for this project. From the Project dropdown menu select Types of Build…
Loading the Source Pool Batch / TDS Now right click in your source window. You will be given the option to Add file to source pool. Select this option.
Loading the Source PoolBatch / TDS Now you can select the program(s) that you want to be part of this project. We will select the address program for this example.
Loading the Source PoolBatch / TDS As the program is selected, Net Express will do a dependency check to make sure all copybooks, called programs etc. are found for the program(s) you have selected.
Preparing programs for Debug Build and AnimationBatch / TDS Now we need to prepare the program for the Debug Build. Select and drag the program over to the build window. A window will pop up and allow for you to select the preferred compiled type for the program. We will be selecting intermediate code for debugging.
Preparing programs for Debug Build and Animation A couple minor modifications are needed. Make sure .\ is placed just before the File name on disk. This states that the .int file will be placed in the current project directory.
Preparing programs for Debug Build and AnimationBatch / TDS Now we are ready to compile the program(s). One method is selecting the Rebuild All option from the Project menu or you can individually select each program in your project and press the red check to compile each.
Preparing programs for Debug Build and AnimationBatch Program Important entries: Start Animating at: c:\infosol\gdtpc\gdtbatch.lbr\ gdtbatch.gnt Local working Directory: c:\infosol\prod\source\batch - where your compiled program(s) are located. Command line parameters: c:\infosol\prod\jcl\address.jcl - the directory and name and values of the jcl you need to run. If values are needed, type them in as if your are running GDTBATCH via the command line.
Preparing programs for Debug Build and AnimationTPR Program Important entries: Start Animating at: c:\infosol\gdtpc\gdtmon7.lbr\ gdtmon7.gnt (For V3 users) Start Animating at: c:\infosol\gdtpc\gdtmon7.lbr\ gdtmon7.gnt –TDS6 (For V4 users) Local working Directory: c:\infosol\prod\source\online - where your compiled program(s) are located. Command line parameters: LOGON tpr name (IPASS in this case) . Can place a ? in this entry which will bring up the GDTMON7 entry screen.
Animating the programTPR TPR you have loaded into your project for debugging, is activated and ready for you to animate.
Animating the programTPR You may now Run through the program without further animating. You will then see in the application output window that the menu is displayed from the program IMENU.
Animating the programBatch Here is the Application output window. If you have TRACE and STEPMSG set in your GDTBATCH.PAR, then you will see the input, output counters as when you run GDTBATCH via the command prompt.
Preparing programs for Generic Release Build After right clicking on ADDRESS.CBL in the build window and selecting COMPILE, it now produces a .GNT for the ADDRESS program. TPR Compiled!
Connexion au compte
Connectez-vous pour publier votre contenu sur SlideServe.