12-14-2011 08:53 AM
I am using PROC REG with a PLOT statement to create a graph file under z/os V1.12. SAS Version is 9.1.3, SP 4
/* Remove an existing copy */
filename gifout "<TSO id>.BALT.STATS1.GIF" DISP=(MOD,DELETE,DELETE);
filename gifout "<TSO id>.BALT.STATS1.GIF" DISP=(NEW,CATLG,DELETE);
goptions reset=all device=gif733 gsfname=gifout htitle=1.5 htext=1;
/* Bogus dataset for example */
do i = 1 to 100;
t = i * 50;
proc reg data=a;
plot predicted.*residual.; /* Left name= option off for now */
The job is submitted in batch.
The bulk of the output from PROC REG is being trapped by an ODS HTML statement correctly.
Instead of the file referenced in gifout being created, SAS is creating a pds
named <TSO id>.SASGRAPH with member name REG. I have downloaded the member
to my PC and it looks ok when opened in Windows as a .GIF file. The file listed above under
"gifout" is created on the mainframe but is empty.
The SASLOG shows the following:
NOTE: xxx records written to <TSO id>.SASGRAPH(REG)
The oddball thing is if I submit the code above in interactive SAS, the flat file referenced
under "gifout" is created as expected and no <TSO id>.SASGRAPH pds is created.
I don't see anything in the expanded JCL that referrs to <TSO id>.SASGRAPH. Any ideas greatly