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

All source files giving the 'Failed to save file xxxxx unable to write file' message #1375

Closed
AndyGildroy opened this issue Jun 15, 2023 · 46 comments
Labels
info-needed More information is requied from the issuer

Comments

@AndyGildroy
Copy link

Hi, very new user to VS Code but this seems to happen for any source file I try to save ...not sure what I have done wrong - the profile I've used to connect should have all permissions needed - it's the same one I use on green screen SEU. A 'side issue' is that it seems to be obliterating the the source on the IBMi before trying/failing to save. Hope someone can help

Thanks In advance
Andy

@worksofliam
Copy link
Contributor

After you try to save the file, can you share the Code for IBM i output in the Output tab?

@AndyGildroy
Copy link
Author

Thanks such a prompt reply ...the output in the output tab doesn't seem to be changing updating when I try to save

@ffleer
Copy link

ffleer commented Jun 17, 2023

I have the same problem but only if the file size exceeds 100 KB ?!!

@ffleer
Copy link

ffleer commented Jun 17, 2023

And what’s worse it also clears the source physical file member.

@AndyGildroy
Copy link
Author

Yes that's happening here too

@worksofliam
Copy link
Contributor

Folks, we really need the Code for IBM i output channel content (found in the drop-down on the Output tab) in order to debug these issues.

Thanks!

@worksofliam worksofliam added the info-needed More information is requied from the issuer label Jun 17, 2023
@RolandStrauss
Copy link

Hi Liam, I believe the issue #1329 (I logged), could be the same as described here. I have attached various logs to #1329 and output as requested. Maybe my logs there could assist

@ffleer
Copy link

ffleer commented Jun 19, 2023

Folks, we really need the Code for IBM i output channel content (found in the drop-down on the Output tab) in order to debug these issues.

Thanks!

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/FI4101) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFI4487580)

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/F4101LA) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF41487583)

CPF3012: FILE FI4101 IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.
CPF3012: FILE F4101LA IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/F4101LB) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF41487881)

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/F4101LC) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF41487883)

CPF3012: FILE F4101LB IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/FHCP9201) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC488144)

CPF3012: FILE F4101LC IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/F9201) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF92488209)

CPF3012: FILE FHCP9201 IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/FHCP1000) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC488415)

CPF3012: FILE F9201 IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/FHCP1000LA) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC488471)

CPF3012: FILE FHCP1000 IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/FHCP1001) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC488692)

CPF3012: FILE FHCP1000LA IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/FHCP1001LB) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC488750)

CPF3012: FILE FHCP1001 IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/F0101) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF01488935)

CPF3012: FILE FHCP1001LB IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/FHCP1005) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC488998)

CPF3012: FILE FHCP1005 IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.
CPF9861: OUTPUT FILE RF01488935 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RF01488935 ADDED TO OUTPUT FILE RF01488935 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 76 RECORDS ADDED TO MEMBER RF01488935 IN FILE RF01488935 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/RHCP1000) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RRHC489315)

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
DSPFFD FILE(*LIBL/F0005) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF00489795)

CPF3012: FILE RHCP1000 IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.
CPF3012: FILE F0005 IN LIBRARY *LIBL NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 QGPL JD_CBNFQ7
Commands:
CHKOBJ OBJ(JDPLIBSW7/JDELESRC) OBJTYPE(*FILE) AUT(*UPD)

CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

@ffleer
Copy link

ffleer commented Jun 19, 2023

Changing the library list to fix the "File not found" errors does not make a difference.
I no longer get any messages in the "Output" tab.

@ffleer
Copy link

ffleer commented Jun 19, 2023

After restart of VS I now get this (normal) output but still unable to save and clear of src-pf mbr:

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
CHKOBJ OBJ(JDPLIBSW7/JDELESRC) OBJTYPE(*FILE) AUT(*UPD)

CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/FI4101) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFI4970678)

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/F4101LA) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF41970681)

