Invalid workspace in APL2

Invalid workspace in APL2

Post by lb16060 » Wed, 24 Nov 2004 13:05:29


Hi APL Experts,

I've got an IBM APL2 (MS Windows) workspace file which the interpreter
claims to be 'invalid'. Any hints how to find out what could be wrong
with that file? Is there any documentation on the structure of a
(valid) workspace file available or perhaps some open source APL
version, which is able to handle APL2 workspaces?

Thanks in advance.

Best regards,

Andreas
 
 
 

Invalid workspace in APL2

Post by James J. W » Wed, 24 Nov 2004 13:52:19


Sorry, I haven't any idea what the problem could be; but I would suggest that
you submit it, in greater detail if possible, to XXXX@XXXXX.COM .

If David Liebtag or Nancy Wheeler can't help you, you really have a problem.

 
 
 

Invalid workspace in APL2

Post by lb16060 » Thu, 25 Nov 2004 12:12:53


Thanks for your answer and for the address!

Unfortunately, I don't have much more information about the workspace
under consideration (it's not my file - I am only to repair it ...) As
far as I know, the APL2 interpreter crashed while executing some
function of the workspace (possibly one which uses some external DLL
routine). Afterwards, the workspace could not be loaded any more with
the )load command.

I was wondering if it is possible to get a little more information out
of the interpreter, regarding the faultiness of the file. The
displayed error message "ws invalid \ clear ws" could mean anything
between "I haven't got a clue about what type of file that is" and
"Actually, it's a completely valid ws file, apart from one single byte
missing at the end".

Regards,

Andreas
 
 
 

Invalid workspace in APL2

Post by James J. W » Thu, 25 Nov 2004 17:19:57


Do you have a backup you can compare it to?
 
 
 

Invalid workspace in APL2

Post by David Lieb » Thu, 25 Nov 2004 21:54:19

If you send it to us we may be able to determine a little more about it.

David Liebtag
IBM APL Products and Services
 
 
 

Invalid workspace in APL2

Post by lb16060 » Fri, 26 Nov 2004 13:29:32


We meanwhile indeed did find a backup!



Currently we are trying to reconstruct it with the backup file. If
unsuccessful, we would be very pleased if we could get back to your
offer.

Thanks a lot!

--
Andreas Dopfer
Institute for Logistics and Information Management
Faculty of Business Administration
University of Duisburg-Essen, Germany
http://www.yqcomputer.com/
 
 
 

Invalid workspace in APL2

Post by Ted Edward » Sun, 28 Nov 2004 06:01:38


Which version of APL2 was it saved from and which version are you
running?

I would make two suggestions:

1) Attempt to )COPY it into a clear WS.
2) If it was saved on a different version and can be read on that
version, use )OUT to write it out as an .ATF file and then use )IN on
your system.

Ted
 
 
 

Invalid workspace in APL2

Post by lb16060 » Wed, 01 Dec 2004 09:43:06


It is only one system, i.e. the workspace can't be loaded any more by
the APL interpreter it was produced with. It is APL2 version 1.


I've tried that, but it doesn't work either. The error message is the
same ("WS invalid").


Thanks for the hints!

Andreas
 
 
 

Invalid workspace in APL2

Post by Ted Edward » Thu, 02 Dec 2004 05:04:06


IIRC (and it's been a number of years), ver.1 came with two
interpreters, a 16 bit and a 32 bit. The workspace formats were not
compattable. To move it from one version to the other, one needed to
load the workspace with the version it was saved from and then )OUT it.
The .ATF files produced by )OUT were )IN-able with either version.
Check your system (or your originals) for two files called APL216.EXE
and APL232.EXE.

Ted
 
 
 

Invalid workspace in APL2

Post by lb16060 » Sat, 04 Dec 2004 10:01:29


There is only one file, apl2win.exe, and it is a 32 bit application.
But I don't think it's a problem of incompatible systems, because the
workspace is rejected by one and the same interpreter it was written
out with.

In a nutshell, what happend is the following:

Valid workspace + additional functions
+ execution of one of these functions
-> interpreter crash + invalid workspace.

As far as I can judge, the file was only slightly modificated.

Meanwhile, it seems that we can reconstruct the workspace with a
backup file.

Thanks for your suggestions!

Regards,

Andreas
 
 
 

Invalid workspace in APL2

Post by Ted Edward » Sat, 04 Dec 2004 13:14:34


Glad to hear that 'cause I've run out of suggestions. :-)

Ted