ibmi-brunch-learn

Announcement

Collapse
No announcement yet.

VS code not showing the members

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VS code not showing the members

    I created a filter in object browser, I gave library name and object name as * and object type as *SRCPF, But the object browser is not expanding and I am not able to view the members.

    Is there something wrong with my settings.json file?


    "code-for-ibmi.connectionSettings": [
    {
    "name": "######",
    "host": "",
    "objectFilters": [
    {
    "name": "Filter 1",
    "library": "LEVEL2SQL",
    "object": "Q*",
    "types": [
    "*SRCPF"
    ],
    "member": "*",
    "memberType": "*",
    "protected": false,
    "buttons": "SAVE"
    },​image.png

    Click image for larger version

Name:	image.png
Views:	376
Size:	4.8 KB
ID:	158513​​
    Attached Files

  • #2
    Nothing obvious there - unless that "image.jpg" is really there.

    Also the comma before the "image" thing is spurious if you really only have one filter.

    If that is not an answer open an issue on the support forum and one of the team will advise.

    Comment


    • #3
      JonBoy , the image is not actually there in the code, it came when I tried to paste the screen shot at the wrong place!!. I tried to create multiple filters, that explains the comma.
      I now noticed that I am not authorized to command strtcpsvr. Will that create this issue ?

      Comment


      • #4
        JonBoy But Jon, I tried to create some RPG code in IFS browser using VS code and I am able to view those in green screen. Even without strtcpsvr authority.

        Comment


        • #5
          Originally posted by nishar View Post
          [USER="317"]
          I now noticed that I am not authorized to command strtcpsvr. Will that create this issue ?
          How did you "notice"?

          As far as I know all communications are via SSH which requiores that the SSHD daemon have been started on the host. Since you can sign on etc. that all appears to be in order - somebody else must have started it. The STRTCPSVR command is only needed to start the various servers.

          Can you see anything in the DB2 view?

          Have you looked at the log for the Code for i components? See the image below for where to select this.

          If nothing obvious jumps out ypou really do need to just open a bug report here: Click image for larger version

Name:	2023-04-13_16-01-11.png
Views:	359
Size:	47.7 KB
ID:	158521

          Click image for larger version

Name:	image.png
Views:	361
Size:	151.0 KB
ID:	158520

          Comment

          Working...
          X