Skip to content

Procedure Calls Require Brackets Error Incorrectly Flagged #477

@BrianGodsend

Description

@BrianGodsend

The "Procedure calls require brackets." is incorrectly flagged on subfields of qualified data structures and within exec sql blocks of code when a previously declared procedure name matches the subfield or the SQL statement.

In the attached example, procedures named time and open have been declared.

The "Procedure calls require brackets." is incorrectly flagged on the myStruct.time subfield declaration and the OPEN statement of the exec sql block of code in the mainline

test.sqlrpgle.txt

.


Context Version
Code for IBM i version 2.18.0
Visual Studio Code version 1.106.3
Operating System win32_x64
Active extensions
.NET Install Tool (vscode-dotnet-runtime): 3.0.0
Atlassian: Jira, Rovo Dev, Bitbucket (atlascode): 4.0.11
COBOL (cobol): 25.12.5
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.5.0
Configuration Editing (configuration-editing): 1.0.0
Db2 for IBM i (vscode-db2i): 1.15.1
Dev Containers (remote-containers): 0.431.1
ESLint (vscode-eslint): 3.0.20
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.26.0
Extension Authoring (extension-editing): 1.0.0
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
GitHub Pull Requests (vscode-pull-request-github): 0.122.1
GitLens — Git supercharged (gitlens): 17.7.1
HTML CSS Support (vscode-html-css): 2.0.13
IBM i Debug (ibmidebug): 3.0.2
IBM i Project Explorer (vscode-ibmi-projectexplorer): 2.12.3
JSON Language Features (json-language-features): 1.0.0
Merge Conflict (merge-conflict): 1.0.0
Microsoft Account (microsoft-authentication): 0.0.1
NPM support for VS Code (npm): 1.0.1
Node Debug Auto-attach (debug-auto-launch): 1.0.0
Nx Console (angular-console): 18.81.0
Path Intellisense (path-intellisense): 2.10.0
Prettier - Code formatter (prettier-vscode): 11.0.2
Prettier Java Plugin (prettier-plugin-java-vscode): 1.0.3
RPGLE (vscode-rpgle): 0.33.3
Reload (reload): 0.0.7
Source Orbit (vscode-sourceorbit): 1.4.1
TODO Highlight (vscode-todo-highlight): 1.0.5
Todo Tree (todo-tree): 0.0.226
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
WSL (remote-wsl): 0.104.3
YAML (vscode-yaml): 1.19.1

Remote system
Setting Value
IBM i OS V7R4M0
Tech Refresh 7
CCSID Origin 37
Runtime CCSID 37
Default CCSID 37
SSHD CCSID ?
cqsh true
SQL Enabled
Source dates Disabled

Enabled features

/QOpenSys/pkgs/bin /usr/bin /QSYS.lib/ILEDITOR.lib /QSYS.LIB /QIBM/ProdData/IBMiDebugService/bin /QOpenSys/QIBM/ProdData/JavaVM/jdk80
bash attr GETNEWLIBL.PGM QZDFMDB2.PGM startDebugService.sh 64bit
chsh iconv
find setccsid
git uname
grep
ls
md5sum
sort
stat
tar
tn5250
Shell env
BUILDLIB=QGPL
CURLIB=QGPL
PASE_USRGRP_LIMITED=N
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin:/QOpenSys/usr/bin:/usr/bin
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
TZ=<EST>5<EDT>,M3.2.0,M11.1.0
_=/QOpenSys/pkgs/bin/env
Variants
{
  "american": "#@$",
  "local": "#@$",
  "qsysNameRegex": {}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions