sponsor Vim development Vim logo Vim Book Ad

PLI-Tools : Syntax, Indent and Goodies for IBM's Mainframe-PLI

 script karma  Rating 7/4, Downloaded by 1620  Comments, bugs, improvements  Vim wiki

created by
Michael Fitz
 
script type
utility
 
description
Syntax-highlighting and indenting for IBM's PLI on mainframes (MVS; LE/390; z/OS etc.) when using the PLIOPT-Compiler.
Does recognize embedded SQL and CICS.
Supports matchit-plugin
Smart uppercasing (only source, no strings and/or comments)
 
install details
1) copy the 3 pli.vim-files in the correct directories:
ftplugin\pli.vim
syntax\pli.vim
indent\pli.vim


2) add into your runtime\filetype.vim this lines:
---BEG
" PLI
au BufNewFile,BufRead *.PLI setf pli
---END

3) add into your runtime\synmenu.vim this lines (maybe you have to change the position-numbers):
---BEG
an 50.80.235 &Syntax.PQ.PLI :cal SetSyn("pli")<CR>
---END

4) Be sure you use a color-schema which defines these highlights (or modify your schema or syntax\pli.vim).
Items marked by '*****' are very usually not in your environment!

---BEG
Builtin   *****    
CICS_Statement   *****
Comment
Error
Identifier
IncludeFile   *****
Label
Number
Operator
PreProc   *****
SQL_Statement   *****
Statement
String
Todo
Type
---END

5) Vartabs
To have comfortable tabstops you should install vimscript #785 too, or you have to deactivate the corresponding line in runtime\ftplugin\PLI.vim.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
PLI_tools.ZIP 2.0 2014-01-25 6.0 Michael Fitz Some minor improvements and corrections.
Expanded for z/OS (thanks to Ricky Wu, see #2685)
pli_tools.zip 1.0 2004-06-17 6.0 Michael Fitz Initial upload
ip used for rating: 44.204.164.147

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github