vscode-ibmi icon indicating copy to clipboard operation
vscode-ibmi copied to clipboard

New member features getAttributes() and countMembers() don't know about iASP

Open m-tyler opened this issue 9 months ago β€’ 4 comments

I recently updated to 2.10.1 and I noticed that the source file hover does not work well for my environment. Looking at the output channel I see several shell commands that use folder paths without our iASP named. In prior versions I did not need to define our ASP in the connections. I set the iASP value on the connection -> source tab and it had no effect on the results.


Context Version
Code for IBM i version 2.10.1
Visual Studio Code version 1.88.1
Operating System win32_x64
Active extensions
Auto Hide (fork) (vscode-autohide-fork): 1.0.9
Calculator (calculator): 0.1.1
Code Spell Checker (code-spell-checker): 3.0.1
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.5.0
Db2 for IBM i (vscode-db2i): 1.0.0
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.17.0
Excel Viewer (gc-excelviewer): 4.2.59
Git (git): 1.0.0
Git Base (git-base): 1.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
Hawkeye Pathfinder (vscode-ibmi-hawkeye): 0.0.4
IBM i Debug (ibmidebug): 1.0.0
JSON Language Features (json-language-features): 1.0.0
Merge Conflict (merge-conflict): 1.0.0
Node Debug Auto-attach (debug-auto-launch): 1.0.0
Overtype (overtype): 0.5.0
Partial Diff (partial-diff): 1.4.3
RPGLE (vscode-rpgle): 0.26.6
Rainbow CSV (rainbow-csv): 3.11.0
Rocket DevOps (rdo-vsc-ibmi): 10.3.1
TODO Highlight (vscode-todo-highlight): 1.0.5
Text Marker (Highlighter) (text-marker): 1.11.0
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
classdiagram-ts (classdiagram-ts): 0.1.67
undefined (indent-rainbow): 8.3.1

Remote system
Setting Value
IBM i OS V7R5M0
Tech Refresh 3
CCSID Origin user
Runtime CCSID 37
Default CCSID 37
SQL Enabled
Source dates Enabled

Enabled features

/QOpenSys/pkgs/bin /usr/bin /QSYS.LIB /QIBM/ProdData/IBMiDebugService/bin
bash attr ILEDITOR.GETMBRINFO QZDFMDB2.PGM startDebugService.sh
git iconv
grep setccsid
ls
md5sum
sort
stat
tar
tn5250
Shell env
BUILDLIB=PGMT
CURLIB=PGMT
HOME=/home/PGMT
HOST=400devl.go.winco.local
LIBLS=QTEMP QGPL HAWKEYE WFISRC WAEOBJ WAEDTA ACMSLIB AFPTOOL SPLTOOL TAATOOL WFIOBJ WFIHST WFINEP WFIDTA WFIQUAL WFIINTG DTSDCDTA DTSCNTRL DTSUSER DTSQUAL DTSQUAL92 DTSINTG DTSINTG92 DEVOBJ DEVDTA DEVSRC DEVQUAL WSBSRC WSBOBJ WSBDTA WSBQUAL WSBINTG WSBUSR WIASPUSR PGMT
LMI_REL_IDLIB=WFIOBJ
LMI_REL_IDLIBS=WFIOBJ,WFICVT
LOGIN=pgmt
LOGNAME=pgmt
MAIL=/var/spool/mail/pgmt
NUMPCR=2066900, 2075400, 2072100
OLDPWD=/home/PGMT
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
PCR=PCR2066900, PCR2075400, PCR2072100
PROFILENAME=BASE: PGMT
PWD=/home/PGMT
REL=BASE
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
SSH_CLIENT=172.16.5.87 63082 22
SSH_CONNECTION=172.16.5.87 63082 10.0.4.31 22
TZ=<MST>7<MDT>,M3.2.0,M11.1.0
USER=pgmt
USERNAME=PGMT
WORKDIR=/home/PGMT
_=/QOpenSys/pkgs/bin/env
Variants
{
  "american": "#@$",
  "local": "#@$"
}
Errors
[
  /QSYS.LIB/PGMT.LIB/CVTSRC.FILE: ls | wc -l
  {
      "code": 0,
      "signal": null,
      "stdout": "29",
      "stderr": "bash: line 1: cd: /QSYS.LIB/PGMT.LIB/CVTSRC.FILE: No such file or directory"
  }
  
  /home/PGMT: /usr/bin/attr -p /QSYS.LIB/PGMT.LIB/CVTSRC.FILE CCSID
  {
      "code": 1,
      "signal": null,
      "stdout": "",
      "stderr": "attr: 001-2248 Error found getting attributes for file /QSYS.LIB/PGMT.LIB/CVTSRC.FILE.  No such path or directory."
  }
]

m-tyler avatar May 07 '24 16:05 m-tyler

@sebjulliand is this worth putting the detailed property back into the getObjectList API? Or just sticking the ASP in the path?

worksofliam avatar May 07 '24 19:05 worksofliam

Let me have a look at this tomorrow or the day after. I have a couple of ideas 😊

Le mar. 7 mai 2024, 21:16, LJ @.***> a Γ©crit :

@sebjulliand https://github.com/sebjulliand is this worth putting the detailed property back into the getObjectList API? Or just sticking the ASP in the path?

β€” Reply to this email directly, view it on GitHub https://github.com/codefori/vscode-ibmi/issues/2039#issuecomment-2099131513, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACUVGORQRPA5PONHZ66KOU3ZBER7DAVCNFSM6AAAAABHLKBZI6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJZGEZTCNJRGM . You are receiving this because you were mentioned.Message ID: @.***>

sebjulliand avatar May 07 '24 19:05 sebjulliand

Sorry for being a pain in the *** about this.

m-tyler avatar May 07 '24 19:05 m-tyler

Sorry for being a pain in the *** about this.

No worries, that will just cost you a beer 😁 Just kidding. I've got it fixed though!

sebjulliand avatar May 08 '24 12:05 sebjulliand