Rj0 to .0

Barry Wiseman barrywiseman at verizon.net
Thu Sep 24 10:06:45 PDT 2009


Enrique Arredondo wrote:
> How Can I convert a field from format 22,RJ0 to a (22,.2) ? If I do it 
> just like that I always get /OV
> 
> aa(22,RJ0)="0000000001234"
> bb(30,.0)=aa
> 
> bb= /OV
> 
> Thanks
> 

Your example works fine for me.  I get the value "1234" right-justified in a 30-byte field, not "/OV".  It also works if I declare bb(22,.2).

If you are getting /OV, there's something more to your code that you're not telling us about.  Is bb cast elsewhere (maybe in automatic)?


More information about the Filepro-list mailing list