CPF9861: OUTPUT FILE RFI4970678 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RFI4970678 ADDED TO OUTPUT FILE RFI4970678 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 131 RECORDS ADDED TO MEMBER RFI4970678 IN FILE RFI4970678 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.
CPF9861: OUTPUT FILE RF41970681 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RF41970681 ADDED TO OUTPUT FILE RF41970681 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 131 RECORDS ADDED TO MEMBER RF41970681 IN FILE RF41970681 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/F4101LB) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF41971639)

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/F4101LC) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF41971655)

CPF9861: OUTPUT FILE RF41971639 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RF41971639 ADDED TO OUTPUT FILE RF41971639 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 131 RECORDS ADDED TO MEMBER RF41971639 IN FILE RF41971639 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.
CPF9861: OUTPUT FILE RF41971655 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RF41971655 ADDED TO OUTPUT FILE RF41971655 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 131 RECORDS ADDED TO MEMBER RF41971655 IN FILE RF41971655 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/FHCP9201) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC972739)

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/F9201) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF92972879)

CPF9861: OUTPUT FILE RFHC972739 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RFHC972739 ADDED TO OUTPUT FILE RFHC972739 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 25 RECORDS ADDED TO MEMBER RFHC972739 IN FILE RFHC972739 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.
CPF9861: OUTPUT FILE RF92972879 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RF92972879 ADDED TO OUTPUT FILE RF92972879 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 25 RECORDS ADDED TO MEMBER RF92972879 IN FILE RF92972879 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/FHCP1000) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC973677)

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/FHCP1000LA) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC973809)

CPF9861: OUTPUT FILE RFHC973677 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RFHC973677 ADDED TO OUTPUT FILE RFHC973677 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 20 RECORDS ADDED TO MEMBER RFHC973677 IN FILE RFHC973677 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.
CPF9861: OUTPUT FILE RFHC973809 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RFHC973809 ADDED TO OUTPUT FILE RFHC973809 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 20 RECORDS ADDED TO MEMBER RFHC973809 IN FILE RFHC973809 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/FHCP1001) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC974640)

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/FHCP1001LB) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC974803)

CPF9861: OUTPUT FILE RFHC974640 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RFHC974640 ADDED TO OUTPUT FILE RFHC974640 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 16 RECORDS ADDED TO MEMBER RFHC974640 IN FILE RFHC974640 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.
CPF9861: OUTPUT FILE RFHC974803 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RFHC974803 ADDED TO OUTPUT FILE RFHC974803 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 16 RECORDS ADDED TO MEMBER RFHC974803 IN FILE RFHC974803 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/F0101) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF01975669)

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/FHCP1005) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RFHC975796)

CPF9861: OUTPUT FILE RF01975669 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RF01975669 ADDED TO OUTPUT FILE RF01975669 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 76 RECORDS ADDED TO MEMBER RF01975669 IN FILE RF01975669 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.
CPF9861: OUTPUT FILE RFHC975796 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RFHC975796 ADDED TO OUTPUT FILE RFHC975796 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 14 RECORDS ADDED TO MEMBER RFHC975796 IN FILE RFHC975796 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/RHCP1000) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RRHC976467)

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(*LIBL/F0005) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RF00976607)

CPF9861: OUTPUT FILE RRHC976467 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RRHC976467 ADDED TO OUTPUT FILE RRHC976467 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 22 RECORDS ADDED TO MEMBER RRHC976467 IN FILE RRHC976467 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.
CPF9861: OUTPUT FILE RF00976607 CREATED IN LIBRARY ILEDITOR.
CPF9862: MEMBER RF00976607 ADDED TO OUTPUT FILE RF00976607 IN LIBRARY ILEDITOR.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.
CPF3030: 13 RECORDS ADDED TO MEMBER RF00976607 IN FILE RF00976607 IN ILEDITOR.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

@worksofliam
Copy link
Contributor

@ffleer last question: do you have SQL enabled and source dates enabled?

@ffleer
Copy link

ffleer commented Jun 19, 2023

