Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CobolMacroNew to Visual Studio Code? Get it now.
CobolMacro

CobolMacro

csiseg

|
211 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

segtestseq README

Features

LIMITED USE CASE.

Created with the intended use of updating sequence numbers in COBOL sources in the first 6 positions of each line.

This will inspect the source for line numbers in the first 6 positions of each line. It will determine if a number exists and if it is greater than the line before it.
- If it is, it will conitnue on to the next line. - If it is not, it will update the sequence number to the next iteration based on the increment number provided by the user (default = 2)

Requirements

n/a

Extension Settings

To use: Open file you wish to resequence then enter CTRL+SHIFT+P and run COBOL Macro: Seq

When you run 'COBOL Macro: Seq', user will be prompted for the increment value for each line not in sequence.
- User can cancel Macro during prompt and file will be uneffected - If sequence line numbers ever become greater than 999999, an error will be thrown with the line number of where it occured.

Known Issues

N/A

Release Notes

Initial Release.

0.0.5

Also trim any characters &/or whitespace past column 80, as it was causing issues with uploads/debug runs. 09/21/2021

0.0.4

Prevent MarcID (column 73+) from getting cleared during execution. 09/01/2021

0.0.3

Corrected macro call. For real this time.

0.0.2

Corrected macro call

0.0.1

Initial release of COBOL Macro: Seq - 06/28/21


Enjoy!

Steps for updating and publishing:

  • open CobolMacro folder in Visual Studio Code
  • Make needed changes to extension.js
  • test using "Run and Debug"
  • Update package.json with new version number
  • Update this readme file with the changes being made.
  • Save all files
  • vsce publish -p {personalAccessToken} - No brackets
  • GO to https://marketplace.visualstudio.com/ to view published extensions
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft