# Error running movesmerg for RPD

**URL:** <https://forum.cmascenter.org/t/error-running-movesmerg-for-rpd/4606>\
**Category:** SMOKE\
**Created:** [January 2, 2024, 11:52pm UTC](https://forum.cmascenter.org/t/error-running-movesmerg-for-rpd/4606 "2024-01-02T23:52:25Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![cjcoats](https://avatars.discourse-cdn.com/v4/letter/c/ac8455/32.png) [@cjcoats](https://forum.cmascenter.org/u/cjcoats)\
**Post date:** [January 3, 2024, 1:09pm UTC](https://forum.cmascenter.org/t/error-running-movesmerg-for-rpd/4606/4 "2024-01-03T13:09:18Z")

</div>

This is actually a bug: the original code forf RDMRCLIST has the following at lines 273-275:

> `WRITE( MESG, 94010 ) 'ERROR: No factor file found ' //`  
> `& 'for reference county', MCREFIDX( I,1 ), 'in ' //`  
> `& 'reference county factors list.'`

but the format 94010 needs an `INTEGER` where `MCREFIDX( I,1 )` is. However, `MCREFIDX( I,1 )` is a `CHARACTER` string.  
The code instead should have:

> ` MESG = 'ERROR: No factor file found ' //`  
> `& 'for reference county'// MCREFIDX( I,1 )//`  
> `& ' in reference county factors list.`’

---

_[View the full topic](https://forum.cmascenter.org/t/error-running-movesmerg-for-rpd/4606)._
