Re: Wierd one!
Posted in 1999
Just a thought, have you checked disk space? Chris invalid@hotmail.com (Hot Sticky Pudding) on 03/12/99 10:26:15 Please respond to invalid@hotmail.com To: informix-list@iiug.org cc: (bcc: Chris West/Finance/MEDAS) Subject: Wierd one! Hi, Running Informix SE 5.10.UC7, 4GL RDS 4.20.UC4 on RS6000 AIX 4.2. This is quite difficult to explain but here goes. I have a program containing several functions that eventually set up a table of data ready for output. The final function collects the data and spews it out to a REPORT. Within the REPORT section there is an ON EVERY ROW that looks like this: ON EVERY ROW PRINT COLUMN 49, p_pntmp.tsize CLIPPED, COLUMN 64, p_pntmp.tcolour, COLUMN 75, p_pntmp.totalqty USING "#######&.&&", COLUMN 85, p_pntmp.totalqty USING "##########&.&&, " ", p_pntmp.suppdescr CLIPPED, COLUMN 108, p_pntmp.instock USING "######&.&&" LET p_totalcost = p_totalcost + p_pntmp.totalcost The program produces about 12 pages worth of guff but all of a sudden it will stop printing half way through the above PRINT stopping just after the p_pntmp.tcolour field!!! Now, just to make it interesting, I have a PAGE HEADER with some code like this: PRINT ASCII 27,"M"; PRINT COLUMN 91,"Rounded Invoice" PRINT COLUMN 75, "Requirement Order X Unit Stock Quantity Actual" PRINT COLUMN 1, "Ref Description Size"; PRINT COLUMN 64, "Colour + Wastage Quantity Description"; PRINT COLUMN 112, "Available To Pack Packed" PRINT "------------------------------------------------------------"; PRINT "-------------------------------------------------------------"; PRINT "---------------------" The ASCII 27,"M"; sets condensed print. If I comment out the remaining PRINT's I can get the program to produce more of the report but not to the end. It will just stop suddenly at a different point. This is a new program and not one that has worked before and is now suddenly not working. I hope you can understand what my problem is but can anyone offer any advice as to how I can get to the bottom of it? I can't for the life in me work out why it should stop in mid-print on a line so innocuous. Any help/advice would be very very welcome. Best regards, Sticky Pudding. -- What the large print giveth, the small print taketh away.