Looks like COBOL. Don't know of any other programming languages that use that key word, but then I don't know them all either. If you have a COBOL program then it should be quite obvious from other syntex -- COBOL programs have a very distinctive grammer.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
appears to be a file format for some COBOL IDE. you might try downloading some of the free cobol editors and see if any of them can read the file.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
That's the problem. I'm not sure if what I have is source code or not; that line makes me think it is, but the vast majority of the file weighs in against the sourcecode theory.
Why would you think it's source code? You claim most of the file is unreadable. NotePad would open the file and all you would see is code if it was source code, not junk.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
not all editors save files as text files -- some, like MS Word, will save internal formatting data which will look like just in Notepad.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
not all editors save files as text files -- some, like MS Word, will save internal formatting data which will look like just in Notepad.
True. But if it's not readable by Notepad, it's not source code compilable by a compiler. And MS Word is not an editor, it's a word processor. There's a big difference.
WaltP
Posting Sage w/ dash of thyme
10,506 posts since May 2006
Reputation Points: 3,348
Solved Threads: 944
MS Word was only an example. COBOL IDEs can save it however they wish -- but of course plain text would be the most logical.
And there is, of course, the possibility that the OPs file has been corrupt beyond all recognition. That happened a lot in MS-DOS and Win95 operating systems.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
hmm, Cobol editors are usually rather BASIC (pun intended) and save either as plain text files (so you can easily ftp them to a server for compilation), or into some sort of database repository where the compiler will pull them from.
This looks like some regular expression being passed into something. Is there even a Cobol dialect that allows that?
Most likely it's just a plaintext header to a binary file of some sort, giving a command in some scripting language internal to the application the file is intended for that it can use to perform operations on the data in the file.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
what look like ancient ascii symbols: Club, Diamond, some kind of wierd spikey circle, etc. These symbols apparently bear no relation other than appearance to the unicode symbols of the same type.
APL maybe? http://en.wikipedia.org/wiki/APL_(programming_language )
That language uses wierd symbols and was for mainframes?
jbennet
Moderator
18,523 posts since Apr 2005
Reputation Points: 1,826
Solved Threads: 601