270 likes | 430 Views
GDT V5 – New Tools of the Trade. GDT V5 – New Tools of the Trade. GDT PDF FTP within a BATCH process Mass Compile made easy with one command (MCOMP). GDT PDF. The Need Many businesses require special formatted reports such as PDF
E N D
GDT V5 – New Tools of the Trade • GDT PDF • FTP within a BATCH process • Mass Compile made easy with one command (MCOMP)
GDT PDF • The Need • Many businesses require special formatted reports such as PDF • A variety of tools to do PDF conversions may be available but would work outside of the GDT Environment • Customers need to have PDF documents created on-demand as well as real time via Batch processing
GDT PDF • GDT PDF can be run as a standalone .exe • In GDT V5.0, GDTBATCH will be enhanced with a new command CREATE_PDF abbreviated to CPDF. This command can then be used in JCL. • In GDT V5.0, CPDF will be made available to COBOL programs by supplying a call interface that makes use of the DLL entries. • Additional functionality will include Fonts, CharPerLine and a GUI • CMD line entry: • GDTPDF1 PDF-TEST.lsq PDF-TEST.pdf
GDT PDF Using the Execute Windows (exw) or the Execute Dos (exd) to process the report via GDTPDF1 to convert the report to a PDF document.
GDT PDF Running the JCL via GDTBATCH
GDT PDF Job has completed successfully and the PDF document has been generated.
FTP within a BATCH processRuntime Flow (via EDBG) Also to be made available under GDT V4.2 CALL "CTFTP01" USING WS-GDTFTP-Parm "OPN" - open session. Once OPN is done, you do not have to provide SERVER, USER, PASS information until CLS function is executed.
FTP within a BATCH process Runtime Flow (via EDBG) "CD " - create directory
FTP within a BATCH process Runtime Flow (via EDBG) "GCD" - get current directory – returned directory
FTP within a BATCH process Runtime Flow (via EDBG) "SCD" - set current directory
FTP within a BATCH process Runtime Flow (via EDBG) "PUT" - put file to server
FTP within a BATCH process Runtime Flow (via EDBG) "REN" - rename remote file
FTP within a BATCH process Runtime Flow (via EDBG) "GET" - get file from server
FTP within a BATCH process Runtime Flow (via EDBG) "DEL" - delete remote file
FTP within a BATCH process Runtime Flow (via EDBG) "SCD" - set current directory
FTP within a BATCH process Runtime Flow (via EDBG) "DD" - delete directory
FTP within a BATCH process Runtime Flow (via EDBG) "CLS" - close session
MASS COMPILE • MCOMP • GDT V5.0 • Run from command line once GDT environment is set • Quick screen information of the results • Can be run with wild card parameters • *.CBL or A*.CBL • Can be run with no parameters • Will compile all .CBL’s in the current directory • Text file out put results • MCOMP-R1.TXT • Compile statistics with line pointers to the detail Compile Text file • MCOMP-R2.TXT • Detail Compile information • Will detail compilation errors if they happen
MASS COMPILEMCOMP-R1.TXT Line pointers to MCOMP-R2.TXT