Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Relation to EXEC  





2 XEDIT Macros  





3 History  





4 References  





5 External links  














EXEC 2






Українська
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


EXEC 2 is an interpreted, command procedure control, computer scripting language used by the EXEC 2 Processor originally supplied with the CMS component of the IBM Virtual Machine/System Product (VM/SP) operating system.[1]

Relation to EXEC

[edit]

EXEC 2 is mostly compatible[2] with CMS EXEC but EXEC 2 scripts must begin with an &TRACE statement. Some EXEC statements and predefined variables do not exist in EXEC 2, although in some cases there are analogs. There are some minor differences in some statements and predefined functions.

EXEC 2 has the following enhancements:[3]

Some statemts of EXEC are not supported in EXEC 2, including:

Some predefined variables of EXEC are not defined in EXEC2:

XEDIT Macros

[edit]

XEDIT Macros are files with filetype XEDIT, whose contents are written using the syntax of CMS EXEC, EXEC 2 or REXX.[5] Like regular EXEC 2 "EXEC" command files, they begin with a "&TRACE" statement,[5] to distinguish them from CMS EXEC files.

History

[edit]

Written in the 1970s[6] and formally introduced for CMS with VM/SP Release 1, EXEC 2 was preceded by CMS EXEC and superseded by REXX.

All three command interpreters—CMS EXEC, EXEC 2 and REXX — continue to be supported by z/VM.

References

[edit]
  1. ^ Varian, Melinda. "VM AND THE VM COMMUNITY: Past, Present, and Future" (PDF). Retrieved March 14, 2012.
  • ^ "Appendix A: CMS EXEC and EXEC 2 Relationship". IBM Virtual Machine/Sysrem Product: EXEC 2 Reference - Program Number 5664-167 - Release 2 (PDF). IBM. pp. 48–55. SC24-5219-1. Retrieved April 29, 2022. {{cite book}}: |work= ignored (help)
  • ^ IBM Corporation. "EXEC 2 Processor and CMS EXEC Processor". Retrieved March 14, 2012.
  • ^ "EXEC 2 Processor and CMS EXEC Processor". IBM.
  • ^ a b EXEC 2 Reference (PDF). p. 92. Archived from the original (PDF) on 2017-01-20. Retrieved 2017-12-03.
  • ^ "EXEC 2".
  • [edit]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=EXEC_2&oldid=1209027317"

    Categories: 
    IBM mainframe operating systems
    Scripting languages
    VM (operating system)
    Hidden category: 
    CS1 errors: periodical ignored
     



    This page was last edited on 19 February 2024, at 23:56 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki