Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Terminal: qsh: 001-0019 Error found searching for command [[. No such path or directory. #1535

Closed
SJLennon opened this issue Sep 11, 2023 · 4 comments · Fixed by #1741
Closed

Comments

@SJLennon
Copy link
Contributor

Error message seems to show up consistent;y in all compiles. So far does not seem to cause any problems but I thought I should report it.

Simple code to demo it. Compile with CRTRPGMOD.

**free 
Dcl-S msg          Char(20)   inz('Any stuff');
DSPLY (msg);
RETURN;

At the bottom of the terminal:

Module SQLPROBLEM placed in library LENNONS1. 00 highest severity. Created on 09/11/23 at 21:52:07.
           * * * * *   E N D   O F   C O M P I L A T I O N   * * * * *
                                                    -=* http://pub400.com *=-
qsh: 001-0019 Error found searching for command [[. No such path or directory.

Fetching errors for LENNONS1/SQLPROBLEM.
 *  Terminal will be reused by tasks, press any key to close it. 

Complete Terminal:

Current library: LENNONSB
Library list: QIWS QTEMP QGPL LENNONSB LENNONS1
Commands:
                CRTRPGMOD MODULE(LENNONS1/SQLPROBLEM) SRCFILE(LENNONS1/A_CONV) OPTION(*EVENTF) DBGVIEW(*SOURCE) TGTRLS(*CURRENT)

CPI2126:  AUT parameter ignored.
CPI2121:  Replaced object SQLPROBLEM type *MODULE was moved to QRPLOBJ.
RNS9305:  Module SQLPROBLEM placed in library LENNONS1. 00 highest severity. Created on 09/11/23 at 21:52:07.
CPC0904:  Data area RETURNCODE created in library QTEMP.
  5770WDS V7R5M0  220415 RN        IBM ILE RPG             LENNONS1/SQLPROBLEM      PUB400     09/11/23 21:52:07        Page      1
   Command  . . . . . . . . . . . . :   CRTRPGMOD
     Issued by  . . . . . . . . . . :     LENNONS
   Module . . . . . . . . . . . . . :   SQLPROBLEM
     Library  . . . . . . . . . . . :     LENNONS1
   Text 'description' . . . . . . . :   *SRCMBRTXT
   Source Member  . . . . . . . . . :   SQLPROBLEM
   Source File  . . . . . . . . . . :   A_CONV
     Library  . . . . . . . . . . . :     LENNONS1
     CCSID  . . . . . . . . . . . . :     37
   Text 'description' . . . . . . . :
   Last Change  . . . . . . . . . . :   09/11/23  21:51:59
   Generation severity level  . . . :   10
   Compiler options . . . . . . . . :   *XREF      *GEN       *NOSECLVL  *SHOWCPY
                                        *EXPDDS    *EXT       *NOSHOWSKP *NOSRCSTMT
                                        *DEBUGIO   *UNREF     *EVENTF
   Debugging views  . . . . . . . . :   *SOURCE
   Debug encryption key . . . . . . :   *NONE
   Output . . . . . . . . . . . . . :   *PRINT
   Optimization level . . . . . . . :   *NONE
   Source listing indentation . . . :   *NONE
   Type conversion options  . . . . :   *NONE
   Sort sequence  . . . . . . . . . :   *HEX
   Language identifier  . . . . . . :   *JOBRUN
   Replace module . . . . . . . . . :   *YES
   Authority  . . . . . . . . . . . :   *LIBCRTAUT
   Truncate numeric . . . . . . . . :   *YES
   Fix numeric  . . . . . . . . . . :   *NONE
   Target release . . . . . . . . . :   *CURRENT
   Allow null values  . . . . . . . :   *NO
   Storage model . . .  . . . . . . :   *INHERIT
   Binding directory  . . . . . . . :   *NONE
   Define condition names . . . . . :   *NONE
   Enable performance collection  . :   *PEP
   Profiling data . . . . . . . . . :   *NOCOL
   Licensed Internal Code options . :
   Generate program interface . . . :   *NO
   Include directory  . . . . . . . :
   Preprocessor options . . . . . . :   *NONE
   Require prototype for export . . :   *NO
                                                    -=* http://pub400.com *=-
  5770WDS V7R5M0  220415 RN        IBM ILE RPG             LENNONS1/SQLPROBLEM      PUB400     09/11/23 21:52:07        Page      2
 Line   <---------------------- Source Specifications ----------------------------------------------------->  Do  Change Src Seq
 Number ....+....1....+....2....+....3....+....4....+....5....+....6....+....7....+....8....+....9....+...10  Num Date   Id  Number
                           S o u r c e   L i s t i n g
      1 **free                                                                                                    000000     000100
      2 Dcl-S msg          Char(20)   inz('Any stuff');                                                           000000     000200
      3 DSPLY (msg);                                                                                              000000     000300
      4 RETURN;                                                                                                   000000     000400
        * * * * *   E N D   O F   S O U R C E   * * * * *
                                                    -=* http://pub400.com *=-
  5770WDS V7R5M0  220415 RN        IBM ILE RPG             LENNONS1/SQLPROBLEM      PUB400     09/11/23 21:52:07        Page      3
           A d d i t i o n a l   D i a g n o s t i c   M e s s a g e s
  Msg id  Sv Number Seq     Message text
  * * * * *   E N D   O F   A D D I T I O N A L   D I A G N O S T I C   M E S S A G E S   * * * * *
                                                    -=* http://pub400.com *=-
  5770WDS V7R5M0  220415 RN        IBM ILE RPG             LENNONS1/SQLPROBLEM      PUB400     09/11/23 21:52:07        Page      4
                           C r o s s   R e f e r e n c e
       File and Record References:
          File              Device             References (D=Defined)
            Record
          No references in the source.
       Global Field References:
          Field             Attributes         References (D=Defined M=Modified)
          MSG               A(20)                   2D      3
       Indicator References:
          Indicator                            References (D=Defined M=Modified)
        * * * * *   E N D   O F   C R O S S   R E F E R E N C E   * * * * *
                                                    -=* http://pub400.com *=-
  5770WDS V7R5M0  220415 RN        IBM ILE RPG             LENNONS1/SQLPROBLEM      PUB400     09/11/23 21:52:07        Page      5
                       E x t e r n a l   R e f e r e n c e s
       Statically bound procedures:
          Procedure                            References
          No references in the source.
       Imported fields:
          Field             Attributes         Defined
          No references in the source.
       Exported fields:
          Field             Attributes         Defined
          No references in the source.
    * * * * *   E N D   O F   E X T E R N A L   R E F E R E N C E S   * * * * *
                                                    -=* http://pub400.com *=-
  5770WDS V7R5M0  220415 RN        IBM ILE RPG             LENNONS1/SQLPROBLEM      PUB400     09/11/23 21:52:07        Page      6
                           M e s s a g e   S u m m a r y
  Msg id  Sv Number Message text
        * * * * *   E N D   O F   M E S S A G E   S U M M A R Y   * * * * *
                                                    -=* http://pub400.com *=-
  5770WDS V7R5M0  220415 RN        IBM ILE RPG             LENNONS1/SQLPROBLEM      PUB400     09/11/23 21:52:07        Page      7
                             F i n a l   S u m m a r y
   Message Totals:
     Information  (00) . . . . . . . :        0
     Warning      (10) . . . . . . . :        0
     Error        (20) . . . . . . . :        0
     Severe Error (30+)  . . . . . . :        0
     ---------------------------------  -------
     Total . . . . . . . . . . . . . :        0
   Source Totals:
     Records . . . . . . . . . . . . :        4
     Specifications  . . . . . . . . :        3
     Data records  . . . . . . . . . :        0
     Comments  . . . . . . . . . . . :        0
          * * * * *   E N D   O F   F I N A L   S U M M A R Y   * * * * *
 Module SQLPROBLEM placed in library LENNONS1. 00 highest severity. Created on 09/11/23 at 21:52:07.
           * * * * *   E N D   O F   C O M P I L A T I O N   * * * * *
                                                    -=* http://pub400.com *=-
qsh: 001-0019 Error found searching for command [[. No such path or directory.

Fetching errors for LENNONS1/SQLPROBLEM.
 *  Terminal will be reused by tasks, press any key to close it. 

⚠️ REMOVE THIS LINE AND ANY SENSITIVE INFORMATION BELOW! ⚠️

Context Version
Code for IBM i version 2.2.0
Visual Studio Code version 1.81.1
Operating System win32_x64
Active extensions
CL (vscode-clle): 1.1.2
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.3.1
Db2 for IBM i (vscode-db2i): 0.4.1
Emmet (emmet): 1.0.0
Error Lens (errorlens): 3.13.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
GitLens — Git supercharged (gitlens): 14.3.0
IBM i Notebooks (vscode-ibmi-notebooks): 0.0.6
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
Overtype (overtype): 0.5.0
RPGLE (vscode-rpgle): 0.21.4
RPGLE Free (vscode-rpgfree): 0.0.26
TypeScript and JavaScript Language Features (typescript-language-features): 1.0.0
WSL: Recommender (remote-wsl-recommender): 0.0.19

Remote system
Setting Value
IBM i OS V7R5M0
Tech Refresh n/a
CCSID 37
SQL Enabled
Source dates Disabled

Enabled features

/QOpenSys/pkgs/bin /usr/bin /QSYS.lib/LENNONS2.lib /QSYS.LIB /QIBM/ProdData/IBMiDebugService/bin
bash attr GENCMDXML.PGM QZDFMDB2.PGM startDebugService.sh
chsh iconv GETNEWLIBL.PGM
git setccsid
grep
ls
md5sum
sort
stat
tar
tn5250
Shell env
BUILDLIB=LENNONSB
CURLIB=LENNONSB
HOME=/home/LENNONS
HOST=pub400.com
IFS_LIB=LENNONSB
IFS_SRCPF=VSCODE
LIB1=LENNONSB
LIBLS=LENNONS1 LENNONSB QGPL QTEMP QIWS
LOGIN=lennons
LOGNAME=lennons
MAIL=/var/spool/mail/lennons
OLDPWD=/home/LENNONS
PASE_USRGRP_LIMITED=N
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin
PWD=/home/LENNONS
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
SSH_CLIENT=71.63.120.199 50917 2222
SSH_CONNECTION=71.63.120.199 50917 185.113.5.134 2222
TZ=<UTC>0
USER=lennons
USERNAME=lennons
_=/QOpenSys/pkgs/bin/env
Variants
{
  "american": "#@$",
  "local": "#@$"
}
Errors
[
  {
    "command": "for f in /QSYS.LIB/LENNONSB.LIB/QRPGLESRC.FILE/&.MBR /QSYS.LIB/QIWS.LIB/QRPGLESRC.FILE/&.MBR /QSYS.LIB/QTEMP.LIB/QRPGLESRC.FILE/&.MBR /QSYS.LIB/QGPL.LIB/QRPGLESRC.FILE/&.MBR /QSYS.LIB/LENNONSB.LIB/QRPGLESRC.FILE/&.MBR /QSYS.LIB/LENNONS1.LIB/QRPGLESRC.FILE/&.MBR; do if [ -f $f ]; then echo $f; break; fi; done",
    "code": 2,
    "stderr": "bash: -c: line 1: syntax error near unexpected token `&'\nbash: -c: line 1: `cd /home/lennons/IBMi_IFS_Dev ; for f in /QSYS.LIB/LENNONSB.LIB/QRPGLESRC.FILE/&.MBR /QSYS.LIB/QIWS.LIB/QRPGLESRC.FILE/&.MBR /QSYS.LIB/QTEMP.LIB/QRPGLESRC.FILE/&.MBR /QSYS.LIB/QGPL.LIB/QRPGLESRC.FILE/&.MBR /QSYS.LIB/LENNONSB.LIB/QRPGLESRC.FILE/&.MBR /QSYS.LIB/LENNONS1.LIB/QRPGLESRC.FILE/&.MBR; do if [ -f $f ]; then echo $f; break; fi; done'",
    "cwd": "/home/lennons/IBMi_IFS_Dev"
  },
  {
    "command": "system \"CRTLIB LIB(LENNONS2) TEXT('Code for i temporary objects. May be cleared.')\"",
    "code": 255,
    "stderr": "CPD0032: Not authorized to command CRTLIB in library *LIBL.\nCPF0006: Errors occurred in command.",
    "cwd": "/home/LENNONS"
  },
  {
    "command": "system \"DLTOBJ OBJ(LENNONS2/O_*) OBJTYPE(*FILE)\"",
    "code": 255,
    "stderr": "CPF2125: No objects deleted.",
    "cwd": "/home/LENNONS"
  }
]
@worksofliam
Copy link
Contributor

@worksofliam
Copy link
Contributor

Similar issue:

image

@worksofliam
Copy link
Contributor

BTW I think we found how to fix the issue but the downside is we've only been able to fix it and not understand what causes it.

#1747 is the PR.

@SJLennon
Copy link
Contributor Author

@worksofliam @chrjorgensen
Thanks. PUB400 is working much better.
(Astounded by how much code you guys crank out.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants