The following fex produces an error and the resulting .png file has zero bytes. The graph is generated properly if I do a PCHOLD for sending back to the browser (domain was obscured for this post):
SET GRAPHSERVURL=https://*********/ibi_apps/IBIGraphServlet APP HOLD CONSOL1 APP HOLDDATA -RUN GRAPH FILE PNDVTOPV SUM VT_TOTALVCH ACROSS VT_OBLTBLSEG IF VT_OBLTBLSEG EQ 'P0$$$$$$' ON GRAPH HOLD AS FM4 FORMAT PNG END
0 NUMBER OF RECORDS IN GRAPH= 95 PLOT POINTS= 95 (FOC3230) HTTP REQUEST RETURNED ERROR: 404 for GRAPHSERVURL PNG FILE SAVED ...This message has been edited. Last edited by: dojo,
Linux/zVM/WF7.6.11
April 06, 2012, 02:48 PM
TexasStingray
Try using ON GRAPH SAVE instead of HOLD. you may also have to use the APP FI command to filedef FM4.
Scott
April 06, 2012, 03:53 PM
dojo
Thanks, but it looks like it is due to the https instead of http. I will have to talk to our "configurators" and see if we can remedy this. Tech support says that it cannot be done under https ... frown.