COBOL Language Support - extension CPY unsupported
search cancel

COBOL Language Support - extension CPY unsupported

book

Article ID: 212200

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Visual studio Code : 1.51.1
Explorer for Endevor : 0.11.1
COBOL Language Support : V0.18.0

Endevor Type definition for COPYBOOK

DISPLAY ----------------------  TYPE DEFINITION  ------------------------------
COMMAND ===>
CURRENT ENV:  XXXXXXX    STAGE ID:  T   SYSTEM:  XXXXX      TYPE:  COPY
NEXT ENV   :  XXXXXXX    STAGE ID:  A   SYSTEM:  XXXXX      TYPE:  COPY

DESCRIPTION:  ===> COBOL COPYBOOK
UPDATED:           15MAR21 15:34 BY ########
             -----------------  ELEMENT OPTIONS  -------------------
DELTA FORMAT(F/R/I/L) ===> R  SOURCE LEN   ===> 80     ELE RECFM(N/F/V) ===> N
COMPRESS/ENCRYPT(Y/N) ===> N  COMPARE FROM ===> 7      DFLT PROC  ===> *NOPROC*
AUTO CONSOL (Y/N)     ===> Y  COMPARE TO   ===> 72     LANGUAGE   ===> COBOL
CONSOL AT LVL  ===> 96        REGRESSION   ===> 75     PV/LB LANG ===> COBOL
LVLS TO CONSOL ===> 49        REG SEV(I/W/C/E)  ===> W DATA FORMAT(T/B) ===> T
USS RECFM(COMP/CR/CRLF/CRNL/F/LF/NL/V)     ===> CRLF   FILE EXT   ===> CPY

Extracted a copy ######.CPY from Endevor using Endevor explorer extension in VS code.

On Visual Studio Code, an issue is generated on the output the LSP extension for COBOL Language Support.

[Error - 8:42:17 AM] The given document extension is unsupported: CPY



Environment

Release : All Supported Releases

Component : EXPLORER FOR ENDEVOR

Visual studio Code : 1.51.1
Explorer for Endevor : 0.11.1
COBOL Language Support : V0.18.0

Resolution

Cobol Language Support works for file extension CPY and cpy. 

The misleading error message The given document extension is unsupported: CPY will be removed from the next Cobol Language Support extension release.