yes "Enable Source Dates" and "Enable SQL" are both enabled.

@ffleer
Copy link

ffleer commented Jun 19, 2023

Disabling SQL did not make a difference BUT disabling Source Dates DOES !

@AndyGildroy
Copy link
Author

Hi
**_Folks, we really need the Code for IBM i output channel content (found in the drop-down on the Output tab) in order to debug these issues.

Thanks!_**

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/PCMACHPF) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RPCM858967)

CPF3012: File PCMACHPF in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/PCORDL0) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RPCO859998)

CPF3012: File PCORDL0 in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/PCSCHPF) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RPCS860354)

CPF3012: File PCSCHPF in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/PCCRITPF) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RPCC860679)

CPF3012: File PCCRITPF in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/HRJCIML1) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RHRJ861035)

CPF3012: File HRJCIML1 in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/PCHAZPF) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RPCH861361)

CPF3012: File PCHAZPF in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/HRJNFCPF) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RHRJ861687)

CPF3012: File HRJNFCPF in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/HRJNFCL2) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RHRJ861954)

CPF3012: File HRJNFCL2 in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/COSIZEL1) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RCOS862253)

CPF3012: File COSIZEL1 in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/HRJBOML1) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RHRJ862556)

CPF3012: File HRJBOML1 in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/PCLEADPF) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RPCL862832)

CPF3012: File PCLEADPF in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/PCFNWDPF) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RPCF863115)

CPF3012: File PCFNWDPF in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/HRJFITPF) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RHRJ863386)

CPF3012: File HRJFITPF in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/HRJGPRL1) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RHRJ863678)

CPF3012: File HRJGPRL1 in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/HRJGPCL3) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RHRJ863961)

CPF3012: File HRJGPCL3 in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/HRJFACPF) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RHRJ864247)

CPF3012: File HRJFACPF in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/HRJGCHL1) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RHRJ864528)

CPF3012: File HRJGCHL1 in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/DCSCIU) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RDCS864784)

CPF3012: File DCSCIU in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/IC198XPF) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RIC1865045)

CPF3012: File IC198XPF in library *LIBL not found.

Current library: QGPL
Library list: QTEMP QGPL ORDLIB WRKSPLFRPG ADTSLAB RUPERT
Commands:
DSPFFD FILE(*LIBL/IC198XDWW) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RIC1865321)

CPF3012: File IC198XDWW in library *LIBL not found.

SQL is enabled... tried disabling Source Dates ...unfortunately didn't solve the problem for me...

@ffleer
Copy link

ffleer commented Jun 19, 2023

If I disable "Source Dates" I can save my source code without any errors. The output tab is then empty.

@AndyGildroy
Copy link
Author

thanks for the suggestion ffleer ...still not working for me with any combination of SQL and source dates enabled or disabled ....am getting the message: Failed to save 'nw040xr.rpgle': Unable to write file 'member:/WOWILLIAM/qrpglesrc/nw040xr.rpgle' (CPDA08C: Database file CCSID is 65535.
CPFA095: Stream file not copied.) though ...I think this is slightly more information than before....

@ffleer
Copy link

ffleer commented Jun 19, 2023

thanks for the suggestion ffleer ...still not working for me with any combination of SQL and source dates enabled or disabled ....am getting the message: Failed to save 'nw040xr.rpgle': Unable to write file 'member:/WOWILLIAM/qrpglesrc/nw040xr.rpgle' (CPDA08C: Database file CCSID is 65535. CPFA095: Stream file not copied.) though ...I think this is slightly more information than before....

And you did not forget to save your settings and restart VS ? Sorry had to ask :-)
I have both sql and source date unticked and I can now save sources > 100 KB.

@AndyGildroy
Copy link
Author

And you did not forget to save your settings and restart VS ? Sorry had to ask :-)
I have both sql and source date unticked and I can now save sources > 100 KB.

