Here use PLI as example: 2 choices to integete compile results with vim:
.
1. Compile source on Mainframe then use XDC command to save results into dataset or use ftp and site command to fetch result from job's sysout. After this we can reformat result and integrate with vim.
I already introduced that, first use one shell to reformat result that vim can read it, then use vim command to open error file in quickfix window.
2. Compile local file with Rational developer for System z(RDZ), this is much more fast than option 1.
.
Today, I will show you how to compile with RDZ.
.
You can download RDZ from ibm.com for 50 days' trial version. After installation, add X:/Program Files/IBM/SPD/bin/ into enviroment variable PATH. Then you can call pli.exe to compile pli source in command window with this format:
pli.exe file_name.pli (Compile time option
In order to integrate with vim, do the steps bellow:
1. Change $VIMRUNTIME/compiler/pli.vim:
let current_compiler = "pli" “compiler type
CompilerSet makeprg=rdzpli.exe "shell script to call pli.exe and pass compile time option to pli.exe
CompilerSet
errorformat=%f.pli(%l:2)/ :/ IBM%nI/ %t/ %m "error message file format
.
2.Create one shell script "rdzpli.sh" and use shc compile as executable file, then move to Cygwin/bin.
So we can call rdzpli to compile pli source:
rdzpli filename or rdzpli -i filename to throw out information level's msg.
pli.exe receive filename as parm and then search for filename.pli to compile, we almost use file without extention file name.
So copy filename to filename.pli then compile it.
/(include /(ext/(/' /',Inc,Cpy/)/) is compile time option pass to pli.exe, this configure copybook file's extention name, and search in sequence: blank, inc and cpy.
.
3. Add one system virable INCLUDE which value is the folder contains copybook. pli.exe search IBM.SYSLIB and then INCLUDE to find copybook.
.
4. Compile: I use the source from multics: www.multicians
.org
Use vim open it and edit, then use :make % command, % means current filename.
Vim will call rdzpli.exe in this format: rdzpli.exe <current_filename>, the compilation result will be open in quickfix window automaticlly after compile complete.
Quickfix:
Maybe it's not the best way to compile pli, but it can integrate with vim to locate error position in quickfix then use vim's advantage. Perhaps we can integrate vim with RDZ based on ecplise in the future.
分享到:
相关推荐
Welcome to mainframe computing! We begin this text with an overview of the mainframe computer and its place in today’s information technology (IT) ...mainframe operating system—z/OS.
【 Accenture 金融服务业主要主机现代化迁移到微软Azure 】 在当前的数字化时代,金融机构正面临日益加剧的变革挑战。主机系统,作为许多金融机构的核心技术基础设施,承载着关键业务应用和敏感数据,其现代化升级...
标题 "PyPI 官网下载 | mainframe-bot-api-1.0.0.tar.gz" 提供了关于一个Python软件包的重要信息。PyPI(Python Package Index)是Python开发者用来发布和发现第三方Python库的主要平台。这里提到的"mainframe-bot-...
在标题和描述中提到的知识点主要围绕大型机、分布式Unix、Linux服务器以及IBM System z的总体拥有成本(TCO)进行比较。以下是对这些知识点的详细解释: 大型机(Mainframe)是传统的计算机系统,通常用于处理大量...
Endevor for Mainframe is a change management system that helps organizations streamline their software development lifecycle. It provides a centralized platform for managing code versions, automating ...
本指南将详细介绍从A到Z的Windows系统命令,帮助你提升在Windows环境中的操作效率。 A - assoc:关联文件扩展名 assoc命令用于查看或更改文件扩展名与特定程序之间的关联。例如,assoc .txt=Notepad.exe可以将.txt...
在信息技术领域,IBM的大型主机系统,尤其是Z/OS(z/Operating System)和OS/390,一直扮演着关键角色,尤其在金融、电信等对数据处理能力和安全性要求极高的行业。这个压缩包中的资料详细介绍了如何管理和操作这些...
【标题】:“信息安全_数据安全_us-18-Rikansrud-Mainframe-[zOS]-.pdf”讨论了关于在大型主机系统[z/OS]上的信息安全与数据安全问题,特别是针对漏洞分析和黑客攻击防范的实践。这篇文档可能由Chad Rikansrud撰写,...
### IBM Mainframe基础知识 #### IBM大型机的历史发展与技术特点 IBM主框架计算机(Mainframe)自诞生以来一直是计算领域的核心部分,具有高度可靠、安全和高性能的特点。自20世纪60年代初以来,IBM一直致力于创新...
在IT行业中,Mainframe系统是大型企业核心业务处理的关键平台,尤其是IBM Z系列操作系统。了解和熟练掌握Mainframe命令对于任何涉及这一领域的IT专业人员至关重要。本文将详细阐述一些常用的主要Mainframe命令,包括...
标题:Debug tool for mainframe.pdf 描述:IBM 非常有用的debug工具 根据所提供的文件信息,我们可以深入了解IBM Debug Tool,这是一个专为主机系统设计的强大调试工具,特别适用于zSeries平台上的应用程序开发与...
本书《新型主机介绍:z/OS基础》是关于大型机(mainframe)领域的权威入门书籍,尤其适合学生和初学者。书中详细介绍了IBM z/OS操作系统的基础知识,以及与之相关的硬件设备等内容。通过学习本书,读者可以全面了解...
Linux System Administration is ideal as an introduction to Linux for Unix veterans, MCSEs, and mainframe administrators, and as an advanced (and refresher) guide for existing Linux administrators who...
This guide is essential for organizations looking to optimize their SAP BW implementations on the mainframe platform, specifically using IBM's z/OS operating system. #### Audience The target ...
【Mainframe Q&A】主要涵盖了在大型机领域中的一些核心技术和工具,包括CICS、COBOL、JCL、VASM以及DB2。这些技术在企业级应用中扮演着重要角色,尤其在金融、保险、航空等行业的核心系统中。 **COBOL与COBOL II** ...
IBM大型机,通常被称为Mainframe,是IBM公司推出的一种高性能、高可靠性的计算机系统,主要用于处理大规模的事务处理、数据库管理、以及企业级的应用。在金融、电信、保险等行业,IBM Mainframe因其卓越的性能、安全...
- 在Mainframe上,DB2可以运行在DMS(Data Management System)或Z/OS环境中。 - 数据库管理涉及的概念包括表空间、分区、索引、视图、触发器等。 - SQL调优是DB2管理员的重要工作,包括查询改写、索引选择和统计...
用户可以通过它执行各种Mainframe上的任务,如运行CICS(Customer Information Control System)和IMS(Information Management System)等应用程序。 2. **绿色软件的优势** 作为一款“绿色”软件,x3220不需要...