[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

3141.0. "APPEND function blues" by WAYOUT::TALBOT (Trevor Talbot) Fri Aug 13 1993 12:13

Hi,

	Does anyone have an answer for this?

From a choice field perform the following:

<copy "a.txt" "a.dx"
<append "ff.txt" "a.dx"
<append "b.txt" "a.dx"

a.txt contains just a bit of text
ff.txt must contain a form feed(control-l)
b.txt contains just text.

After the second append the following error occurs:-

Problem with APPEND function - file "a.dx"
and gold-w gives:-
%OA-E-NOAPPEND, Problem with APPEND function - file "a.dx"
 -OA-E-TXTOPNERR, TEXT DSAB open error

Any ideas?

-Trev
T.RTitleUserPersonal
Name
DateLines
3141.1DX text dataset problemIOSG::NEWLANDRichard Newland, IOSG, REO2-G/L2Mon Aug 16 1993 12:3317
I've looked at this with the debugger.  The DX test dataset is not
succesfully closing the output file after doing the append.  Therefore when
the second append is performed the attempt to open the file fails because
the file is already open. 

This is a problem with the DX test dataset, and not the APPEND function,
because other types of output file (e.g. .TXT and .WPL) work correctly.

A workaround would be to APPEND the files together as .TXT files and then 
convert the combined .TXT file to a .DX file with a COPY.


Please submit an SPR.


Richard