OPS/REXX Language SupportThe OPS/REXX language is a crucial part of the Broadcom OPS/MVS® product that adds to standard REXX a set of extensions to automate and enhance the productivity of z/OS operations. With the OPS/REXX Language Support extension (OPS/REXX LS), automation engineers can develop OPS/MVS Automated Operations Facility (AOF) rules and OPS/REXX programs more efficiently by editing OPS/REXX in a local VS Code environment. OPS/REXX LS includes the following features:
We encourage you to share ideas to help improve OPS/REXX Language Support. You can also report issues in the extension, using the following link. Address Software RequirementsOPS/REXX LS requires no prerequisite software. Use the following recommended software with OPS/REXX LS for the best experience:
Using a REXX language support extension provides a full range of REXX syntax highlighting, not just highlighting for OPS/REXX syntax. Using the OPS/MVS REST API and a Zowe Explorer profile that contains connection information allows you to issue OPS/MVS commands and invoke OPS/REXX programs from within VS Code. REXX Language Support ExtensionFor correct display of full REXX syntax highlighting, use a REXX language support extension. OPS/REXX LS has been tested for compatibility with the REXX Language Support extension. OPS/MVS REST APIEstablish a connection with your mainframe OPS/MVS instance using the OPS/MVS REST API as described in the OPS/MVS documentation. A connection to one or more OPS/MVS instances allows you to work with the AOF rules in your mainframe environment and to issue OPS/MVS commands from VS Code. Configure OPS/REXX LS for Access to OPS/MVS
Zowe Explorer![]() Use Zowe Explorer to access mainframe code while using OPS/REXX LS. For more information about the Zowe Explorer extension, see Zowe Explorer on the VS Code marketplace. OPS/REXX LS is Zowe Explorer V3 Conformant. The Zowe Conformance Program ensures a high level of common functionality, interoperability, and user experience while using an extension that leverages Zowe. For more information, see Zowe Conformance Program. Configure OPS/REXX LS for Use with Zowe Explorer To ensure that data sets not containing those first lines and accessed through Zowe Explorer are recognized by the extension as .opsrexx files, you must create a file association in your VS Code settings to associate data sets that contain OPS/REXX rules with the To create a file association for a data set:
After completing these steps, you can use Zowe Explorer to access OPS/REXX files in data set members and use the full features of OPS/REXX LS. Use OPS/REXX LSOPS/REXX programs and rules are automatically recognized when opened in VS Code in the following cases:
When OPS/REXX programs and rules are recognized, syntax highlighting and basic error checking on AOF rules and OPS/REXX program syntax is enabled by default. Additional features of OPS/REXX LS are available depending on context and your configuration. OPS/REXX Hover InsightsPlace and hold your cursor over an OPS/REXX element to view more information about it. Hover insights are available for OPS/REXX built-in functions, host environments, or AOF event variable names. AutocompletionAutocompletion works for the following OPS/REXX language elements:
To trigger autocompletion of AOF variables, enter Built-in function autocompletion is triggered automatically when you type an OPS/REXX built-in function or host environment name. OPS/REXX SnippetsBefore you write AOF rules from scratch, check the snippet library for any applicable rule snippets. Using snippets promotes consistent and correct syntax in the rules you design. To use the snippet library:
If you know the name of the snippet you want to use, you can begin typing the name of the snippet in the editor and select from the list of suggestions. OPS/MVS CommandsIssuing OPS/MVS commands from OPS/REXX LS requires an OPS/MVS REST API connection as described in "OPS/MVS REST API". You can use OPS/REXX LS to issue the following OPS/MVS commands:
With a data set that contains OPS/REXX rules open in the Zowe Explorer sidebar, to issue OPS/MVS commands:
You can also issue commands for an open OPS/REXX rule or program by using the VS Code Command Palette (
After a command is issued, the VS Code window displays a status message. If a command fails, a detailed error message displays. Issue Commands Using the Right-Click Menu The right-click menu provides quick access to OPS/MVS commands from the Zowe Explorer sidebar. Issue the Execute Program with Parameters Command Use the Command Palette to execute OPS/MVS programs that require parameter input. Search OPSLOG Records Use the OPS/MVS: Search OPSLOG Records command to search the live OPSLOG. You can specify parameters to search for specific text in the OPSLOG. If you select Submit Search without specifying parameters, you can browse the most recent records or the oldest records from the specified OPSLOG.
OPS/MVS Automation SamplesOPS/MVS distributes sample AOF rules, OPS/REXX programs, and user exits that demonstrate various aspects of automating operations in a mainframe environment. You can use Zowe Explorer to copy these samples to your own library, and use the OPS/MVS Language Extension to develop, manage, and run your versions of these samples. For a complete listing of the automation samples that are included with OPS/MVS, see Sample Automation in the OPS/MVS documentation. Privacy NoticeThe extensions for Visual Studio Code developed by Broadcom Inc., including its corporate affiliates and subsidiaries, ("Broadcom") are provided free of charge, but in order to better understand and meet its users’ needs, Broadcom may collect, use, analyze and retain anonymous users’ metadata and interaction data, (collectively, “Usage Data”) and aggregate such Usage Data with similar Usage Data of other Broadcom customers. Please find more detailed information in License and Service Terms & Repository. Technical Assistance and SupportOPS/REXX Language Support is made available to customers on the Visual Studio Code Marketplace in accordance with the terms and conditions contained in the provided End-User License Agreement (EULA). If you are on active support for OPS/MVS, you get technical assistance and support in accordance with the terms, guidelines, details, and parameters that are located within the Broadcom Working with Support guide. This support generally includes: Telephone and online access to technical support Ability to submit new incidents 24x7x365 24x7x365 continuous support for Severity 1 incidents 24x7x365 access to Broadcom Support Interactive remote diagnostic support Technical support cases must be submitted to Broadcom in accordance with guidance provided in “Working with Support”.
Copyright © 2025 Broadcom. The term "Broadcom" refers to Broadcom Inc. and/or its subsidiaries. |