SQL iQuery for #IBMi (aka Q38) (@sqliquery) header
SQL iQuery for #IBMi (aka Q38) (@sqliquery) profile picture

Transform your legacy Query/400 to modern SQL while also being able to easily run native Db2 for i SQL from CL or the Web.

Chicago, IL
Joined July 2018
Photo by SQL iQuery for #IBMi (aka Q38) (@sqliquery)Photo by SQL iQuery for #IBMi (aka Q38) (@sqliquery)Photo by SQL iQuery for #IBMi (aka Q38) (@sqliquery)Photo by SQL iQuery for #IBMi (aka Q38) (@sqliquery)Photo by SQL iQuery for #IBMi (aka Q38) (@sqliquery)Photo by SQL iQuery for #IBMi (aka Q38) (@sqliquery)Photo by SQL iQuery for #IBMi (aka Q38) (@sqliquery)Photo by SQL iQuery for #IBMi (aka Q38) (@sqliquery)Photo by SQL iQuery for #IBMi (aka Q38) (@sqliquery)Photo by SQL iQuery for #IBMi (aka Q38) (@sqliquery)
Replying to @notesofbarry
@notesofbarry in VS Code for i, how do I compile a non-RPG app? I'm coding C++ for i and need to compile it but all I see are CRTPGM and CRTSRVPGM listed when Cmd+E is pressed (on MacOS)
1
1
124
Try removing all the new lines. I think it’s documented that each line is run individually.
1
40
Yes, that's what I did before posting the last note. I removed all newlines & made it wordwrap. Which solved the issue. I had a similar issue with cut/paste in ACS RUNSQL Scripts where the paste embeds newlines & passes them on UDTF parameters causing an issue for list parms. Thx
1
297
Replying to @sqliquery
Works from 5250?
2
51
Further tests shows that it is seeing the secondary lines of the command as separate commands instead of one long one. See this image:
1
33
Replying to @notesofbarry
Yes. I checked on CRTCPPMOD has a default SRCFILE parameter of SRCFILE(*LIBL/QCPPSRC) so for some reason when run through QSH or via VSCODE, it isn't passing or perhaps not seeing the SRCFILE parameter option. NOTE: If I CHGCMDDFT on the server to QCSRC, it obviously works.
24
Replying to @sqliquery
Hover over the connection name in the status bar and select Actions in the hover menu. Also search ‘actions’ in our docs
1
1
69
Thanks. Must be some issue with the CPP compiler. It just gives an error looking for QCPPSRC which I've never seen before on 5250 CL commands.
1
1
76
Autism rates by country as of 2024. Anyone have any idea why there's such a stark difference between developed, developing, and undeveloped nations? Is it increased awareness, or something else?
1,028
260
70
1,904
446,548
Not a Doctor, but likely due to food availability and content. Meaning processed food, food additives and of course the number of "forever chemicals" in our bodies in Developed/ing countries. (those without good laws/regulations concerning food)
6
Replying to @notesofbarry
@notesofbarry what do I need to do to get VSCode for I to connect to a V7R2 system when this message is displayed? "Timeout while waiting for handshake" Besides SSHD, is there something else that needs to be opened up? (e.g., Ports?)
2
78
Bob, I am able to connect to a 7.2 machine just fine. At some shops, they might not allow direct connection via port 22. So you might need to forward your port. Hope this helps.
1
1
18
Replying to @sqliquery
SSHD should be good. Can you connect with regular ssh? Btw we don’t officially support 7.2
1
1
42
This is a client's system. A Power9 with V7R2. They're using an IP white-list instead of a VPN to provide access. I don't think I've ever used SSH to do anything so the answer is haven't tried.
20
Happy Hubble telescope clock rollover day, everyone. With a 32-bit unsigned integer tracking time in 1/8 of a second, Hubble's clock rolls over to 0 every 17 years or so. Today was the 2nd time in Hubble's lifetime that this happened. Move along. #Hubble
81
With the shrinking & inactive #IBMi market and lack of interest in paid 3rd party software, I have decided to release SQL iQuery for free. It is now available over on my GitHub page github.com/bobcozzi/SQLiQuer… The legacy sqliquery.com website will be shut down June 1 2024
1
1
9
369
Might I recommend creating a release (on GitHub) and attaching the save files to it instead of Dropbox? Any plans to add the source code to the repository?
2
4
220
Okay, it let me attach both save files to the Release. I left the original links to the dropbox download as well for now. Thanks for the suggestion!
1
3
100
Replying to @notesofbarry
I thought I looked at that but the have a 25MB limit on files. Perhaps that limit isn't imposed for Releases? IDK
29
Seriously encoding issues with CCSID 420 are killing me. There is a one byte difference here 😮‍💨
1
1
4
470
From the Bytes posted, i guess we just can exclude a CR/LF versus LF problem, as there is no 13 before the 10.
1
37
Unless its Mac OS in which case it is LF/CR not CR/LF IIRC.
1
26
Replying to @IntNostalgia
Someone writing Task Manager in MFC?
6
1
84
14,613
I enjoyed using MFC. Before they created "tabbed dialogs" for use non-MS coders, I created one in the community that is currently still being used today by a Retailing in their Point-of-Sale customer signature capture routine.
1
3
328
Sure would be nice to have EDIT on Twitter/X 😁
1
24
Updated our SQL Tools for IBM i package. The new SQL Function POWER_SCHEDULE returns the entries of the "GO POWER" schedule you've set up. Check it out today. SQLiQuery.com/SQLTools
62
Slide from a presentation I'm preparing. These skills can future-proof your career regardless of whether your primary platform is #IBMi or other. Any thoughts/agreements/disagreements?
3
1
12
559
It'll likely change by at least 80% in 3 to 5 years. So I think "future proof" unlikely. No standards (i.e., "everything is open source") means "next week" the newest tech de jour appears for its 15 minutes of fame.
1
1
67
Why can you not rely on it working? Genuinely curious so we can fix that
1
1
51
Some things in VS Code get broken and then fixed "right away". Not necessarily a CODE for i issue, verses a VSC component or plug. As a former S/38, AS/400 and now IBM i developer, I'm unfamiliar with bugs induced by frequent updates. Once that adolescents passes, I'm all in.
66