Yep have saved (both unticked) and restarted VS but still getting the same message :(

@worksofliam
Copy link
Contributor

@AndyGildroy your issue is different from some of the other users here.

Database file CCSID is 65535.
CPFA095

This means your source file is 65535 (that's not good, btw)

You can override this by setting the default source file CCSID in the settings.

@AndyGildroy
Copy link
Author

@worksofliam thank you + noted will look into that ....it's probably one of several things in need of update/modernisation here ....Have changed the setting to 65535 but am still getting the message : Failed to save 'nw040xr.rpgle': Unable to write file 'member:/WOWILLIAM/qrpglesrc/nw040xr.rpgle' (CPD0085: Range of parameter DBFCCSID does not include 65535.
CPF0006: Errors occurred in command.) ...are there more changes I need to make in the settings?

@AndyGildroy
Copy link
Author

Would the recommended CCSID be 00285 for UK source physical members?

@ffleer
Copy link

ffleer commented Jun 19, 2023 via email

@AndyGildroy
Copy link
Author

OK big thanks again Frank (and Liam too) ...I'd better look into that

@ffleer
Copy link

ffleer commented Jul 13, 2023

So just to be clear we can use VS Code but we can't have the source line dates. That makes VS Code unusable for our production environment.

@chrjorgensen
Copy link
Collaborator

@ffleer Are you on the latest release 2.0.0 of Code for IBM i? It has a change to the save operation when using source dates (to avoid clearing the member when error occurs).

Scanning your output log, I think you may have some CCSID issues (because of the error CPF427D: SUBSTITUTION CHARACTERS MAY BE USED IN DATA CONVERSION.). Have you checked your CCSID settings for your user and PASE and the source file?

We have also seen issues with members having SEU colour codes - do you have any of these?

@ffleer
Copy link

ffleer commented Jul 13, 2023

Hi Christian,

Thanks for your feedback, I’m on:

Version: 1.79.2 (user setup)
Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06
Date: 2023-06-14T08:57:04.379Z
Electron: 22.5.7
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.19045

After update I’m on:

Version: 1.80.0 (user setup)
Commit: 660393deaaa6d1996740ff4880f1bad43768c814
Date: 2023-07-04T15:06:02.407Z
Electron: 22.3.14
ElectronBuildId: 21893604
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Windows_NT x64 10.0.19045

So this is not version 2.0.0. I will do some testing and let you know the outcome.

@ffleer
Copy link

ffleer commented Jul 13, 2023

Ah yes version 2.0.0 is what I have for Code for IBM i.
Well if I switch on source dates again I get the "Failed to save xxxx.rplge: Unable to write file" again.

@ffleer
Copy link

ffleer commented Jul 13, 2023

There is one change - The source member is no longer cleared. So that is good.

@worksofliam
Copy link
Contributor

So just to be clear we can use VS Code but we can't have the source line dates. That makes VS Code unusable for our production environment.

@ffleer with the new 2.0.0 update, please share the contents of your Code for IBM i output channel after the member doesn't save.

image

@ffleer
Copy link

ffleer commented Jul 13, 2023

This is in OUTPUT

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
CHKOBJ OBJ(W_FF00150/QRPGLESRC) OBJTYPE(*FILE) AUT(*UPD)

CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

Current library: W_FF00150
Library list: QTEMP OPSSLIBW OPSSLIBQ OPSSLIBP OPSOLIBW OPSOLIBQ JD_SECFQ7 W_FF00150 JD_CBNFQ7 CDPL150FQ7 JDPLIBOP7 JD_LSCFQ7 JDPSHARE JD_COMFX7 QGPL
Commands:
DSPFFD FILE(QTEMP/FHEIM) OUTPUT(*OUTFILE) OUTFILE(ILEDITOR/RQTE508610)

CPF3012: FILE FHEIM IN LIBRARY QTEMP NOT FOUND.
CPC2206: OWNERSHIP OF OBJECT QZSHSYSTEM IN QTEMP TYPE *USRSPC CHANGED.

@ffleer
Copy link

ffleer commented Jul 13, 2023

image

@ffleer
Copy link

ffleer commented Jul 13, 2023

I only changed the uppercase R to lowercase.

@ffleer
Copy link

ffleer commented Jul 13, 2023

It almost looks asif CPF3012 causes the trouble.
If I edit a very simple file with no external links I can save OK and the code looks OK too.

@chrjorgensen
Copy link
Collaborator

@ffleer What's the character in the source member in the comment lines //(?)------?
It's a character, that could not be converted to UTF-8 (required for VS Code).

If it's a SEU colour code (hex values x'21' etc), you have two choices:

  1. Remove the code
  2. Activate Show Seu Colors in Code for IBM i settings:
    image

I would strongly advice option 1 - to remove these characters! They are only useful in SEU and SEU is not useful!! 😜
After this, try your open again...

@ffleer
Copy link

ffleer commented Jul 13, 2023

Yes removing the x'22' (highlight comment line) from the source line did indeed fix the editor hick up.
I still can't save the member though.

@chrjorgensen
Copy link
Collaborator

Please clear the Code for IBM i output, try your save operation and provide the OUTPUT here after getting the error.

@ffleer
Copy link

ffleer commented Jul 13, 2023

When I removed ALL X'22' from the source code the save works !!!

@chrjorgensen
Copy link
Collaborator

Great to hear! Hope you find Code for IBM i more useful and more compatible to all your environments.

@ffleer
Copy link

ffleer commented Jul 13, 2023

I like it a lot but all of our legacy code is full with x'22' (and others). Not everybody will be happy if these get removed. Anyway, I will certainly continue with Code for IBM i. Thanks for your support.

@chrjorgensen
Copy link
Collaborator

Go ahead and use Code for IBM i to full extent - and then show your colleagues just how much better experience it is then clinging on to SEU:

No color codes are necessary, VS Code will show the source in color by itself. 😍

@ffleer
Copy link

ffleer commented Jul 14, 2023

It would be very nice if Code for IBM i replaces X'22' (and other color attributes) with X'40' (space). This would make life much easier. This could be a config setting.

@chrjorgensen
Copy link
Collaborator

You can replace the colour codes for spaces using SQL on the server.

Here is a SQL procedure, that will do what you want:

create or replace procedure QGPL.Remove_SEU_colour_codes( 
  Lib varchar( 10 )
, Fil varchar( 10 )
, Mbr varchar( 10 )
)

begin
  execute immediate 'create or replace alias QTEMP.MEMBER for ' concat Lib concat '/' concat Fil concat '(' concat Mbr concat ')';

  update QTEMP.MEMBER
     set SRCDTA = translate( SRCDTA, ' ', x'2021222324252628292C2D3031323334353638393A3B3C3D3E' );

  drop alias QTEMP.MEMBER;

  call SYSTOOLS.LPRINTF( 'Source member ' concat Mbr concat ' in ' concat Lib concat '/' concat Fil concat ' has been cleaned for SEU colour codes.' );
end  

You call it like this:

call QGPL.Remove_SEU_colour_codes( LIB => '<library>', FIL => '<sourcefile>', MBR => '<member>' )

This can be expanded with a SQL procedure to loop through all members in a source file and call Remove_SEU_colour_codes for each member - or whatever you can think of...

@ffleer
Copy link

ffleer commented Jul 14, 2023

Yes that is exactly what I do but it is a bit of a pain because we can not change production source code. Only when the program is checked out to development we can change it. Each time we then need to run a SQL command (or call a procedure). Thanks for your help anyway.

@chrjorgensen
Copy link
Collaborator

I don't think Code for IBM i should change the source "behind the scenes"... maybe you could make the source cleanup part of your source checkout to development, so you don't have to run it manually...

@worksofliam
Copy link
Contributor

What is the status here?

cc @chrjorgensen: I reckon we should close this.

@AndyGildroy
Copy link
Author

OK with me all my questions well answered :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed More information is requied from the issuer
Projects
None yet
Development

No branches or pull requests

5 participants