On 10/5/2023 4:21 PM, Art Tostaine, Jr. wrote:
That did work. But I still get that keyword DBGVIEW specified more than
once. Is there someplace it's grabbing it from?
I apologise that I haven't been following along.
The compile commands are stored in the workspace, but it's sort of
complicated to unravel by eye.
On my 9.6.12, I used Cygwin and grep to find all of the files with
CRTSQLRPGI in them. Probably the most interesting references for this
thread are in
.metadata/.plugins/org.eclipse.rse.core/profiles/YOUR_PROFILE_HERE/PS.compilecommand.ibmi-qsys-845607/node.properties
9.8 is very similar.
If you inspect this file, you'll see a tree-like structure.
Mine looks like this (for SQLROGLE language type):
06-child.00032.00-name=SQLRPGLE
06-child.00032.01-type=PropertySet
06-child.00032.03-attr.description=null
06-child.00032.06-child.00000.00-name=type
06-child.00032.06-child.00000.01-type=Property
06-child.00032.06-child.00000.03-attr.type=java.lang.String
06-child.00032.06-child.00000.03-attr.value=compiletype
06-child.00032.06-child.00001.00-name=name
06-child.00032.06-child.00001.01-type=Property
06-child.00032.06-child.00001.03-attr.type=java.lang.String
06-child.00032.06-child.00001.03-attr.value=SQLRPGLE
06-child.00032.06-child.00002.00-name=lastcompilename
06-child.00032.06-child.00002.01-type=Property
06-child.00032.06-child.00002.03-attr.type=java.lang.String
06-child.00032.06-child.00002.03-attr.value=CRTSQLRPGI
06-child.00032.06-child.00003.00-name=sourcetype
06-child.00032.06-child.00003.01-type=Property
06-child.00032.06-child.00003.03-attr.type=java.lang.String
06-child.00032.06-child.00003.03-attr.value=SQLRPGLE
06-child.00032.06-child.00004.00-name=CRTSQLRPGI
06-child.00032.06-child.00004.01-type=PropertySet
06-child.00032.06-child.00004.03-attr.description=null
06-child.00032.06-child.00004.06-child.00000.00-name=id
06-child.00032.06-child.00004.06-child.00000.01-type=Property
06-child.00032.06-child.00004.06-child.00000.03-attr.type=java.lang.String
06-child.00032.06-child.00004.06-child.00000.03-attr.value=com.ibm.CRTSQLRPGI
06-child.00032.06-child.00004.06-child.00001.00-name=name
06-child.00032.06-child.00004.06-child.00001.01-type=Property
06-child.00032.06-child.00004.06-child.00001.03-attr.type=java.lang.String
06-child.00032.06-child.00004.06-child.00001.03-attr.value=CRTSQLRPGI
06-child.00032.06-child.00004.06-child.00002.00-name=type
06-child.00032.06-child.00004.06-child.00002.01-type=Property
06-child.00032.06-child.00004.06-child.00002.03-attr.type=java.lang.String
06-child.00032.06-child.00004.06-child.00002.03-attr.value=compilename
06-child.00032.06-child.00004.06-child.00003.00-name=nature
06-child.00032.06-child.00004.06-child.00003.01-type=Property
06-child.00032.06-child.00004.06-child.00003.03-attr.type=java.lang.String
06-child.00032.06-child.00004.06-child.00003.03-attr.value=IBM defined
06-child.00032.06-child.00004.06-child.00004.00-name=default
06-child.00032.06-child.00004.06-child.00004.01-type=Property
06-child.00032.06-child.00004.06-child.00004.03-attr.type=java.lang.String
06-child.00032.06-child.00004.06-child.00004.03-attr.value=CRTSQLRPGI
OBJ(&O/&N) SRCFILE(&L/&F) SRCMBR(&N) REPLACE(&R) OPTION(*EVENTF)
DBGVIEW(*SOURCE)
06-child.00032.06-child.00004.06-child.00005.00-name=current
06-child.00032.06-child.00004.06-child.00005.01-type=Property
06-child.00032.06-child.00004.06-child.00005.03-attr.type=java.lang.String
06-child.00032.06-child.00004.06-child.00005.03-attr.value=CRTSQLRPGI
OBJ(&O/&N) SRCFILE(&L/&F) SRCMBR(&N) REPLACE(&R) OPTION(*EVENTF)
DBGVIEW(*SOURCE)
06-child.00032.06-child.00004.06-child.00006.00-name=menu
06-child.00032.06-child.00004.06-child.00006.01-type=Property
06-child.00032.06-child.00004.06-child.00006.03-attr.type=java.lang.String
06-child.00032.06-child.00004.06-child.00006.03-attr.value=Both
06-child.00032.06-child.00004.06-child.00007.00-name=order
06-child.00032.06-child.00004.06-child.00007.01-type=Property
06-child.00032.06-child.00004.06-child.00007.03-attr.type=java.lang.String
06-child.00032.06-child.00004.06-child.00007.03-attr.value=0
06-child.00032.06-child.00004.06-child.00008.00-name=labeleditable
06-child.00032.06-child.00004.06-child.00008.01-type=Property
06-child.00032.06-child.00004.06-child.00008.03-attr.type=java.lang.String
06-child.00032.06-child.00004.06-child.00008.03-attr.value=false
You can see that there are several children.
For CRTSQLRPGI, I have two: 'IBM defined' at 00003.00, and 'current' at
00004.00.
What's in yours?
I've made a custom command to create SQLRPGI modules:
06-child.00032.06-child.00007.00-name=CRTSQLRPGI mod
06-child.00032.06-child.00007.01-type=PropertySet
06-child.00032.06-child.00007.03-attr.description=null
06-child.00032.06-child.00007.06-child.00000.00-name=id
06-child.00032.06-child.00007.06-child.00000.01-type=Property
06-child.00032.06-child.00007.06-child.00000.03-attr.type=java.lang.String
06-child.00032.06-child.00007.06-child.00000.03-attr.value=user.CRTSQLRPGI
mod
06-child.00032.06-child.00007.06-child.00001.00-name=name
06-child.00032.06-child.00007.06-child.00001.01-type=Property
06-child.00032.06-child.00007.06-child.00001.03-attr.type=java.lang.String
06-child.00032.06-child.00007.06-child.00001.03-attr.value=CRTSQLRPGI mod
06-child.00032.06-child.00007.06-child.00002.00-name=type
06-child.00032.06-child.00007.06-child.00002.01-type=Property
06-child.00032.06-child.00007.06-child.00002.03-attr.type=java.lang.String
06-child.00032.06-child.00007.06-child.00002.03-attr.value=compilename
06-child.00032.06-child.00007.06-child.00003.00-name=nature
06-child.00032.06-child.00007.06-child.00003.01-type=Property
06-child.00032.06-child.00007.06-child.00003.03-attr.type=java.lang.String
06-child.00032.06-child.00007.06-child.00003.03-attr.value=User defined
06-child.00032.06-child.00007.06-child.00004.00-name=default
06-child.00032.06-child.00007.06-child.00004.01-type=Property
06-child.00032.06-child.00007.06-child.00004.03-attr.type=java.lang.String
06-child.00032.06-child.00007.06-child.00004.03-attr.value=null
06-child.00032.06-child.00007.06-child.00005.00-name=current
06-child.00032.06-child.00007.06-child.00005.01-type=Property
06-child.00032.06-child.00007.06-child.00005.03-attr.type=java.lang.String
06-child.00032.06-child.00007.06-child.00005.03-attr.value=CRTSQLRPGI
OBJ(&O/&N) SRCFILE(&L/&F) SRCMBR(&N) COMMIT(*CHG) OBJTYPE(*MODULE)
OPTION(*EVENTF) RPGPPOPT(*LVL1) REPLACE(&R) DBGVIEW(*SOURCE)
06-child.00032.06-child.00007.06-child.00006.00-name=menu
06-child.00032.06-child.00007.06-child.00006.01-type=Property
06-child.00032.06-child.00007.06-child.00006.03-attr.type=java.lang.String
06-child.00032.06-child.00007.06-child.00006.03-attr.value=Both
06-child.00032.06-child.00007.06-child.00007.00-name=order
06-child.00032.06-child.00007.06-child.00007.01-type=Property
06-child.00032.06-child.00007.06-child.00007.03-attr.type=java.lang.String
06-child.00032.06-child.00007.06-child.00007.03-attr.value=3
06-child.00032.06-child.00007.06-child.00008.00-name=labeleditable
06-child.00032.06-child.00007.06-child.00008.01-type=Property
06-child.00032.06-child.00007.06-child.00008.03-attr.type=java.lang.String
06-child.00032.06-child.00007.06-child.00008.03-attr.value=true
If you are not comfortable editing this file (I'm an inveterate tinkerer
- not everyone is!), I'd imagine the most efficient way to get back to
normal is to File > Export your config, create a new workspace, File >
Import everything except the compile commands.
As an Amazon Associate we earn from qualifying purchases.