# 2 Fileout nodes in 1 macro = ERROR

**URL:** https://forum.highend3d.com/t/2-fileout-nodes-in-1-macro-error/10075
**Category:** Compositing
**Tags:** shake
**Created:** [August 11, 2005, 8:32pm UTC](https://forum.highend3d.com/t/2-fileout-nodes-in-1-macro-error/10075 "2005-08-11T20:32:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![geoffhecht](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/g/bbe5ce/32.png) [@geoffhecht](https://forum.highend3d.com/u/geoffhecht)
#### Post date: [August 11, 2005, 8:32pm UTC](https://forum.highend3d.com/t/2-fileout-nodes-in-1-macro-error/10075/1 "2005-08-11T20:32:56Z")

</div>

Hello:   
 I am trying to create a macro that will output two images. Unfortunately, when i do this i get the error:  
error: NRiScript1.NRiVScriptNode1.vnodeICache.\_cacheMode: too many recursive evaluations

here is my code, it seems simple enough but is stumping me ![](http://www2.highendnet.com/forums/icons/frown.gif)

image stub(image Img = 0)  
{  
 dpx = FileOut(Img, "test.dpx", "Dpx", "rgb", "Top to Bottom");  
 small = Zoom(Img, 0.35, xScale, "default", 0);  
 jpeged = FileOut(small, "test.jpg", "Auto", "rgb", 100);  
 return jpeged;   
 }

Everything renders out ok, but i get that error message.  
I'm pretty new to writing shake macro's, so please forgive any glaring errors i might have. Thanks!

B
