export ascii & write command
Richard D. Williams
richard at appgrp.net
Thu Jun 3 09:54:06 PDT 2004
Dennis,
Yes, you can use the "write" in this manner. But, if you are ending for
this record and going to the next, (if this is dreport/rreport), the
write is unnecessary. The rnx record will be written anyway when you
issue the "end".
The export file rnx will remain open until all records are processed or
you issue a "close".
Hope this helps,
Richard D. Williams
Dennis Malen wrote:
>Can I use the following two write commands when creating an ascii export
>file or must I loop back to the original ascii export command and write the
>second line. This assumes that both conditions are met below.
>
>10 ------- - - - - - - - - - - - - -
> ~ If: 6 ne "" 'ss# rec#
> Then: rnx(1)=6;rnx(2)=@rn;ct(5,.0,g)=ct+"1";write rnx
>11 ------- - - - - - - - - - - - - -
> ~ If: 8 ne "" 'ss# rec#
> Then: rnx(1)=8;rnx(2)=@rn;ct=ct+"1";write rnx;end
>12 ------- ------------------------------------------
> If:
> Then: end
>
>Bottom line can I use two write commands without going back up to:
>
>"export ascii rnx=/tmp/asciirn r=\r r=\n -x -a" which is at the top of the
>processing.
>
>Thanks,
>
>Dennis Malen
>516.479.5912
>
>_______________________________________________
>Filepro-list mailing list
>Filepro-list at lists.celestial.com
>http://mailman.celestial.com/mailman/listinfo/filepro-list
>
>
>
>
>
More information about the Filepro-list
mailing list