|
Hi,
Someone set me up with some good SAS code to print two
graphs on one page using SAS GPLOT and SAS GREPLAY for
certain by group variables. It was working fine for a
while (a week), then it started to bomb on my machine.
It seems to be working fine on a co-worker's machine.
I didn't a make any serious changes, perhaps none, to
the code. I have already exited SAS, shutdown my
machine, and recreated the input SAS data sets from
scratch. Ughh!
Here are some examples of what is happening in my SAS
log. Your help would be much appreciated.
1) At the top of the program:
2051 goptions FTEXT="SWISS" CTEXT=BLACK CTITLE=BLACK
CBACK=WHITE CSYMBOL=BLACK
2052 device=win targetdevice=HPLJ4SI ;
2053
2054
2055 proc greplay nofs igout=work.gseg;
NOTE: Enter greplay commands or statements.
2056 delete _all_;
NOTE: The catalog is empty.
2057 run;
2058 quit;
NOTE: The SAS System stopped processing this step
because of errors.
NOTE: PROCEDURE GREPLAY used:
real time 0.05 seconds
cpu time 0.05 seconds
*******************************************************
**What does the statement, the catalog is empty mean?
* I mean, I know it is empty, why is it bad that it is
* empty? I need a SAS catalog training course.
*******************************************************
2505 /* control chart gplot definition */
2506 proc gplot data=&file gout=work.gseg;
SYMBOLGEN: Macro variable FILE resolves to
UnplannedExtubations
2507 by indicator_text name roundedCenterLine;
2508 format date &format;
SYMBOLGEN: Macro variable FORMAT resolves to monyy7.
2509 plot observedProportion*date=1
2510 observedUpperCLSD3*date=2
2511 observedLowerCLSD3*date=3
2512 centerLine *date=4
2513 observedUpperCLSD2*date=5
2514 observedLowerCLSD2*date=6/
2515 overlay vaxis=axis1 haxis=axis2
NAME='cntl'
2516 CAXIS=black CTEXT=black;
2517 run;
ERROR: Graph no longer exists in catalog.
*************************************************
* Why is the graph no longer in the catalog?
* Was it ever there?
*************************************************
2567 proc greplay nofs igout=work.gseg
gout=graphout.graph&file;
SYMBOLGEN: Macro variable FILE resolves to
UnplannedExtubations
ERROR: Read Access Violation In Task ( GREPLAY ]
Exception occurred at (67E6883B)
Task Traceback
ERROR: Read Access Violation In Task ( GREPLAY ]
Exception occurred at (67E6883B)
NOTE: Building list of graphs from the catalog.
NOTE: The SAS System stopped processing this step
because of errors.
2568 tc=sashelp.templt; template=v2;
2569 treplay 1:cntl 2:comp;
2570 treplay 1:cntl1 2:comp1;
2571 treplay 1:cntl2 2:comp2;
...
2718 treplay 1:cntl149 2:comp149;
2719 treplay 1:cntl150 2:comp150;
2720 run;
2721 quit;
2722
2723 * prints to the printer;
2724 goptions device=HPLJ4SI;
2725
2726 proc greplay nofs igout=graphout.graph&file;
SYMBOLGEN: Macro variable FILE resolves to
UnplannedExtubations
ERROR: Memname ERROR: Read Access Violation In Task (
GREPLAY ]
Exception occurred at (67A03DF9)
Task Traceback
NOTE: PROCEDURE GREPLAY used:
real time 0.04 seconds
cpu time 0.03 seconds
NOTE: The SAS System stopped processing this step
because of errors.
2727 replay _all_;
2728 run;
2729 quit;
2730
2731 goptions device=win;
ERROR: Graph no longer exists in catalog.
***************************************************
* Asked someone at work and they said they never saw
* these errors before. It in not a code error.
* I hope someone can help me with this.
* my guess is, the catalog got modified and needs to
be
* reset. How do you do this? There is something I do
* no know about catalogs. The code must be good.
***************************************************
Thanks in advance,
Stephen
__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com
|