-
Notifications
You must be signed in to change notification settings - Fork 98
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
Source file defined CCSID 65535 does not show members in the filter #2360
Comments
Notice you're on the Service Entry Point menu option. Switch it over to Code for IBM i |
Click me
|
Interesting, because I can see the list in the result set from your log. Can I ask you to try this on our pre-release version? Go to where you install VS Code in the Extension view, and select 'Switch to pre-release'. Then restart VS Code and give it another go. Please switch back to the standard release when you're done if it doesn't work. |
Still not showing in the Filter. Output below: Click me
|
@begwhite Are you able to open the dev console and see if there are any errors appearing after you try and load the list? Help -> Toggle Developer Tools -> Console |
2console.ts:137 [Extension Host] [Code for IBM i] Deprecation warning: you are using Instance::onEvent which is deprecated and will be removed in v3.0.0. Please use Instance::subscribe instead. |
@begwhite What version of the OS is this? Are you also on the latest Db2 PTF? |
V7R5M0 5770999 |
5770SS1 TC24151 TEMPORARILY APPLIED |
@begwhite I've seen this problem before and I don't think it's got anything to do with CCSID. I can see the result set back with this statement: with MEMBERS as ( select rtrim(cast(a.SYSTEM_TABLE_SCHEMA as char(10) for bit data)) as LIBRARY, b.AVGROWSIZE as RECORD_LENGTH, a.IASP_NUMBER as ASP, rtrim(cast(a.SYSTEM_TABLE_NAME as char(10) for bit data)) AS SOURCE_FILE, rtrim(cast(b.SYSTEM_TABLE_MEMBER as char(10) for bit data)) as NAME, coalesce(rtrim(cast(b.SOURCE_TYPE as varchar(10) for bit data)), '') as TYPE, coalesce(rtrim(varchar(b.PARTITION_TEXT)), '') as TEXT, b.NUMBER_ROWS as LINES, extract(epoch from (b.CREATE_TIMESTAMP))*1000 as CREATED, extract(epoch from (b.LAST_SOURCE_UPDATE_TIMESTAMP))*1000 as CHANGED from QSYS2.SYSTABLES as a join QSYS2.SYSPARTITIONSTAT as b on ( b.SYSTEM_TABLE_SCHEMA, b.SYSTEM_TABLE_NAME ) = ( a.SYSTEM_TABLE_SCHEMA, a.SYSTEM_TABLE_NAME ) ) select * from MEMBERS where LIBRARY = 'V841WLXO' and SOURCE_FILE = 'QRPGLESRC' and NAME like '%' and TYPE like '%' order by NAME ASC But after the result, it's throwing this error:
I found a couple of other issues where this has come up and this comment sums it up best. If you run that statement in ACS, do you also find that some of the timestamp columns are messed up? |
@begwhite I am going to close the issue as I can see the data messed up in your result set and there isn't much we/Code for IBM i can do about that right now (though I did here maybe some is working on a PR to solve it). I would recommend following through with what the other comment said
|
I found the member with the bad creation date and copied it to a new member and deleted the old member and the filter now displays the members. The SQL I used was as follows:
|
Type: Bug
Some source files defined with CCSID 65535 do not show members in the filter. Other source files also defined with CCSID 65535 do show their members as we are using the server Settings Source Code Source file CCSID override set to 37, but some source files in various libraries continue not to show members.
Extension version: 2.13.6
VS Code version: Code 1.95.3 (f1a4fb101478ce6ec82fe9627c43efbf9e98c813, 2024-11-13T14:50:04.152Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: