Skip to main content
Oct 2, 2020 12:46 AM UTC

LCSNAME source missing

We need to update LCSNAME due to the way we're having to do our upgrade.  Unfortunately, we only have the binary .cob file.  Does anyone have the source or a way to decompile the .cob file?

I appreciate any assistance,

Linda Praed

    7 replies

    Dominique Sacre
    Rocketeer
    Oct 2, 2020 5:20 AM UTC

    We need to update LCSNAME due to the way we're having to do our upgrade.  Unfortunately, we only have the binary .cob file.  Does anyone have the source or a way to decompile the .cob file?

    I appreciate any assistance,

    Linda Praed

    Unfortunately, that's not possible.  Even if it could be decompiled, it would look like an assembly language, and not COBOL. 

    I don't know what LCSNAME is or what it does. The only thing I can suggest is that, if the changes are fairly minor, you can put a wrapper around it to fix whatever needs to  be changed.  That might be simpler than re-creating it.

    Oct 3, 2020 1:32 AM UTC

    Unfortunately, that's not possible.  Even if it could be decompiled, it would look like an assembly language, and not COBOL. 

    I don't know what LCSNAME is or what it does. The only thing I can suggest is that, if the changes are fairly minor, you can put a wrapper around it to fix whatever needs to  be changed.  That might be simpler than re-creating it.

    Thank you Uwe.
    (there are still some of us that speak Assembler).
    Dominique Sacre
    Rocketeer
    Oct 5, 2020 10:04 PM UTC

    We need to update LCSNAME due to the way we're having to do our upgrade.  Unfortunately, we only have the binary .cob file.  Does anyone have the source or a way to decompile the .cob file?

    I appreciate any assistance,

    Linda Praed

    I echo Uwe's question: "What is the function of LCSNAME?" Since you are asking this question in this forum, I'm wondering if it is something that Liant support provided to people.  Does LCSNAME lower case a name? Can you show us being used in a program?

    Oct 5, 2020 11:17 PM UTC

    I echo Uwe's question: "What is the function of LCSNAME?" Since you are asking this question in this forum, I'm wondering if it is something that Liant support provided to people.  Does LCSNAME lower case a name? Can you show us being used in a program?

    The best my co-worker, , can tell all that’s done is an empty operator field is passed and then it returns the value of ‘LCSLogName' or the string ‘GUEST’.

    Dominique Sacre
    Rocketeer
    Oct 5, 2020 11:20 PM UTC

    The best my co-worker, , can tell all that’s done is an empty operator field is passed and then it returns the value of ‘LCSLogName' or the string ‘GUEST’.

    Do you think that LCSLogName is an environment variable?
    Oct 5, 2020 11:25 PM UTC
    Do you think that LCSLogName is an environment variable?

    We have no idea what the program does.  All we have is the .cob file.

     

    Dominique Sacre
    Rocketeer
    Oct 5, 2020 11:29 PM UTC

    We have no idea what the program does.  All we have is the .cob file.

     

    Hmmm. It is not an RM program, so the development team is in the same boat.