PL1 Column 1 Significance #21
Labels
priority-medium
Should be resolved in 1-3 sprints
severity-low
A bug that makes the usage of the Zowe less convenient but doesn't impact key use cases
These special columns should be detected and ignored. Typically, source code (PL/I statements) appears between columns 2–72.
Column 1 is for printer control and columns 73–80 for sequence numbers. The source code may indicate its own format with a line such as *PROCESS MARGINS(2,72) [compiler option]. In many cases, this line doesn't exist, and the columns are either defined with a compiler switch or system default values are used.
Currently, If we use Column 1 - PL/I compiler gives an error like "The END statement has no matching BEGIN, DO, PACKAGE, PROC, or SELECT. This may indicate a problem with the syntax of a previous statement..."
VSCode extension gives different errors once you use Col1:
"Could not resolve reference to LabelPrefix named ..." or "Expecting token of type ':' but found ..." maybe there are more.
In this case we need to validate column 1 with error message like "Column 1 is reserved by PL/1 for internal usage, please start coding from Column 2" once user uses Col1 for coding.
The text was updated successfully, but these errors were encountered: